Package net.bytebuddy.description.method
Class ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedConstructor
java.lang.Object
net.bytebuddy.description.method.ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedConstructor
- All Implemented Interfaces:
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
- Enclosing interface:
- ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
@Enhance
public static class ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedConstructor
extends Object
implements ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
A source for a loaded constructor.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.bytebuddy.description.method.ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedConstructor, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedMethod
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Constructor<?>
The constructor to query for annotations. -
Constructor Summary
ConstructorsConstructorDescriptionForLoadedConstructor
(Constructor<?> constructor) Creates a new parameter annotation source for a constructor. -
Method Summary
Modifier and TypeMethodDescriptionAnnotation[][]
Returns the parameter annotations represented by this source.
-
Field Details
-
constructor
The constructor to query for annotations.
-
-
Constructor Details
-
ForLoadedConstructor
Creates a new parameter annotation source for a constructor.- Parameters:
constructor
- The constructor to query for annotations.
-
-
Method Details
-
getParameterAnnotations
Returns the parameter annotations represented by this source.- Specified by:
getParameterAnnotations
in interfaceParameterDescription.ForLoadedParameter.ParameterAnnotationSource
- Returns:
- The parameter annotations as an array indexed by parameter index.
-