org.bridj.util
Class AnnotationUtils
java.lang.Object
org.bridj.util.AnnotationUtils
public class AnnotationUtils
- extends Object
Util methods for annotations (inheritable annotations, forwarded annotations, annotations from AnnotatedElements and/or direct annotation arrays...)
- Author:
- ochafik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationUtils
public AnnotationUtils()
getInheritableAnnotation
public static <A extends Annotation> A getInheritableAnnotation(Class<A> ac,
AnnotatedElement m,
Annotation... directAnnotations)
getAnnotation
public static <A extends Annotation> A getAnnotation(Class<A> ac,
AnnotatedElement m,
Annotation... directAnnotations)
isAnnotationPresent
public static boolean isAnnotationPresent(Class<? extends Annotation> ac,
Annotation... annotations)
isAnnotationPresent
public static boolean isAnnotationPresent(Class<? extends Annotation> ac,
AnnotatedElement m,
Annotation... directAnnotations)
Copyright © 2009-2012. All Rights Reserved.