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 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
-
-
Constructor Summary
Constructors Constructor Description ForLoadedMethod(Method method)
Creates a new parameter annpotation source for a method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Annotation[][]
getParameterAnnotations()
Returns the parameter annotations represented by this source.
-
-
-
Constructor Detail
-
ForLoadedMethod
public ForLoadedMethod(Method method)
Creates a new parameter annpotation source for a method.- Parameters:
method
- The method to query for annotations.
-
-
Method Detail
-
getParameterAnnotations
public 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.
-
-