Package net.bytebuddy.description.type
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 Classes Modifier and Type Class Description protected static interface
TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType.Dispatcher
A proxy type for interacting withjava.lang.reflect.Executable
.-
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
Fields Modifier and Type Field Description protected static TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType.Dispatcher
DISPATCHER
A dispatcher for interacting withjava.lang.reflect.Executable
.private java.lang.reflect.AccessibleObject
executable
The represented executable.private int
index
The exception type's index.
-
Constructor Summary
Constructors Constructor Description ForLoadedExecutableExceptionType(java.lang.reflect.AccessibleObject executable, int index)
Creates a new annotation reader for an annotated exception type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.AnnotatedElement
resolve()
Resolves the underlyingAnnotatedElement
.-
Methods inherited from class net.bytebuddy.description.type.TypeDescription.Generic.AnnotationReader.Delegator
asList, doPrivileged, ofComponentType, ofOuterClass, ofOwnerType, ofTypeArgument, ofTypeVariableBoundType, ofWildcardLowerBoundType, ofWildcardUpperBoundType
-
-
-
-
Field Detail
-
DISPATCHER
protected static final TypeDescription.Generic.AnnotationReader.Delegator.ForLoadedExecutableExceptionType.Dispatcher DISPATCHER
A dispatcher for interacting withjava.lang.reflect.Executable
.
-
executable
private final java.lang.reflect.AccessibleObject executable
The represented executable.
-
index
private final int index
The exception type's index.
-
-
Constructor Detail
-
ForLoadedExecutableExceptionType
public ForLoadedExecutableExceptionType(java.lang.reflect.AccessibleObject executable, int index)
Creates a new annotation reader for an annotated exception type.- Parameters:
executable
- The represented executable.index
- The exception type's index.
-
-