|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.resteasy.util.FindAnnotation
public final class FindAnnotation
Method Summary | ||
---|---|---|
static
|
findAnnotation(java.lang.annotation.Annotation[] searchList,
java.lang.Class<T> annotation)
FIXME Comment this |
|
static
|
findAnnotation(java.lang.Class<?> type,
java.lang.annotation.Annotation[] annotations,
java.lang.Class<T> annotation)
Look for an annotation in a list of annotations. |
|
static java.lang.Class<? extends java.lang.annotation.Annotation>[] |
findJaxRSAnnotations(java.lang.annotation.Annotation[] searchList)
|
|
static java.lang.annotation.Annotation[] |
getResourcesAnnotations(java.lang.reflect.Method method)
Returns an array of annotations the specified method of a resource class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> T findAnnotation(java.lang.annotation.Annotation[] searchList, java.lang.Class<T> annotation)
T
- searchList
- annotation
-
public static java.lang.Class<? extends java.lang.annotation.Annotation>[] findJaxRSAnnotations(java.lang.annotation.Annotation[] searchList)
public static java.lang.annotation.Annotation[] getResourcesAnnotations(java.lang.reflect.Method method)
method
-
public static <T extends java.lang.annotation.Annotation> T findAnnotation(java.lang.Class<?> type, java.lang.annotation.Annotation[] annotations, java.lang.Class<T> annotation)
type
- annotations
- annnotation
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |