org.jvnet.hudson.annotation_indexer
Class Index

java.lang.Object
  extended by org.jvnet.hudson.annotation_indexer.Index

public class Index
extends java.lang.Object

Author:
Kohsuke Kawaguchi

Constructor Summary
Index()
           
 
Method Summary
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 given AnnotatedElement subtype.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Index

public Index()
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.IOException
Lists up all the elements annotated by the given annotation and of the given AnnotatedElement subtype.

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.IOException
Lists up all the elements annotated by the given annotation.

Throws:
java.io.IOException


Copyright © 2012. All Rights Reserved.