Package google.registry.util
Class TypeUtils.TypeInstantiator<T>
java.lang.Object
com.google.common.reflect.TypeToken<T>
google.registry.util.TypeUtils.TypeInstantiator<T>
- All Implemented Interfaces:
Serializable
- Enclosing class:
TypeUtils
public static class TypeUtils.TypeInstantiator<T>
extends com.google.common.reflect.TypeToken<T>
A
TypeToken
that removes an ugly cast in the common cases of getting a known type.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.reflect.TypeToken
com.google.common.reflect.TypeToken.TypeSet
-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.common.reflect.TypeToken
constructor, equals, getComponentType, getRawType, getSubtype, getSupertype, getType, getTypes, hashCode, isArray, isPrimitive, isSubtypeOf, isSubtypeOf, isSupertypeOf, isSupertypeOf, method, of, of, resolveType, toString, unwrap, where, where, wrap, writeReplace
-
Constructor Details
-
TypeInstantiator
-
-
Method Details
-
getExactType
-
instantiate
-