Interface ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
- All Known Implementing Classes:
MethodDescription.ForLoadedConstructor, MethodDescription.ForLoadedMethod, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedConstructor, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource.ForLoadedMethod
- Enclosing class:
ParameterDescription.ForLoadedParameter<T extends AccessibleObject>
public static interface ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
A source for querying parameter annotations.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA source for a loaded constructor.static classA source for a loaded method. -
Method Summary
Modifier and TypeMethodDescriptionAnnotation[][]Returns the parameter annotations represented by this source.
-
Method Details
-
getParameterAnnotations
Annotation[][] getParameterAnnotations()Returns the parameter annotations represented by this source.- Returns:
- The parameter annotations as an array indexed by parameter index.
-