Factory method for creating instances of Key. The default value of the key is null. @param debugString a debug string that describes this key. @param Key type @return Key object @since 1.13.0
(String debugString)
| 371 | * @since 1.13.0 |
| 372 | */ |
| 373 | public static <T> Key<T> create(String debugString) { |
| 374 | Preconditions.checkNotNull(debugString, "debugString"); |
| 375 | return new Key<>(debugString, /*defaultValue=*/ null); |
| 376 | } |
| 377 | |
| 378 | /** |
| 379 | * Factory method for creating instances of {@link Key}. |
nothing calls this directly
no test coverage detected