Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- actualTypeArguments - Variable in class io.leangen.geantyref.ParameterizedTypeImpl
- add(E) - Method in class io.leangen.geantyref.AnnotatedTypeSet
- add(TypeVariable, AnnotatedType) - Method in class io.leangen.geantyref.VarMap
- addAll(TypeVariable[], AnnotatedType[]) - Method in class io.leangen.geantyref.VarMap
- addAll(Collection<? extends E>) - Method in class io.leangen.geantyref.AnnotatedTypeSet
- addWildcardParameters(Class<?>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Returns a type representing the class, with all type parameters the unbound wildcard ("?").
- ALLOW_INCOMPLETE - Enum constant in enum class io.leangen.geantyref.VarMap.MappingMode
- annotate(Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Recursively wraps a
Type
into anAnnotatedType
using the annotations found on the erasure classes. - annotate(Type, boolean) - Static method in class io.leangen.geantyref.GenericTypeReflector
- annotate(Type, boolean, Map<GenericTypeReflector.CaptureCacheKey, AnnotatedType>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
This is the method underlying both
GenericTypeReflector.annotate(Type)
andGenericTypeReflector.annotate(Type, Annotation[])
. - annotate(Type, Annotation[]) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Recursively wraps a
Type
into anAnnotatedType
using the annotations found on the erasure classes, plus adding the provided annotations to the top levelType
only. - AnnotatedArrayTypeImpl - Class in io.leangen.geantyref
- AnnotatedArrayTypeImpl(Type, Annotation[], AnnotatedType) - Constructor for class io.leangen.geantyref.AnnotatedArrayTypeImpl
- annotatedBounds - Variable in class io.leangen.geantyref.AnnotatedTypeVariableImpl
- AnnotatedCaptureCacheKey(AnnotatedCaptureType) - Constructor for class io.leangen.geantyref.GenericTypeReflector.AnnotatedCaptureCacheKey
- AnnotatedCaptureCacheKey(AnnotatedCaptureType) - Constructor for class io.leangen.geantyref.TypeVisitor.AnnotatedCaptureCacheKey
- AnnotatedCaptureType - Interface in io.leangen.geantyref
-
Annotated equivalent of
CaptureType
- AnnotatedCaptureTypeImpl - Class in io.leangen.geantyref
- AnnotatedCaptureTypeImpl(CaptureType, AnnotatedWildcardType, AnnotatedTypeVariable) - Constructor for class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- AnnotatedCaptureTypeImpl(CaptureType, AnnotatedWildcardType, AnnotatedTypeVariable, AnnotatedType[], Annotation[]) - Constructor for class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- AnnotatedCaptureTypeImpl(CaptureType, AnnotatedWildcardType, AnnotatedTypeVariable, AnnotatedType[], AnnotatedType[], Annotation[]) - Constructor for class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- AnnotatedCaptureTypeImpl(AnnotatedWildcardType, AnnotatedTypeVariable) - Constructor for class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- annotatedClass(Class<?>, Annotation[]) - Static method in class io.leangen.geantyref.TypeFactory
- annotatedInnerClass(Type, Class<?>, Annotation[]) - Static method in class io.leangen.geantyref.TypeFactory
- AnnotatedParameterizedTypeImpl - Class in io.leangen.geantyref
- AnnotatedParameterizedTypeImpl(ParameterizedType, Annotation[], AnnotatedType[], AnnotatedType) - Constructor for class io.leangen.geantyref.AnnotatedParameterizedTypeImpl
- AnnotatedTypeImpl - Class in io.leangen.geantyref
- AnnotatedTypeImpl(Type) - Constructor for class io.leangen.geantyref.AnnotatedTypeImpl
- AnnotatedTypeImpl(Type, Annotation[]) - Constructor for class io.leangen.geantyref.AnnotatedTypeImpl
- AnnotatedTypeImpl(Type, Annotation[], AnnotatedType) - Constructor for class io.leangen.geantyref.AnnotatedTypeImpl
- AnnotatedTypeMap<K,
V> - Class in io.leangen.geantyref -
A
Map
implementation keyed byAnnotatedType
. - AnnotatedTypeMap() - Constructor for class io.leangen.geantyref.AnnotatedTypeMap
-
Constructs an instance backed by a
HashMap
- AnnotatedTypeMap(Map<K, V>) - Constructor for class io.leangen.geantyref.AnnotatedTypeMap
-
Constructs an instance backed by the provided map, keeping its guarantees
- AnnotatedTypeSet<E> - Class in io.leangen.geantyref
-
A
Set
implementation suited for maintainingAnnotatedType
elements. - AnnotatedTypeSet() - Constructor for class io.leangen.geantyref.AnnotatedTypeSet
- AnnotatedTypeSet(Set<E>) - Constructor for class io.leangen.geantyref.AnnotatedTypeSet
- AnnotatedTypeVariableImpl - Class in io.leangen.geantyref
- AnnotatedTypeVariableImpl(TypeVariable<?>) - Constructor for class io.leangen.geantyref.AnnotatedTypeVariableImpl
- AnnotatedTypeVariableImpl(TypeVariable<?>, Annotation[]) - Constructor for class io.leangen.geantyref.AnnotatedTypeVariableImpl
- AnnotatedWildcardTypeImpl - Class in io.leangen.geantyref
- AnnotatedWildcardTypeImpl(WildcardType, Annotation[], AnnotatedType[], AnnotatedType[]) - Constructor for class io.leangen.geantyref.AnnotatedWildcardTypeImpl
- annotation(Class<A>, Map<String, Object>) - Static method in class io.leangen.geantyref.TypeFactory
-
Creates an instance of an annotation.
- AnnotationFormatException - Exception Class in io.leangen.geantyref
-
Indicates that invalid data has been encountered during annotation creation.
- AnnotationFormatException() - Constructor for exception class io.leangen.geantyref.AnnotationFormatException
- AnnotationFormatException(String) - Constructor for exception class io.leangen.geantyref.AnnotationFormatException
- AnnotationInvocationHandler - Class in io.leangen.geantyref
-
An implementation of
Annotation
that mimics the behavior of normal annotations. - AnnotationInvocationHandler(Class<? extends Annotation>, Map<String, Object>) - Constructor for class io.leangen.geantyref.AnnotationInvocationHandler
- annotations - Variable in class io.leangen.geantyref.AnnotatedTypeImpl
- annotations - Variable in class io.leangen.geantyref.TypeVariableImpl
- annotationsString() - Method in class io.leangen.geantyref.AnnotatedTypeImpl
- annotationsString() - Method in class io.leangen.geantyref.TypeVariableImpl
- annotationType - Variable in class io.leangen.geantyref.AnnotationInvocationHandler
- annotationType() - Method in class io.leangen.geantyref.AnnotationInvocationHandler
- argument - Variable in exception class io.leangen.geantyref.TypeArgumentNotInBoundException
- arrayOf(AnnotatedType, Annotation[]) - Static method in class io.leangen.geantyref.TypeFactory
-
Creates an
AnnotatedArrayType
wrapped around an array types created byTypeFactory.arrayOf(Type)
- arrayOf(Type) - Static method in class io.leangen.geantyref.TypeFactory
-
Creates a array type.
B
- bound - Variable in exception class io.leangen.geantyref.TypeArgumentNotInBoundException
- bounds - Variable in class io.leangen.geantyref.TypeVariableImpl
- box(Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
- BOX_TYPES - Static variable in class io.leangen.geantyref.GenericTypeReflector
- buildUpperBoundClassAndInterfaces(Type, Set<Class<?>>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Helper method for getUpperBoundClassAndInterfaces, adding the result to the given set.
C
- calculateHashCode() - Method in class io.leangen.geantyref.AnnotationInvocationHandler
- calculateHashCode(Object) - Method in class io.leangen.geantyref.AnnotationInvocationHandler
- canonical - Variable in class io.leangen.geantyref.TypeToken
- canonical(Collection<?>) - Method in class io.leangen.geantyref.AnnotatedTypeSet
- capture - Variable in class io.leangen.geantyref.GenericTypeReflector.AnnotatedCaptureCacheKey
- capture - Variable in class io.leangen.geantyref.GenericTypeReflector.CaptureCacheKey
- capture - Variable in class io.leangen.geantyref.TypeVisitor.AnnotatedCaptureCacheKey
- capture(AnnotatedParameterizedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Applies capture conversion to the given type.
- capture(AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Applies capture conversion to the given type.
- captureCache - Variable in class io.leangen.geantyref.TypeVisitor
- CaptureCacheKey(CaptureType) - Constructor for class io.leangen.geantyref.GenericTypeReflector.CaptureCacheKey
- CaptureType - Interface in io.leangen.geantyref
-
CaptureType represents a wildcard that has gone through capture conversion.
- CaptureTypeImpl - Class in io.leangen.geantyref
- CaptureTypeImpl(WildcardType, TypeVariable<?>) - Constructor for class io.leangen.geantyref.CaptureTypeImpl
-
Creates an uninitialized CaptureTypeImpl.
- checkParametersWithinBound(ParameterizedType) - Static method in class io.leangen.geantyref.TypeFactory
-
Check if the type arguments of the given type are within the bounds declared on the type parameters.
- clear() - Method in class io.leangen.geantyref.AnnotatedTypeMap
- clear() - Method in class io.leangen.geantyref.AnnotatedTypeSet
- cloneVar(AnnotatedTypeVariable) - Method in class io.leangen.geantyref.VarMap
- componentType - Variable in class io.leangen.geantyref.AnnotatedArrayTypeImpl
- componentType - Variable in class io.leangen.geantyref.GenericArrayTypeImpl
- compute(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- computeIfAbsent(K, Function<? super K, ? extends V>) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- computeIfPresent(K, BiFunction<? super K, ? super V, ? extends V>) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- contains(Object) - Method in class io.leangen.geantyref.AnnotatedTypeSet
- contains(Type, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
- containsAll(Collection<?>) - Method in class io.leangen.geantyref.AnnotatedTypeSet
- containsKey(Object) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- containsValue(Object) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- couldHaveCommonSubtype(Type, Type) - Static method in class io.leangen.geantyref.TypeFactory
-
Checks if the intersection of two types is not empty.
- createArrayType(Class<?>) - Static method in class io.leangen.geantyref.GenericArrayTypeImpl
- createArrayType(AnnotatedType, Annotation[]) - Static method in class io.leangen.geantyref.AnnotatedArrayTypeImpl
- createArrayType(Type) - Static method in class io.leangen.geantyref.GenericArrayTypeImpl
D
- declaredAnnotations - Variable in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
E
- entrySet() - Method in class io.leangen.geantyref.AnnotatedTypeMap
- equals(Object) - Method in class io.leangen.geantyref.AnnotatedArrayTypeImpl
- equals(Object) - Method in class io.leangen.geantyref.AnnotatedParameterizedTypeImpl
- equals(Object) - Method in class io.leangen.geantyref.AnnotatedTypeImpl
- equals(Object) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- equals(Object) - Method in class io.leangen.geantyref.AnnotatedTypeVariableImpl
- equals(Object) - Method in class io.leangen.geantyref.AnnotatedWildcardTypeImpl
- equals(Object) - Method in class io.leangen.geantyref.AnnotationInvocationHandler
-
Performs an equality check as described in
Annotation.equals(Object)
. - equals(Object) - Method in class io.leangen.geantyref.GenericArrayTypeImpl
- equals(Object) - Method in class io.leangen.geantyref.GenericTypeReflector.AnnotatedCaptureCacheKey
- equals(Object) - Method in class io.leangen.geantyref.GenericTypeReflector.CaptureCacheKey
- equals(Object) - Method in class io.leangen.geantyref.ParameterizedTypeImpl
- equals(Object) - Method in class io.leangen.geantyref.TypeToken
- equals(Object) - Method in class io.leangen.geantyref.TypeVariableImpl
- equals(Object) - Method in class io.leangen.geantyref.TypeVisitor.AnnotatedCaptureCacheKey
- equals(Object) - Method in class io.leangen.geantyref.WildcardTypeImpl
- equals(AnnotatedType, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Checks whether the two provided types are of the same structure and annotations on all levels.
- erase(Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Returns the erasure of the given type.
- EXACT - Enum constant in enum class io.leangen.geantyref.VarMap.MappingMode
- expandClassGenerics(Class<?>) - Static method in class io.leangen.geantyref.GenericTypeReflector
- expandGenerics(AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
- extractType() - Method in class io.leangen.geantyref.TypeToken
- extractVariables(AnnotatedParameterizedType, AnnotatedParameterizedType, Class<?>, VarMap) - Static method in class io.leangen.geantyref.GenericTypeReflector
F
- forEach(BiConsumer<? super K, ? super V>) - Method in class io.leangen.geantyref.AnnotatedTypeMap
G
- GenericArrayTypeImpl - Class in io.leangen.geantyref
- GenericArrayTypeImpl(Type) - Constructor for class io.leangen.geantyref.GenericArrayTypeImpl
- genericDeclaration - Variable in class io.leangen.geantyref.TypeVariableImpl
- GenericTypeReflector - Class in io.leangen.geantyref
-
Utility class for doing reflection on types.
- GenericTypeReflector() - Constructor for class io.leangen.geantyref.GenericTypeReflector
- GenericTypeReflector.AnnotatedCaptureCacheKey - Class in io.leangen.geantyref
- GenericTypeReflector.CaptureCacheKey - Class in io.leangen.geantyref
-
A key representing a
CaptureType
. - get(Class<T>) - Static method in class io.leangen.geantyref.TypeToken
-
Gets type token for the given
Class
instance. - get(Object) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- get(Type) - Static method in class io.leangen.geantyref.TypeToken
-
Gets type token for the given
Type
instance. - getActualTypeArguments() - Method in class io.leangen.geantyref.ParameterizedTypeImpl
- getAnnotatedActualTypeArguments() - Method in class io.leangen.geantyref.AnnotatedParameterizedTypeImpl
- getAnnotatedBounds() - Method in class io.leangen.geantyref.AnnotatedTypeVariableImpl
- getAnnotatedBounds() - Method in class io.leangen.geantyref.TypeVariableImpl
- getAnnotatedGenericComponentType() - Method in class io.leangen.geantyref.AnnotatedArrayTypeImpl
- getAnnotatedLowerBounds() - Method in interface io.leangen.geantyref.AnnotatedCaptureType
- getAnnotatedLowerBounds() - Method in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
-
Returns an array of Type objects representing the lower bound(s) of this type variable.
- getAnnotatedLowerBounds() - Method in class io.leangen.geantyref.AnnotatedWildcardTypeImpl
- getAnnotatedOwnerType() - Method in class io.leangen.geantyref.AnnotatedTypeImpl
- getAnnotatedType() - Method in class io.leangen.geantyref.TypeToken
- getAnnotatedTypeVariable() - Method in interface io.leangen.geantyref.AnnotatedCaptureType
- getAnnotatedTypeVariable() - Method in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- getAnnotatedUpperBounds() - Method in interface io.leangen.geantyref.AnnotatedCaptureType
- getAnnotatedUpperBounds() - Method in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
-
Returns an array of Type objects representing the upper bound(s) of this capture.
- getAnnotatedUpperBounds() - Method in class io.leangen.geantyref.AnnotatedWildcardTypeImpl
- getAnnotatedWildcardType() - Method in interface io.leangen.geantyref.AnnotatedCaptureType
- getAnnotatedWildcardType() - Method in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- getAnnotation(Class<T>) - Method in class io.leangen.geantyref.AnnotatedTypeImpl
- getAnnotation(Class<T>) - Method in class io.leangen.geantyref.TypeVariableImpl
- getAnnotations() - Method in class io.leangen.geantyref.AnnotatedTypeImpl
- getAnnotations() - Method in class io.leangen.geantyref.TypeVariableImpl
- getArgument() - Method in exception class 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.
- getArrayExactDirectSuperTypes(AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
- getBound() - Method in exception class io.leangen.geantyref.TypeArgumentNotInBoundException
-
Returns the bound that was not satisfied.
- getBounds() - Method in class io.leangen.geantyref.TypeVariableImpl
- getCanonicalType() - Method in class io.leangen.geantyref.TypeToken
- getDeclaredAnnotations() - Method in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- getDeclaredAnnotations() - Method in class io.leangen.geantyref.AnnotatedTypeImpl
- getDeclaredAnnotations() - Method in class io.leangen.geantyref.TypeVariableImpl
- getExactDirectSuperTypes(AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Returns the direct supertypes of the given type.
- 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
-
The equivalent of
GenericTypeReflector.getExactSubType(Type, Class)
but works withAnnotatedType
s - getExactSubType(Type, Class<?>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Finds the most specific subtype of
superType
whose erasure issearchSubClass
. - getExactSuperType(AnnotatedType, Class<?>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
The equivalent of
GenericTypeReflector.getExactSuperType(Type, Class)
but works withAnnotatedType
s - getExactSuperType(Type, Class<?>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Finds the most specific supertype of
subType
whose erasure issearchSuperClass
. - getFieldType(Field, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the type of the given field in the given type.
- getFieldType(Field, AnnotatedType, VarMap.MappingMode) - Static method in class io.leangen.geantyref.GenericTypeReflector
- getFieldType(Field, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Resolves the type of the given field in the given type.
- getGenericComponentType() - Method in class io.leangen.geantyref.GenericArrayTypeImpl
- 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.
- getLowerBounds() - Method in class io.leangen.geantyref.CaptureTypeImpl
- getLowerBounds() - Method in class io.leangen.geantyref.WildcardTypeImpl
- getName() - Method in class io.leangen.geantyref.TypeVariableImpl
- getOrDefault(Object, V) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- getOwnerType() - Method in class io.leangen.geantyref.ParameterizedTypeImpl
- getParameter() - Method in exception class io.leangen.geantyref.TypeArgumentNotInBoundException
-
Returns the type parameter.
- getParameterTypes(Executable, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
- getParameterTypes(Executable, AnnotatedType, VarMap.MappingMode) - Static method in class io.leangen.geantyref.GenericTypeReflector
- getParameterTypes(Executable, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
- getRawType() - Method in class io.leangen.geantyref.ParameterizedTypeImpl
- 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, AnnotatedType, VarMap.MappingMode) - Static method in class io.leangen.geantyref.GenericTypeReflector
- 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.AnnotatedTypeImpl
- 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
- getTypeVariable() - Method in class io.leangen.geantyref.CaptureTypeImpl
- getTypeVariable() - Method in exception class io.leangen.geantyref.UnresolvedTypeVariableException
- 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.
- getUpperBounds() - Method in class io.leangen.geantyref.CaptureTypeImpl
- getUpperBounds() - Method in class io.leangen.geantyref.WildcardTypeImpl
- getWildcardType() - Method in interface io.leangen.geantyref.CaptureType
- getWildcardType() - Method in class io.leangen.geantyref.CaptureTypeImpl
H
- hashCode - Variable in class io.leangen.geantyref.AnnotationInvocationHandler
- hashCode() - Method in class io.leangen.geantyref.AnnotatedArrayTypeImpl
- hashCode() - Method in class io.leangen.geantyref.AnnotatedParameterizedTypeImpl
- hashCode() - Method in class io.leangen.geantyref.AnnotatedTypeImpl
- hashCode() - Method in class io.leangen.geantyref.AnnotatedTypeMap
- hashCode() - Method in class io.leangen.geantyref.AnnotatedWildcardTypeImpl
- hashCode() - Method in class io.leangen.geantyref.AnnotationInvocationHandler
-
Calculates the hash code of this annotation as described in
Annotation.hashCode()
. - hashCode() - Method in class io.leangen.geantyref.GenericArrayTypeImpl
- hashCode() - Method in class io.leangen.geantyref.GenericTypeReflector.AnnotatedCaptureCacheKey
- hashCode() - Method in class io.leangen.geantyref.GenericTypeReflector.CaptureCacheKey
- hashCode() - Method in class io.leangen.geantyref.ParameterizedTypeImpl
- hashCode() - Method in class io.leangen.geantyref.TypeToken
- hashCode() - Method in class io.leangen.geantyref.TypeVariableImpl
- hashCode() - Method in class io.leangen.geantyref.TypeVisitor.AnnotatedCaptureCacheKey
- hashCode() - Method in class io.leangen.geantyref.WildcardTypeImpl
- hashCode(AnnotatedType...) - Static method in class io.leangen.geantyref.GenericTypeReflector
- hashCode(Stream<Annotation>) - Static method in class io.leangen.geantyref.GenericTypeReflector
I
- init(VarMap) - Method in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
-
Initialize this CaptureTypeImpl.
- init(VarMap) - Method in class io.leangen.geantyref.CaptureTypeImpl
-
Initialize this CaptureTypeImpl.
- init(AnnotatedType[]) - Method in class io.leangen.geantyref.AnnotatedTypeVariableImpl
- inner - Variable in class io.leangen.geantyref.AnnotatedTypeMap
- inner - Variable in class io.leangen.geantyref.AnnotatedTypeSet
- innerClass(Type, Class<?>) - Static method in class io.leangen.geantyref.TypeFactory
-
Creates a type of
clazz
nested inowner
. - invoke(Object, Method, Object[]) - Method in class io.leangen.geantyref.AnnotationInvocationHandler
- io.leangen.geantyref - module io.leangen.geantyref
-
GeantyRef - Type reflection library for Java
- io.leangen.geantyref - package io.leangen.geantyref
- isArraySupertype(Type, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
- isBoxType(Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
- isEmpty() - Method in class io.leangen.geantyref.AnnotatedTypeMap
- isEmpty() - Method in class io.leangen.geantyref.AnnotatedTypeSet
- isFullyBound(Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
- isMissingTypeParameters(Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Checks if the given type is a class that is supposed to have type parameters, but doesn't.
- isSuperType(Type, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Checks if the capture of subType is a subtype of superType
- iterator() - Method in class io.leangen.geantyref.AnnotatedTypeSet
K
- keySet() - Method in class io.leangen.geantyref.AnnotatedTypeMap
L
- lowerBounds - Variable in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- lowerBounds - Variable in class io.leangen.geantyref.AnnotatedWildcardTypeImpl
- lowerBounds - Variable in class io.leangen.geantyref.CaptureTypeImpl
- lowerBounds - Variable in class io.leangen.geantyref.WildcardTypeImpl
M
- map - Variable in class io.leangen.geantyref.VarMap
- map(AnnotatedType) - Method in class io.leangen.geantyref.VarMap
- map(AnnotatedType[]) - Method in class io.leangen.geantyref.VarMap
- map(AnnotatedType[], VarMap.MappingMode) - Method in class io.leangen.geantyref.VarMap
- map(AnnotatedType, VarMap.MappingMode) - Method in class io.leangen.geantyref.VarMap
- map(Type) - Method in class io.leangen.geantyref.VarMap
- map(Type[]) - Method in class io.leangen.geantyref.VarMap
- mapArray(I[], IntFunction<O[]>, Function<I, O>) - Static method in class io.leangen.geantyref.GenericTypeReflector
- MappingMode() - Constructor for enum class io.leangen.geantyref.VarMap.MappingMode
- mapTypeParameters(AnnotatedType, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Maps type parameters in a type to their values.
- mapTypeParameters(AnnotatedType, AnnotatedType, VarMap.MappingMode) - Static method in class io.leangen.geantyref.GenericTypeReflector
- merge(Annotation[]...) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Merges an arbitrary number of annotations arrays, and removes duplicates.
- merge(K, V, BiFunction<? super V, ? super V, ? extends V>) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- mergeAnnotations(T, T) - Static method in class io.leangen.geantyref.GenericTypeReflector
N
- name - Variable in class io.leangen.geantyref.TypeVariableImpl
- normalize(Class<? extends Annotation>, Map<String, Object>) - Static method in class io.leangen.geantyref.AnnotationInvocationHandler
O
- ownerType - Variable in class io.leangen.geantyref.AnnotatedTypeImpl
- ownerType - Variable in class io.leangen.geantyref.ParameterizedTypeImpl
P
- parameter - Variable in exception class io.leangen.geantyref.TypeArgumentNotInBoundException
- parameterizedAnnotatedClass(Class<?>, Annotation[], AnnotatedType...) - Static method in class io.leangen.geantyref.TypeFactory
- parameterizedAnnotatedInnerClass(AnnotatedType, Class<?>, Annotation[], AnnotatedType...) - Static method in class io.leangen.geantyref.TypeFactory
- parameterizedAnnotatedInnerClass(Type, Class<?>, Annotation[], AnnotatedType...) - Static method in class io.leangen.geantyref.TypeFactory
- parameterizedAnnotatedType(ParameterizedType, Annotation[], Annotation[]...) - Static method in class io.leangen.geantyref.TypeFactory
- parameterizedClass(Class<?>, Type...) - Static method in class io.leangen.geantyref.TypeFactory
-
Creates a type of class
clazz
witharguments
as type arguments. - parameterizedInnerClass(Type, Class<?>, Type...) - Static method in class io.leangen.geantyref.TypeFactory
-
Creates a type of
clazz
witharguments
as type arguments, nested inowner
. - ParameterizedTypeImpl - Class in io.leangen.geantyref
- ParameterizedTypeImpl(Class<?>, Type[], Type) - Constructor for class io.leangen.geantyref.ParameterizedTypeImpl
- primitiveWrapperMap - Static variable in class io.leangen.geantyref.AnnotationInvocationHandler
-
Maps primitive
Class
es to their corresponding wrapperClass
. - put(K, V) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- putAll(Map<? extends K, ? extends V>) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- putIfAbsent(K, V) - Method in class io.leangen.geantyref.AnnotatedTypeMap
R
- raw - Variable in class io.leangen.geantyref.GenericTypeReflector.AnnotatedCaptureCacheKey
- raw - Variable in class io.leangen.geantyref.TypeVisitor.AnnotatedCaptureCacheKey
- rawType - Variable in class io.leangen.geantyref.ParameterizedTypeImpl
- reduceBounded(AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Recursively traverses the structure of the given type, reducing all bounded types (
AnnotatedTypeVariable
,AnnotatedWildcardType
andAnnotatedCaptureType
) to their first bound. - remove(Object) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- remove(Object) - Method in class io.leangen.geantyref.AnnotatedTypeSet
- remove(Object, Object) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- removeAll(Collection<?>) - Method in class io.leangen.geantyref.AnnotatedTypeSet
- replace(K, V) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- replace(K, V, V) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- replaceAll(BiFunction<? super K, ? super V, ? extends V>) - Method in class io.leangen.geantyref.AnnotatedTypeMap
- replaceAnnotations(T, Annotation[]) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Creates a new
AnnotatedType
of the same type as the original, but with its annotations replaced with the provided ones. - replaceParameters(AnnotatedParameterizedType, Annotation[], AnnotatedType[], AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
- replaceParameters(AnnotatedParameterizedType, AnnotatedType[]) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Creates a new
AnnotatedParameterizedType
of the same raw class as the providedtype
by with all of its type parameters replaced bytypeParameters
. - replaceParameters(AnnotatedParameterizedType, AnnotatedType[], AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
- resolveExactType(AnnotatedType, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
- resolveExactType(Type, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
- resolveType(AnnotatedType, AnnotatedType) - Static method in class io.leangen.geantyref.GenericTypeReflector
- resolveType(AnnotatedType, AnnotatedType, VarMap.MappingMode) - Static method in class io.leangen.geantyref.GenericTypeReflector
- resolveType(Type, Type) - Static method in class io.leangen.geantyref.GenericTypeReflector
- retainAll(Collection<?>) - Method in class io.leangen.geantyref.AnnotatedTypeSet
S
- serialVersionUID - Static variable in exception class io.leangen.geantyref.AnnotationFormatException
- serialVersionUID - Static variable in class io.leangen.geantyref.AnnotationInvocationHandler
- serialVersionUID - Static variable in exception class io.leangen.geantyref.UnresolvedTypeVariableException
- setAnnotatedUpperBounds(AnnotatedType[]) - Method in interface io.leangen.geantyref.AnnotatedCaptureType
- setAnnotatedUpperBounds(AnnotatedType[]) - Method in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- setAnnotations(Annotation[]) - Method in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- setAnnotations(Annotation[]) - Method in class io.leangen.geantyref.AnnotatedTypeVariableImpl
- setUpperBounds(Type[]) - Method in interface io.leangen.geantyref.CaptureType
-
Overwrite the upper bounds of this capture.
- setUpperBounds(Type[]) - Method in class io.leangen.geantyref.CaptureTypeImpl
- size() - Method in class io.leangen.geantyref.AnnotatedTypeMap
- size() - Method in class io.leangen.geantyref.AnnotatedTypeSet
T
- toArray() - Method in class io.leangen.geantyref.AnnotatedTypeSet
- toArray(T[]) - Method in class io.leangen.geantyref.AnnotatedTypeSet
- toCanonical(T) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Returns an
AnnotatedType
functionally identical to the given one, but in a canonical form that implementsequals
andhashCode
. - toCanonical(T, Function<Type, Type>) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
This is the method underlying
GenericTypeReflector.toCanonical(AnnotatedType)
. - toCanonicalBoxed(T) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Returns an
AnnotatedType
functionally identical to the given one, but in a canonical form that implementsequals
andhashCode
and has all the primitives replaced by their boxed form. - toMap(Annotation[]) - Method in class io.leangen.geantyref.AnnotatedTypeImpl
- toString() - Method in class io.leangen.geantyref.AnnotatedArrayTypeImpl
- toString() - Method in class io.leangen.geantyref.AnnotatedParameterizedTypeImpl
- toString() - Method in class io.leangen.geantyref.AnnotatedTypeImpl
- toString() - Method in class io.leangen.geantyref.AnnotatedTypeVariableImpl
- toString() - Method in class io.leangen.geantyref.AnnotatedWildcardTypeImpl
- toString() - Method in class io.leangen.geantyref.AnnotationInvocationHandler
- toString() - Method in class io.leangen.geantyref.CaptureTypeImpl
- toString() - Method in class io.leangen.geantyref.GenericArrayTypeImpl
- toString() - Method in class io.leangen.geantyref.ParameterizedTypeImpl
- toString() - Method in class io.leangen.geantyref.TypeVariableImpl
- toString() - Method in class io.leangen.geantyref.WildcardTypeImpl
- transform(AnnotatedType, TypeVisitor) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Recursively applies a transformation implemented by the provided
TypeVisitor
to the structure of the given type. - transformOwner(Type, Class<?>) - Static method in class io.leangen.geantyref.TypeFactory
-
Transforms the given owner type into an appropriate one when constructing a parameterized type.
- tv - Variable in exception class io.leangen.geantyref.UnresolvedTypeVariableException
- type - Variable in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- type - Variable in class io.leangen.geantyref.AnnotatedTypeImpl
- type - Variable in class io.leangen.geantyref.TypeToken
- TypeArgumentNotInBoundException - Exception Class in io.leangen.geantyref
-
Thrown to indicate that a type argument for a parameterized type is not within the bound declared on the type parameter.
- TypeArgumentNotInBoundException(Type, TypeVariable<?>, Type) - Constructor for exception class io.leangen.geantyref.TypeArgumentNotInBoundException
- typeArguments - Variable in class io.leangen.geantyref.AnnotatedParameterizedTypeImpl
- typeArraysEqual(AnnotatedType[], AnnotatedType[]) - Static method in class io.leangen.geantyref.GenericTypeReflector
- TypeFactory - Class in io.leangen.geantyref
-
Utility class for creating instances of
Type
. - TypeFactory() - Constructor for class io.leangen.geantyref.TypeFactory
- typesString(AnnotatedType[]) - Method in class io.leangen.geantyref.AnnotatedTypeImpl
- TypeToken<T> - Class in io.leangen.geantyref
-
Wrapper around
Type
. - TypeToken() - Constructor for class io.leangen.geantyref.TypeToken
-
Constructs a type token.
- TypeToken(AnnotatedType) - Constructor for class io.leangen.geantyref.TypeToken
- TypeVariableImpl<D> - Class in io.leangen.geantyref
- TypeVariableImpl(TypeVariable<D>, Annotation[], AnnotatedType[]) - Constructor for class io.leangen.geantyref.TypeVariableImpl
- TypeVariableImpl(TypeVariable<D>, AnnotatedType[]) - Constructor for class io.leangen.geantyref.TypeVariableImpl
- TypeVisitor - Class in io.leangen.geantyref
- TypeVisitor() - Constructor for class io.leangen.geantyref.TypeVisitor
- TypeVisitor.AnnotatedCaptureCacheKey - Class in io.leangen.geantyref
U
- UNBOUND_WILDCARD - Static variable in class io.leangen.geantyref.GenericTypeReflector
- UNBOUND_WILDCARD - Static variable in class io.leangen.geantyref.TypeFactory
- unboundWildcard() - Static method in class io.leangen.geantyref.TypeFactory
-
Returns the wildcard type without bounds.
- UnresolvedTypeVariableException - Exception Class in io.leangen.geantyref
- UnresolvedTypeVariableException(TypeVariable<?>) - Constructor for exception class io.leangen.geantyref.UnresolvedTypeVariableException
- updateAnnotations(T, Annotation[]) - Static method in class io.leangen.geantyref.GenericTypeReflector
-
Creates a new
AnnotatedType
of the same structure as the original, but with its annotations replaced with the provided ones. - upperBounds - Variable in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- upperBounds - Variable in class io.leangen.geantyref.AnnotatedWildcardTypeImpl
- upperBounds - Variable in class io.leangen.geantyref.CaptureTypeImpl
- upperBounds - Variable in class io.leangen.geantyref.WildcardTypeImpl
V
- validateBounds(WildcardType, AnnotatedType[], AnnotatedType[]) - Static method in class io.leangen.geantyref.AnnotatedWildcardTypeImpl
- valueOf(String) - Static method in enum class io.leangen.geantyref.VarMap.MappingMode
-
Returns the enum constant of this class with the specified name.
- values - Variable in class io.leangen.geantyref.AnnotationInvocationHandler
- values() - Method in class io.leangen.geantyref.AnnotatedTypeMap
- values() - Static method in enum class io.leangen.geantyref.VarMap.MappingMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- varCache - Variable in class io.leangen.geantyref.TypeVisitor
- varCache - Variable in class io.leangen.geantyref.VarMap
- variable - Variable in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- variable - Variable in class io.leangen.geantyref.CaptureTypeImpl
- VarMap - Class in io.leangen.geantyref
-
Mapping between type variables and actual parameters.
- VarMap() - Constructor for class io.leangen.geantyref.VarMap
-
Creates an empty VarMap
- VarMap(AnnotatedParameterizedType) - Constructor for class io.leangen.geantyref.VarMap
-
Creates a VarMap mapping the type parameters of the class used in
type
to their actual value. - VarMap(ParameterizedType) - Constructor for class io.leangen.geantyref.VarMap
- VarMap(TypeVariable[], AnnotatedType[]) - Constructor for class io.leangen.geantyref.VarMap
- VarMap.MappingMode - Enum Class in io.leangen.geantyref
- visitArray(AnnotatedArrayType) - Method in class io.leangen.geantyref.TypeVisitor
- visitCaptureType(AnnotatedCaptureType) - Method in class io.leangen.geantyref.TypeVisitor
- visitClass(AnnotatedType) - Method in class io.leangen.geantyref.TypeVisitor
- visitParameterizedType(AnnotatedParameterizedType) - Method in class io.leangen.geantyref.TypeVisitor
- visitUnmatched(AnnotatedType) - Method in class io.leangen.geantyref.TypeVisitor
- visitVariable(AnnotatedTypeVariable) - Method in class io.leangen.geantyref.TypeVisitor
- visitWildcardType(AnnotatedWildcardType) - Method in class io.leangen.geantyref.TypeVisitor
W
- wildcard - Variable in class io.leangen.geantyref.AnnotatedCaptureTypeImpl
- wildcard - Variable in class io.leangen.geantyref.CaptureTypeImpl
- wildcardExtends(Type) - Static method in class io.leangen.geantyref.TypeFactory
-
Creates a wildcard type with an upper bound.
- wildcardSuper(Type) - Static method in class io.leangen.geantyref.TypeFactory
-
Creates a wildcard type with a lower bound.
- WildcardTypeImpl - Class in io.leangen.geantyref
- WildcardTypeImpl(Type[], Type[]) - Constructor for class io.leangen.geantyref.WildcardTypeImpl
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form