org.jboss.seam.rest.util
Class Annotations
java.lang.Object
org.jboss.seam.rest.util.Annotations
public class Annotations
- extends Object
|
Method Summary |
static
|
getAnnotation(Annotation[] annotations,
Class<T> annotationClass)
Find an instance of the annotationClass in an annotation arrays including the first level of meta-annotation. |
static
|
getAnnotation(Collection<? extends Annotation> annotations,
Class<T> annotationClass)
Find an instance of the annotationClass in an annotation arrays including the first level of meta-annotation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Annotations
public Annotations()
getAnnotation
public static <T extends Annotation> T getAnnotation(Collection<? extends Annotation> annotations,
Class<T> annotationClass)
- Find an instance of the annotationClass in an annotation arrays including the first level of meta-annotation.
- Returns:
- the annotationClass instance if present, null otherwise
getAnnotation
public static <T extends Annotation> T getAnnotation(Annotation[] annotations,
Class<T> annotationClass)
- Find an instance of the annotationClass in an annotation arrays including the first level of meta-annotation.
- Returns:
- the annotationClass instance if present, null otherwise
Copyright © 2011 Seam Framework. All Rights Reserved.