| Modifier and Type | Method and Description |
|---|---|
static <A extends Annotation> |
getMethodParameterAnnotations(Method method,
int index,
Class<A> annotationClass)
Get
Annotations of the provided class associated to the the provided method parameter. |
static <A extends Annotation> |
getMethodParameterAnnotations(Method method,
int index,
Class<A> annotationClass,
boolean inherits)
Get
Annotations of the provided class associated to the the provided method parameter. |
public static <A extends Annotation> List<A> getMethodParameterAnnotations(Method method, int index, Class<A> annotationClass)
Annotations of the provided class associated to the the provided method parameter.A - the actual Annotation typemethod - the methodindex - the index of the parameter in the methodannotationClass - the class of the annotationpublic static <A extends Annotation> List<A> getMethodParameterAnnotations(Method method, int index, Class<A> annotationClass, boolean inherits)
Annotations of the provided class associated to the the provided method parameter.A - the actual Annotation typemethod - the methodindex - the index of the parameter in the methodannotationClass - the class of the annotationinherits - if true also search on overwritten methods from interfaces and super classesCopyright © 2004–2017 XWiki. All rights reserved.