Type Matcher
Tells if a passed class satisfies some particular criterion.
Functions
Link copied to clipboard
Link copied to clipboard
Creates a type matcher which matches the type if it is a class (i.e.
Link copied to clipboard
Creates a type matcher which matches the type is equal to the passed type.
Link copied to clipboard
public static Array<TypeVariable<? extends Class<? extends Object>>> genericTypesOf(TypeToken<?> type)
Link copied to clipboard
public static boolean matchActualGenericsToOne(TypeToken<?> whoseGenerics, TypeToken<?> expectedGenericType)
Link copied to clipboard
Link copied to clipboard
Returns a set of Message types that are declared by the given type.
Link copied to clipboard
public static TypeToken<?> resolve(TypeToken<?> type, TypeVariable<? extends Class<? extends Object>> param)
Resolves the generic parameter of the passed type into an actual value.