public class DefaultClassFinder extends Object implements ClassFinder
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultClassFinder.InfoBuildingMethodVisitor | 
| class  | DefaultClassFinder.InfoBuildingVisitor | 
ClassFinder.Annotatable, ClassFinder.AnnotationInfo, ClassFinder.ClassInfo, ClassFinder.FieldInfo, ClassFinder.Info, ClassFinder.MethodInfo, ClassFinder.PackageInfo| Constructor and Description | 
|---|
| DefaultClassFinder(ClassLoaderInterface classLoaderInterface,
                  Collection<URL> urls,
                  boolean extractBaseInterfaces,
                  Set<String> protocols,
                  Test<String> classNameFilter) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Class<?>> | findAnnotatedClasses(Class<? extends Annotation> annotation) | 
| List<Constructor<?>> | findAnnotatedConstructors(Class<? extends Annotation> annotation) | 
| List<Field> | findAnnotatedFields(Class<? extends Annotation> annotation) | 
| List<Method> | findAnnotatedMethods(Class<? extends Annotation> annotation) | 
| List<Package> | findAnnotatedPackages(Class<? extends Annotation> annotation) | 
| List<Class<?>> | findClasses() | 
| List<Class<?>> | findClasses(Test<ClassFinder.ClassInfo> test) | 
| List<Class<?>> | findClassesInPackage(String packageName,
                    boolean recursive) | 
| List<String> | getClassesNotLoaded() | 
| ClassLoaderInterface | getClassLoaderInterface() | 
| boolean | isAnnotationPresent(Class<? extends Annotation> annotation) | 
public DefaultClassFinder(ClassLoaderInterface classLoaderInterface, Collection<URL> urls, boolean extractBaseInterfaces, Set<String> protocols, Test<String> classNameFilter)
public ClassLoaderInterface getClassLoaderInterface()
getClassLoaderInterface in interface ClassFinderpublic boolean isAnnotationPresent(Class<? extends Annotation> annotation)
isAnnotationPresent in interface ClassFinderpublic List<String> getClassesNotLoaded()
getClassesNotLoaded in interface ClassFinderpublic List<Package> findAnnotatedPackages(Class<? extends Annotation> annotation)
findAnnotatedPackages in interface ClassFinderpublic List<Class<?>> findAnnotatedClasses(Class<? extends Annotation> annotation)
findAnnotatedClasses in interface ClassFinderpublic List<Method> findAnnotatedMethods(Class<? extends Annotation> annotation)
findAnnotatedMethods in interface ClassFinderpublic List<Constructor<?>> findAnnotatedConstructors(Class<? extends Annotation> annotation)
findAnnotatedConstructors in interface ClassFinderpublic List<Field> findAnnotatedFields(Class<? extends Annotation> annotation)
findAnnotatedFields in interface ClassFinderpublic List<Class<?>> findClassesInPackage(String packageName, boolean recursive)
findClassesInPackage in interface ClassFinderpublic List<Class<?>> findClasses(Test<ClassFinder.ClassInfo> test)
findClasses in interface ClassFinderpublic List<Class<?>> findClasses()
findClasses in interface ClassFinderCopyright © 2000–2025 Apache Software Foundation. All rights reserved.