public class Index extends Object
Modifier and Type | Method and Description |
---|---|
static Iterable<AnnotatedElement> |
list(Class<? extends Annotation> type,
ClassLoader cl)
Lists up all the elements annotated by the given annotation.
|
static <T extends AnnotatedElement> |
list(Class<? extends Annotation> type,
ClassLoader cl,
Class<T> subType)
Lists up all the elements annotated by the given annotation and of the given
AnnotatedElement subtype. |
public static <T extends AnnotatedElement> Iterable<T> list(Class<? extends Annotation> type, ClassLoader cl, Class<T> subType) throws IOException
AnnotatedElement
subtype.IOException
public static Iterable<AnnotatedElement> list(Class<? extends Annotation> type, ClassLoader cl) throws IOException
IOException
Copyright © 2016. All rights reserved.