|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.component.util.ReflectionMethodUtils
public final class ReflectionMethodUtils
Various Reflection tools related to Methods.
| Method Summary | ||
|---|---|---|
static
|
getMethodParameterAnnotations(Method method,
int index,
Class<A> annotationClass)
Get Annotations of the provided class associated to the the provided method parameter. |
|
static
|
getMethodParameterAnnotations(Method method,
int index,
Class<A> annotationClass,
boolean inherits)
Get Annotations of the provided class associated to the the provided method parameter. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 annotation
public 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 classes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||