T - the type of the classes to findpublic class IdeClassFinder<T> extends ClassFinder<T>
basePackage| Constructor and Description |
|---|
IdeClassFinder(String packageName)
Constructs an IdeClassFinder object with the given package name parameter.
|
| Modifier and Type | Method and Description |
|---|---|
List<BetterReflectionClass<T>> |
findClasses()
Finds classes in a package based on certain criteria.
|
List<BetterReflectionClass<T>> |
scanDirectory(List<File> directories,
String packageName)
Scans the given directories for class files and returns a list of BetterReflectionClass objects.
|
classLoader, getClassLoader, getJarFile, getType, isRecursive, iterator, jarFile, ofType, ofType, recursiveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic IdeClassFinder(String packageName)
packageName - the package name to search for classes inNullPointerException - if the packageName is nullpublic List<BetterReflectionClass<T>> findClasses() throws IOException, URISyntaxException
findClasses in class ClassFinder<T>IOException - if an I/O error occurs while finding the classes.URISyntaxException - if a URI syntax error occurs while finding the classes.public List<BetterReflectionClass<T>> scanDirectory(List<File> directories, String packageName)
directories - List of directories to scanpackageName - The base package nameCopyright © 2024. All rights reserved.