info.magnolia.i18nsystem.util
Class AnnotationUtils
java.lang.Object
info.magnolia.i18nsystem.util.AnnotationUtils
public class AnnotationUtils
- extends Object
Utility methods to retrieve annotations.
TODO : Cache ?
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationUtils
public AnnotationUtils()
hasAnnotationOn
public static boolean hasAnnotationOn(AnnotatedElement annotatedElement,
Class<? extends Annotation> annotationType)
getAnnotationOn
public static <A extends Annotation> A getAnnotationOn(Class annotatedElement,
Class<A> annotationType)
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.