public interface AnnoScan
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotatedProperties(Class<?> classToScan,
Class<T> annotationToFind) |
<T extends Annotation> |
getAnnotatedPropertiesSorted(Class<?> classToScan,
Class<T> annotationToFind,
Comparator<AnnotatedProperty<T>> comparator) |
<T extends Annotation> Set<AnnotatedProperty<T>> getAnnotatedProperties(Class<?> classToScan, Class<T> annotationToFind)
T - The annotation type.classToScan - The class to scan for annotated properties.annotationToFind - The annotation class for which to scan.<T extends Annotation> SortedSet<AnnotatedProperty<T>> getAnnotatedPropertiesSorted(Class<?> classToScan, Class<T> annotationToFind, Comparator<AnnotatedProperty<T>> comparator)
T - The annotation type.classToScan - The class to scan for annotated properties.annotationToFind - The annotation class for which to scan.comparator - The comparator to use in order to sort the annotated properties.Copyright © 2013. All rights reserved.