|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bridj.util.AnnotationUtils
public class AnnotationUtils
Util methods for annotations (inheritable annotations, forwarded annotations, annotations from AnnotatedElements and/or direct annotation arrays...)
| Constructor Summary | |
|---|---|
AnnotationUtils()
|
|
| Method Summary | ||
|---|---|---|
static
|
getAnnotation(Class<A> ac,
AnnotatedElement m,
Annotation... directAnnotations)
|
|
static
|
getInheritableAnnotation(Class<A> ac,
AnnotatedElement m,
Annotation... directAnnotations)
|
|
static boolean |
isAnnotationPresent(Class<? extends Annotation> ac,
AnnotatedElement m,
Annotation... directAnnotations)
|
|
static boolean |
isAnnotationPresent(Class<? extends Annotation> ac,
Annotation... annotations)
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationUtils()
| Method Detail |
|---|
public static <A extends Annotation> A getInheritableAnnotation(Class<A> ac,
AnnotatedElement m,
Annotation... directAnnotations)
public static <A extends Annotation> A getAnnotation(Class<A> ac,
AnnotatedElement m,
Annotation... directAnnotations)
public static boolean isAnnotationPresent(Class<? extends Annotation> ac,
Annotation... annotations)
public static boolean isAnnotationPresent(Class<? extends Annotation> ac,
AnnotatedElement m,
Annotation... directAnnotations)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||