@HashCodeAndEqualsPlugin.Enhance public static class ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedConstructor 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.Constructor<?> |
constructor
The constructor to query for annotations.
|
Constructor and Description |
---|
ForLoadedConstructor(java.lang.reflect.Constructor<?> constructor)
Creates a new parameter annotation source for a constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.annotation.Annotation[][] |
getParameterAnnotations()
Returns the parameter annotations represented by this source.
|
private final java.lang.reflect.Constructor<?> constructor
public ForLoadedConstructor(java.lang.reflect.Constructor<?> constructor)
constructor
- The constructor to query for annotations.public java.lang.annotation.Annotation[][] getParameterAnnotations()
getParameterAnnotations
in interface ParameterDescription.ForLoadedParameter.ParameterAnnotationSource