|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.digester3.annotations.reflect.MethodArgument
public final class MethodArgument
Class to supply the missing Java AnnotatedElement for method arguments.
| Constructor Summary | |
|---|---|
MethodArgument(int index,
Class<?> parameterType,
Annotation[] annotations)
Creates a new method argument as AnnotatedElement. |
|
| Method Summary | ||
|---|---|---|
|
getAnnotation(Class<T> annotationType)
|
|
Annotation[] |
getAnnotations()
|
|
Annotation[] |
getDeclaredAnnotations()
|
|
int |
getIndex()
Returns the method argument index. |
|
Class<?> |
getParameterType()
Returns the method argument type. |
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodArgument(int index,
Class<?> parameterType,
Annotation[] annotations)
AnnotatedElement.
index - the method argument index.parameterType - the method argument type.annotations - the method argument annotations.| Method Detail |
|---|
public int getIndex()
public Class<?> getParameterType()
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
getAnnotation in interface AnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElementpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
isAnnotationPresent in interface AnnotatedElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||