@HashCodeAndEqualsPlugin.Enhance public static class ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedMethod extends java.lang.Object implements ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedConstructor, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedMethod
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Method |
method
The method to query for annotations.
|
Constructor and Description |
---|
ForLoadedMethod(java.lang.reflect.Method method)
Creates a new parameter annpotation source for a method.
|
Modifier and Type | Method and Description |
---|---|
java.lang.annotation.Annotation[][] |
getParameterAnnotations()
Returns the parameter annotations represented by this source.
|
private final java.lang.reflect.Method method
public ForLoadedMethod(java.lang.reflect.Method method)
method
- The method to query for annotations.public java.lang.annotation.Annotation[][] getParameterAnnotations()
getParameterAnnotations
in interface ParameterDescription.ForLoadedParameter.ParameterAnnotationSource