public abstract static class TypeDescription.Generic.AnnotationReader.Delegator extends Object implements TypeDescription.Generic.AnnotationReader
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TypeDescription.Generic.AnnotationReader.Delegator.Chained
A chained delegator that bases its result on an underlying annotation reader.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType
A delegating annotation reader for an annotated exception variable.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableParameterType
A delegating annotation reader for an annotated parameter variable.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedField
A delegating annotation reader for an annotated field variable.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedInterface
A delegating annotation reader for an annotated interface type.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType
A delegating annotation reader for an annotated return variable.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedRecordComponent
An annotation reader for a
java.lang.reflect.RecordComponent. |
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedSuperClass
A delegating annotation reader for an annotated super type.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedTypeVariable
A delegating annotation reader for an annotated type variable.
|
static class |
TypeDescription.Generic.AnnotationReader.Delegator.Simple
A simple delegator for a given
AnnotatedElement. |
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| Constructor and Description |
|---|
Delegator() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
asList()
Returns the underlying type annotations as a list.
|
TypeDescription.Generic.AnnotationReader |
ofComponentType()
Returns a reader for type annotations of an array's component type.
|
TypeDescription.Generic.AnnotationReader |
ofOuterClass()
Returns a reader for type annotations of an inner class type's outer type.
|
TypeDescription.Generic.AnnotationReader |
ofOwnerType()
Returns a reader for type annotations of a parameterized type's owner type.
|
TypeDescription.Generic.AnnotationReader |
ofTypeArgument(int index)
Returns a reader for type annotations of a parameterized type's type argument.
|
TypeDescription.Generic.AnnotationReader |
ofTypeVariableBoundType(int index)
Returns a reader for type annotations of a type variable's bound.
|
TypeDescription.Generic.AnnotationReader |
ofWildcardLowerBoundType(int index)
Returns a reader for type annotations of an represented element's wildcard lower bound.
|
TypeDescription.Generic.AnnotationReader |
ofWildcardUpperBoundType(int index)
Returns a reader for type annotations of an represented element's wildcard upper bound.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolvepublic TypeDescription.Generic.AnnotationReader ofWildcardUpperBoundType(int index)
ofWildcardUpperBoundType in interface TypeDescription.Generic.AnnotationReaderindex - The wildcard bound's index.public TypeDescription.Generic.AnnotationReader ofWildcardLowerBoundType(int index)
ofWildcardLowerBoundType in interface TypeDescription.Generic.AnnotationReaderindex - The wildcard bound's index.public TypeDescription.Generic.AnnotationReader ofTypeVariableBoundType(int index)
ofTypeVariableBoundType in interface TypeDescription.Generic.AnnotationReaderindex - The bound's index.public TypeDescription.Generic.AnnotationReader ofTypeArgument(int index)
ofTypeArgument in interface TypeDescription.Generic.AnnotationReaderindex - The bound's index.public TypeDescription.Generic.AnnotationReader ofOwnerType()
Returns a reader for type annotations of a parameterized type's owner type.
Important: This feature is not currently implemented by the Java reflection API.
ofOwnerType in interface TypeDescription.Generic.AnnotationReaderpublic TypeDescription.Generic.AnnotationReader ofOuterClass()
Returns a reader for type annotations of an inner class type's outer type.
Important: This feature is not currently implemented by the Java reflection API.
ofOuterClass in interface TypeDescription.Generic.AnnotationReaderpublic TypeDescription.Generic.AnnotationReader ofComponentType()
ofComponentType in interface TypeDescription.Generic.AnnotationReaderpublic AnnotationList asList()
asList in interface TypeDescription.Generic.AnnotationReaderCopyright © 2014–2025. All rights reserved.