Class TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType
java.lang.Object
net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator
net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType
- All Implemented Interfaces:
TypeDescription.Generic.AnnotationReader
- Enclosing class:
TypeDescription.Generic.AnnotationReader.Delegator
@Enhance(includeSyntheticFields=true)
public static class TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType
extends TypeDescription.Generic.AnnotationReader.Delegator
A delegating annotation reader for an annotated exception variable.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static interfaceA proxy type for interacting withjava.lang.reflect.Executable.Nested classes/interfaces inherited from class 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.SimpleNested classes/interfaces inherited from interface 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.ForLoadedExecutableExceptionType.DispatcherA dispatcher for interacting withjava.lang.reflect.Executable.private final AccessibleObjectThe represented executable.private final intThe exception type's index. -
Constructor Summary
ConstructorsConstructorDescriptionForLoadedExecutableExceptionType(AccessibleObject executable, int index) Creates a new annotation reader for an annotated exception type. -
Method Summary
-
Field Details
-
DISPATCHER
protected static final TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType.Dispatcher DISPATCHERA dispatcher for interacting withjava.lang.reflect.Executable. -
executable
The represented executable. -
index
private final int indexThe exception type's index.
-
-
Constructor Details
-
ForLoadedExecutableExceptionType
Creates a new annotation reader for an annotated exception type.- Parameters:
executable- The represented executable.index- The exception type's index.
-
-
Method Details
-
resolve
Resolves the underlyingAnnotatedElement.- Returns:
- The underlying annotated element.
-