|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.almende.util.AnnotationUtil.AnnotatedMethod
public static class AnnotationUtil.AnnotatedMethod
AnnotatedMethod describes a method and its parameters.
Constructor Summary | |
---|---|
AnnotationUtil.AnnotatedMethod(Method method)
|
Method Summary | ||
---|---|---|
Method |
getActualMethod()
Get the actual Java method described by this AnnotatedMethod. |
|
|
getAnnotation(Class<T> type)
Get an annotation of this method by type. |
|
List<Annotation> |
getAnnotations()
Get all annotations of this method, defined in all implementations and interfaces of the class. |
|
Type |
getGenericReturnType()
Get the generic return type of the method |
|
String |
getName()
Get the method name |
|
List<AnnotationUtil.AnnotatedParam> |
getParams()
Get all parameter annotations of this method, defined in all implementations and interfaces of the methods declaring class. |
|
Class<?> |
getReturnType()
Get the return type of the method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationUtil.AnnotatedMethod(Method method)
Method Detail |
---|
public Method getActualMethod()
public String getName()
public Class<?> getReturnType()
public Type getGenericReturnType()
public List<Annotation> getAnnotations()
public <T> T getAnnotation(Class<T> type)
annotationClass
-
public List<AnnotationUtil.AnnotatedParam> getParams()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |