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