org.wamblee.reflection
Class AnnotationUtils
java.lang.Object
org.wamblee.reflection.AnnotationUtils
public class AnnotationUtils
- extends Object
Utlities for working with annotations.
- Author:
- Erik Brakkee
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationUtils
public AnnotationUtils()
analyse
public static List<Accessor> analyse(Class aClass,
Class<? extends Annotation> aAnnotation)
- Returns the accessor for a given annotation.
- Parameters:
aClass - Class to analyse.aAnnotation - Annotation that must be present.
- Returns:
- List of accessors. Empty list is returned if no match is found.
Copyright © 2011. All Rights Reserved.