Class Index
- java.lang.Object
-
- org.jvnet.hudson.annotation_indexer.Index
-
public class Index extends java.lang.Object- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Static Methods Concrete Methods 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>
java.lang.Iterable<T>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 givenAnnotatedElementsubtype.
-
-
-
Method Detail
-
list
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.IOExceptionLists up all the elements annotated by the given annotation and of the givenAnnotatedElementsubtype.- Throws:
java.io.IOException
-
list
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.IOExceptionLists up all the elements annotated by the given annotation.- Throws:
java.io.IOException
-
-