Package net.bytebuddy.description.type
Class TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType
java.lang.Object
net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator
net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType
- All Implemented Interfaces:
TypeDescription.Generic.AnnotationReader
- Enclosing class:
- TypeDescription.Generic.AnnotationReader.Delegator
@Enhance(includeSyntheticFields=true)
public static class TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType
extends TypeDescription.Generic.AnnotationReader.Delegator
A delegating annotation reader for an annotated return variable.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interface
A dispatcher for interacting withMethod
.Nested classes/interfaces inherited from class net.bytebuddy.description.type.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.Simple
Nested classes/interfaces inherited from interface net.bytebuddy.description.type.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 TypeFieldDescriptionprotected static final TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType.Dispatcher
A dispatcher for interacting withMethod
.private final Method
The represented method. -
Constructor Summary
ConstructorsConstructorDescriptionForLoadedMethodReturnType
(Method method) Creates a new annotation reader for an annotated return type. -
Method Summary
Methods inherited from class net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator
asList, doPrivileged, ofComponentType, ofOuterClass, ofOwnerType, ofTypeArgument, ofTypeVariableBoundType, ofWildcardLowerBoundType, ofWildcardUpperBoundType
-
Field Details
-
DISPATCHER
protected static final TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedMethodReturnType.Dispatcher DISPATCHERA dispatcher for interacting withMethod
. -
method
The represented method.
-
-
Constructor Details
-
ForLoadedMethodReturnType
Creates a new annotation reader for an annotated return type.- Parameters:
method
- The represented method.
-
-
Method Details
-
resolve
Resolves the underlyingAnnotatedElement
.- Returns:
- The underlying annotated element.
-