@HashCodeAndEqualsPlugin.Enhance protected static class TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType.OfFormalTypeVariable extends TypeDescription.Generic.AnnotationReader.Delegator
TypeDescription.Generic.AnnotationReader.Delegator.ChainedTypeDescription.Generic.AnnotationReader.Delegator, TypeDescription.Generic.AnnotationReader.Dispatcher, TypeDescription.Generic.AnnotationReader.ForComponentType, TypeDescription.Generic.AnnotationReader.ForOwnerType, TypeDescription.Generic.AnnotationReader.ForTypeArgument, TypeDescription.Generic.AnnotationReader.ForTypeVariableBoundType, TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType, TypeDescription.Generic.AnnotationReader.ForWildcardUpperBoundType, TypeDescription.Generic.AnnotationReader.NoOp| Modifier and Type | Field and Description |
|---|---|
private static java.lang.reflect.Method |
GET_ANNOTATED_BOUNDS
The
java.lang.reflect.TypeVariable#getAnnotatedBounds method. |
private int |
index
The type variable's index.
|
private java.lang.reflect.TypeVariable<?> |
typeVariable
The represented type variable.
|
NO_ARGUMENTSDISPATCHER| Modifier | Constructor and Description |
|---|---|
protected |
OfFormalTypeVariable(java.lang.reflect.TypeVariable<?> typeVariable,
int index)
Creates a chained annotation reader for reading a formal type variable's bound type.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.reflect.AnnotatedElement |
resolve()
Resolves the underlying
AnnotatedElement. |
asList, ofComponentType, ofOuterClass, ofOwnerType, ofTypeArgument, ofTypeVariableBoundType, ofWildcardLowerBoundType, ofWildcardUpperBoundTypeprivate static final java.lang.reflect.Method GET_ANNOTATED_BOUNDS
java.lang.reflect.TypeVariable#getAnnotatedBounds method.private final java.lang.reflect.TypeVariable<?> typeVariable
private final int index
protected OfFormalTypeVariable(java.lang.reflect.TypeVariable<?> typeVariable,
int index)
typeVariable - The represented type variable.index - The type variable's index.