Class TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType
java.lang.Object
net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator
net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator.Chained
net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType
- All Implemented Interfaces:
TypeDescription.Generic.AnnotationReader
- Enclosing interface:
TypeDescription.Generic.AnnotationReader
@Enhance
public static class TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType
extends TypeDescription.Generic.AnnotationReader.Delegator.Chained
A chained annotation reader for reading a wildcard type's lower bound type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interfaceA proxy to interact withjava.lang.reflect.AnnotatedWildcardType.Nested classes/interfaces inherited from class TypeDescription.Generic.AnnotationReader.Delegator
TypeDescription.Generic.AnnotationReader.Delegator.Chained, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableParameterType, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedField, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedInterface, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedRecordComponent, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedSuperClass, TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedTypeVariable, TypeDescription.Generic.AnnotationReader.Delegator.SimpleNested classes/interfaces inherited from interface TypeDescription.Generic.AnnotationReader
TypeDescription.Generic.AnnotationReader.Delegator, 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 -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType.AnnotatedWildcardTypeA dispatcher to interact withjava.lang.reflect.AnnotatedWildcardType.private final intThe wildcard bound's index.Fields inherited from class TypeDescription.Generic.AnnotationReader.Delegator.Chained
annotationReader -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedForWildcardLowerBoundType(TypeDescription.Generic.AnnotationReader annotationReader, int index) Creates a chained annotation reader for reading a lower-bound wildcard's bound type. -
Method Summary
Modifier and TypeMethodDescriptionprotected AnnotatedElementresolve(AnnotatedElement annotatedElement) Resolves the type annotations from a given annotated element into the annotated element that this instance represents.Methods inherited from class TypeDescription.Generic.AnnotationReader.Delegator.Chained
resolve
-
Field Details
-
ANNOTATED_WILDCARD_TYPE
private static final TypeDescription.Generic.AnnotationReader.ForWildcardLowerBoundType.AnnotatedWildcardType ANNOTATED_WILDCARD_TYPEA dispatcher to interact withjava.lang.reflect.AnnotatedWildcardType. -
index
private final int indexThe wildcard bound's index.
-
-
Constructor Details
-
ForWildcardLowerBoundType
protected ForWildcardLowerBoundType(TypeDescription.Generic.AnnotationReader annotationReader, int index) Creates a chained annotation reader for reading a lower-bound wildcard's bound type.- Parameters:
annotationReader- The annotation reader from which to delegate.index- The wildcard bound's index.
-
-
Method Details
-
resolve
Description copied from class:TypeDescription.Generic.AnnotationReader.Delegator.ChainedResolves the type annotations from a given annotated element into the annotated element that this instance represents.- Specified by:
resolvein classTypeDescription.Generic.AnnotationReader.Delegator.Chained- Parameters:
annotatedElement- The original annotated element.- Returns:
- The resolved annotated element.
-