- GenericTypeReflector - Class in io.leangen.geantyref
-
Utility class for doing reflection on types.
- GenericTypeReflector() - Constructor for class io.leangen.geantyref.GenericTypeReflector
-
- get(Object) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- get(Class<T>) - Static method in class io.leangen.geantyref.TypeToken
-
Gets type token for the given Class
instance.
- get(Type) - Static method in class io.leangen.geantyref.TypeToken
-
Gets type token for the given Type
instance.
- getAnnotatedBounds() - Method in class io.leangen.geantyref.TypeVariableImpl
-
- getAnnotatedType() - Method in class io.leangen.geantyref.TypeToken
-
- getAnnotation(Class<T>) - Method in class io.leangen.geantyref.TypeVariableImpl
-
- getAnnotations() - Method in class io.leangen.geantyref.TypeVariableImpl
-
- getArgument() - Method in exception io.leangen.geantyref.TypeArgumentNotInBoundException
-
Returns the supplied argument that is not within the bound.
- getArrayComponentType(AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
If type is an array type, returns the annotated type of the component of the array.
- getArrayComponentType(Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
If type is an array type, returns the type of the component of the array.
- getBound() - Method in exception io.leangen.geantyref.TypeArgumentNotInBoundException
-
Returns the bound that was not satisfied.
- getBounds() - Method in class io.leangen.geantyref.TypeVariableImpl
-
- getDeclaredAnnotations() - Method in class io.leangen.geantyref.TypeVariableImpl
-
- getExactFieldType(Field, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the exact type of the given field in the given type.
- getExactFieldType(Field, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the exact type of the given field in the given type.
- getExactParameterTypes(Executable, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the exact annotated parameter types of the given method/constructor in the given type.
- getExactParameterTypes(Executable, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the exact parameter types of the given method/constructor in the given type.
- getExactReturnType(Method, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the exact return type of the given method in the given type.
- getExactReturnType(Method, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the exact return type of the given method in the given type.
- getExactSubType(AnnotatedType, Class<?>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
- getExactSubType(Type, Class<?>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Finds the most specific subtype of superType
whose erasure is searchSubClass
.
- getExactSuperType(AnnotatedType, Class<?>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
- getExactSuperType(Type, Class<?>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Finds the most specific supertype of subType
whose erasure is searchSuperClass
.
- getFieldType(Field, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the type of the given field in the given type.
- getFieldType(Field, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the type of the given field in the given type.
- getGenericDeclaration() - Method in class io.leangen.geantyref.TypeVariableImpl
-
- getLowerBounds() - Method in interface io.leangen.geantyref.CaptureType
-
Returns an array of Type objects representing the lower bound(s) of this type
variable.
- getName() - Method in class io.leangen.geantyref.TypeVariableImpl
-
- getOrDefault(Object, V) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- getParameter() - Method in exception io.leangen.geantyref.TypeArgumentNotInBoundException
-
Returns the type parameter.
- getParameterTypes(Executable, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
- getParameterTypes(Executable, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
- getReturnType(Method, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the return type of the given method in the given type.
- getReturnType(Method, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the return type of the given method in the given type.
- getType() - Method in class io.leangen.geantyref.TypeToken
-
- getTypeName(Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Returns the display name of a Type.
- getTypeParameter(AnnotatedType, TypeVariable<? extends Class<?>>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Gets the type parameter for a given type that is the value for a given type variable.
- getTypeParameter(Type, TypeVariable<? extends Class<?>>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
- getTypeVariable() - Method in interface io.leangen.geantyref.CaptureType
-
- getUpperBoundClassAndInterfaces(Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Returns list of classes and interfaces that are supertypes of the given type.
- getUpperBounds() - Method in interface io.leangen.geantyref.CaptureType
-
Returns an array of Type objects representing the upper bound(s) of this capture.
- getWildcardType() - Method in interface io.leangen.geantyref.CaptureType
-