public class ClassFinder extends AbstractFinder
AbstractFinder.Annotatable, AbstractFinder.AnnotationInfo, AbstractFinder.ClassInfo, AbstractFinder.FieldInfo, AbstractFinder.GenericAwareInfoBuildingVisitor, AbstractFinder.Info, AbstractFinder.InfoBuildingVisitor, AbstractFinder.MethodInfo, AbstractFinder.PackageInfoclassInfos, originalInfos| Constructor and Description |
|---|
ClassFinder(java.lang.Class<?>... classes) |
ClassFinder(java.lang.ClassLoader classLoader)
Creates a ClassFinder that will search the urls in the specified classloader
excluding the urls in the classloader's parent.
|
ClassFinder(java.lang.ClassLoader classLoader,
boolean excludeParent)
Creates a ClassFinder that will search the urls in the specified classloader.
|
ClassFinder(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.
|
ClassFinder(java.lang.ClassLoader classLoader,
java.util.Collection<java.net.URL> urls) |
ClassFinder(java.lang.ClassLoader classLoader,
java.net.URL url) |
ClassFinder(java.util.List<java.lang.Class<?>> classes) |
| Modifier and Type | Method and Description |
|---|---|
protected java.net.URL |
getResource(java.lang.String className) |
protected java.lang.Class<?> |
loadClass(java.lang.String fixedName) |
findAnnotatedClasses, findAnnotatedConstructors, findAnnotatedFields, findAnnotatedMethods, findAnnotatedPackages, findClassesInPackage, findImplementations, findInheritedAnnotatedClasses, findMetaAnnotatedClasses, findMetaAnnotatedFields, findMetaAnnotatedMethods, findSubclasses, getAnnotatedClassNames, getAnnotationInfos, getClassesNotLoaded, isAnnotationPresent, link, readClassDef, readClassDef, readClassDef, readClassDefpublic ClassFinder(java.lang.ClassLoader classLoader)
throws java.lang.Exception
classLoader - source of classes to scanjava.lang.Exception - if something goes wrongpublic ClassFinder(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 ClassFinder(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 ClassFinder(java.lang.ClassLoader classLoader,
java.net.URL url)
public ClassFinder(java.lang.ClassLoader classLoader,
java.util.Collection<java.net.URL> urls)
public ClassFinder(java.lang.Class<?>... classes)
public ClassFinder(java.util.List<java.lang.Class<?>> classes)
protected java.net.URL getResource(java.lang.String className)
getResource in class AbstractFinderprotected java.lang.Class<?> loadClass(java.lang.String fixedName)
throws java.lang.ClassNotFoundException
loadClass in class AbstractFinderjava.lang.ClassNotFoundException