Package net.bytebuddy.description.type
Class TypeDescription.Generic.AnnotationReader.ForComponentType
- 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.ForComponentType
-
- All Implemented Interfaces:
TypeDescription.Generic.AnnotationReader
- Enclosing interface:
- TypeDescription.Generic.AnnotationReader
public static class TypeDescription.Generic.AnnotationReader.ForComponentType extends TypeDescription.Generic.AnnotationReader.Delegator.Chained
A chained annotation reader for reading a component type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator
TypeDescription.Generic.AnnotationReader.Delegator.Chained, TypeDescription.Generic.AnnotationReader.Delegator.ForRecordComponent
-
Nested classes/interfaces inherited from interface net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader
TypeDescription.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
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.reflect.Method
GET_ANNOTATED_GENERIC_COMPONENT_TYPE
Thejava.lang.reflect.AnnotatedArrayType#getAnnotatedGenericComponentType
method.-
Fields inherited from class net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator.Chained
annotationReader, NOT_AVAILABLE
-
Fields inherited from class net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator
NO_ARGUMENTS
-
Fields inherited from interface net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader
DISPATCHER
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ForComponentType(TypeDescription.Generic.AnnotationReader annotationReader)
Creates a chained annotation reader for reading a component type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.reflect.AnnotatedElement
resolve(java.lang.reflect.AnnotatedElement annotatedElement)
Resolves the type annotations from a given annotated element into the annotated element that this instance represents.-
Methods inherited from class net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator.Chained
of, resolve
-
Methods inherited from class net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator
asList, ofComponentType, ofOuterClass, ofOwnerType, ofTypeArgument, ofTypeVariableBoundType, ofWildcardLowerBoundType, ofWildcardUpperBoundType
-
-
-
-
Constructor Detail
-
ForComponentType
protected ForComponentType(TypeDescription.Generic.AnnotationReader annotationReader)
Creates a chained annotation reader for reading a component type.- Parameters:
annotationReader
- The annotation reader from which to delegate.
-
-
Method Detail
-
resolve
protected java.lang.reflect.AnnotatedElement resolve(java.lang.reflect.AnnotatedElement annotatedElement)
Description copied from class:TypeDescription.Generic.AnnotationReader.Delegator.Chained
Resolves the type annotations from a given annotated element into the annotated element that this instance represents.- Specified by:
resolve
in classTypeDescription.Generic.AnnotationReader.Delegator.Chained
- Parameters:
annotatedElement
- The original annotated element.- Returns:
- The resolved annotated element.
-
-