|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.resteasy.util.FindAnnotation
public final class FindAnnotation
Method Summary | ||
---|---|---|
static
|
findAnnotation(Annotation[] searchList,
Class<T> annotation)
FIXME Comment this |
|
static
|
findAnnotation(Class<?> type,
Annotation[] annotations,
Class<T> annotation)
Look for an annotation in a list of annotations. |
|
static Class<? extends Annotation>[] |
findJaxRSAnnotations(Annotation[] searchList)
|
|
static Annotation[] |
getResourcesAnnotations(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(Annotation[] searchList, Class<T> annotation)
T
- searchList
- annotation
-
public static Class<? extends Annotation>[] findJaxRSAnnotations(Annotation[] searchList)
public static Annotation[] getResourcesAnnotations(Method method)
method
-
public static <T extends Annotation> T findAnnotation(Class<?> type, Annotation[] annotations, Class<T> annotation)
type
- annotations
- annnotation
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |