Class TypeToken<T>
java.lang.Object
io.leangen.geantyref.TypeToken<T>
- Type Parameters:
T- The type represented by this TypeToken.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a type token.privateTypeToken(AnnotatedType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate AnnotatedTypestatic <T> TypeToken<T> Gets type token for the givenClassinstance.static TypeToken<?> Gets type token for the givenTypeinstance.getType()inthashCode()
-
Field Details
-
type
-
canonical
-
-
Constructor Details
-
TypeToken
protected TypeToken()Constructs a type token. -
TypeToken
-
-
Method Details
-
get
-
get
-
getType
-
getAnnotatedType
-
getCanonicalType
-
extractType
-
equals
-
hashCode
-