public class AnnotationFinder
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | AnnotationFinder.Filter | 
| static class  | AnnotationFinder.FoundException | 
| static class  | AnnotationFinder.NotFoundException | 
| class  | AnnotationFinder.Visitor | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | classes | 
| Constructor and Description | 
|---|
| AnnotationFinder(java.lang.ClassLoader classLoader)Creates a ClassFinder that will search the urls in the specified classloader
 excluding the urls in the classloader's parent. | 
| AnnotationFinder(java.lang.ClassLoader classLoader,
                boolean excludeParent)Creates a ClassFinder that will search the urls in the specified classloader. | 
| AnnotationFinder(java.lang.ClassLoader classLoader,
                java.lang.ClassLoader exclude)Creates a ClassFinder that will search the urls in the specified classloader excluding
 the urls in the 'exclude' classloader. | 
| AnnotationFinder(java.lang.ClassLoader classLoader,
                java.util.Collection<java.net.URL> urls) | 
| AnnotationFinder(java.lang.ClassLoader classLoader,
                java.net.URL url) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | find(AnnotationFinder.Filter filter) | 
| java.util.List<java.lang.String> | getClassesNotLoaded()Returns a list of classes that could not be loaded in last invoked findAnnotated* method. | 
public AnnotationFinder(java.lang.ClassLoader classLoader)
                 throws java.lang.Exception
classLoader - source of classes to scanjava.lang.Exception - if something goes wrongpublic AnnotationFinder(java.lang.ClassLoader classLoader,
                        boolean excludeParent)
                 throws java.lang.Exception
classLoader - source of classes to scanexcludeParent - Allegedly excludes classes from parent classloader, whatever that might meanjava.lang.Exception - if something goes wrong.public AnnotationFinder(java.lang.ClassLoader classLoader,
                        java.lang.ClassLoader exclude)
                 throws java.lang.Exception
classLoader - source of classes to scanexclude - source of classes to exclude from scanningjava.lang.Exception - if something goes wrongpublic AnnotationFinder(java.lang.ClassLoader classLoader,
                        java.net.URL url)
public AnnotationFinder(java.lang.ClassLoader classLoader,
                        java.util.Collection<java.net.URL> urls)
public java.util.List<java.lang.String> getClassesNotLoaded()
public boolean find(AnnotationFinder.Filter filter)