- get(Type) - Static method in class me.ghui.fruit.reflect.TypeToken
-
Gets type literal for the given Type instance.
- get(Class<T>) - Static method in class me.ghui.fruit.reflect.TypeToken
-
Gets type literal for the given Class instance.
- getAdapter(Class<T>) - Method in class me.ghui.fruit.Fruit
-
- getAdapter(TypeToken<T>) - Method in class me.ghui.fruit.Fruit
-
- getArray(Type) - Static method in class me.ghui.fruit.reflect.TypeToken
-
Gets type literal for the array type whose elements are all instances of componentType.
- getArrayComponentType(Type) - Static method in class me.ghui.fruit.internal.Types
-
Returns the component type of this array type.
- getCollectionElementType(Type, Class<?>) - Static method in class me.ghui.fruit.internal.Types
-
Returns the element type of this collection type.
- getMapKeyAndValueTypes(Type, Class<?>) - Static method in class me.ghui.fruit.internal.Types
-
Returns a two element array containing this map's key and value types in
positions 0 and 1 respectively.
- getParameterized(Type, Type...) - Static method in class me.ghui.fruit.reflect.TypeToken
-
Gets type literal for the parameterized type represented by applying typeArguments to
rawType.
- getRawType(Type) - Static method in class me.ghui.fruit.internal.Types
-
- getRawType() - Method in class me.ghui.fruit.reflect.TypeToken
-
Returns the raw (non-generic) type for this type.
- getType() - Method in class me.ghui.fruit.reflect.TypeToken
-
Gets underlying Type instance.