@HashCodeAndEqualsPlugin.Enhance protected abstract static class TypeDescription.Generic.AnnotationReader.Delegator.Chained 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 |
|---|---|
protected TypeDescription.Generic.AnnotationReader |
annotationReader
The underlying annotation reader.
|
protected static Method |
NOT_AVAILABLE
Indicates that a method is not available on the current VM.
|
NO_ARGUMENTSDISPATCHER| Modifier | Constructor and Description |
|---|---|
protected |
Chained(TypeDescription.Generic.AnnotationReader annotationReader)
Creates a new chained annotation reader.
|
| Modifier and Type | Method and Description |
|---|---|
protected static Method |
of(String typeName,
String methodName)
Resolves the method to invoke or returns
null if the method does not exist on the current VM. |
AnnotatedElement |
resolve()
Resolves the underlying
AnnotatedElement. |
protected abstract AnnotatedElement |
resolve(AnnotatedElement annotatedElement)
Resolves the type annotations from a given annotated element into the annotated element that this instance represents.
|
asList, ofComponentType, ofOuterClass, ofOwnerType, ofTypeArgument, ofTypeVariableBoundType, ofWildcardLowerBoundType, ofWildcardUpperBoundTypeprotected static final Method NOT_AVAILABLE
protected final TypeDescription.Generic.AnnotationReader annotationReader
protected Chained(TypeDescription.Generic.AnnotationReader annotationReader)
annotationReader - The underlying annotation reader.protected static Method of(String typeName, String methodName)
null if the method does not exist on the current VM.typeName - The declaring type's name.methodName - The method's name.null.public AnnotatedElement resolve()
AnnotatedElement.protected abstract AnnotatedElement resolve(AnnotatedElement annotatedElement)
annotatedElement - The original annotated element.Copyright © 2014–2019. All rights reserved.