Package net.bytebuddy.description.method
Class ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedMethod
- java.lang.Object
-
- net.bytebuddy.description.method.ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedMethod
-
- All Implemented Interfaces:
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
- Enclosing interface:
- ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
@Enhance public static class ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedMethod extends java.lang.Object implements ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
A source for a loaded method.
-
-
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
Fields Modifier and Type Field Description private java.lang.reflect.Method
method
The method to query for annotations.
-
Constructor Summary
Constructors Constructor Description ForLoadedMethod(java.lang.reflect.Method method)
Creates a new parameter annpotation source for a method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.annotation.Annotation[][]
getParameterAnnotations()
Returns the parameter annotations represented by this source.
-
-
-
Method Detail
-
getParameterAnnotations
public java.lang.annotation.Annotation[][] 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.
-
-