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.
|
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.NoOpDISPATCHER| 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)
TypeDescription.Generic.AnnotationReaderofWildcardUpperBoundType in interface TypeDescription.Generic.AnnotationReaderindex - The wildcard bound's index.public TypeDescription.Generic.AnnotationReader ofWildcardLowerBoundType(int index)
TypeDescription.Generic.AnnotationReaderofWildcardLowerBoundType in interface TypeDescription.Generic.AnnotationReaderindex - The wildcard bound's index.public TypeDescription.Generic.AnnotationReader ofTypeVariableBoundType(int index)
TypeDescription.Generic.AnnotationReaderofTypeVariableBoundType in interface TypeDescription.Generic.AnnotationReaderindex - The bound's index.public TypeDescription.Generic.AnnotationReader ofTypeArgument(int index)
TypeDescription.Generic.AnnotationReaderofTypeArgument in interface TypeDescription.Generic.AnnotationReaderindex - The bound's index.public TypeDescription.Generic.AnnotationReader ofOwnerType()
TypeDescription.Generic.AnnotationReaderReturns 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()
TypeDescription.Generic.AnnotationReaderReturns 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()
TypeDescription.Generic.AnnotationReaderofComponentType in interface TypeDescription.Generic.AnnotationReaderpublic AnnotationList asList()
TypeDescription.Generic.AnnotationReaderasList in interface TypeDescription.Generic.AnnotationReaderCopyright © 2014–2016. All rights reserved.