public class AnnotationScanner extends Object
Constructor and Description |
---|
AnnotationScanner() |
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
getAnnotation(Class<?> clazz,
Class<T> annotationType) |
List<? extends Annotation> |
getAnnotations(Class<?> clazz) |
<T extends Annotation> |
getAnnotations(Class<?> clazz,
Class<T> annotationType) |
<T extends Annotation> |
getFirstAnnotation(Class<?> clazz,
Class<T> annotationType) |
void |
scan(Class<?> clazz) |
public void scan(Class<?> clazz)
public List<? extends Annotation> getAnnotations(Class<?> clazz)
public <T extends Annotation> T getAnnotation(Class<?> clazz, Class<T> annotationType)
public <T extends Annotation> T getFirstAnnotation(Class<?> clazz, Class<T> annotationType)
public <T extends Annotation> List<T> getAnnotations(Class<?> clazz, Class<T> annotationType)
Copyright © 2014 Nuxeo SA. All rights reserved.