A B C D E F G H I J L M N O P R S T U V W Z
A
- acquire() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Recycler
-
Acquire or allocate an instance.
- addClassLoader(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Add a ClassLoader to the list of ClassLoaders to scan.
- addClassLoader(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Add a ClassLoader to the list of ClassLoaders to scan.
- addClasspathElement(String, ClassLoader[], ScanSpec, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathOrder
-
Add a classpath element relative to a base file.
- addClasspathElement(String, ClassLoader, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathOrder
-
Add a classpath element relative to a base file.
- addClasspathElementObject(Object, ClassLoader, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathOrder
-
Add classpath elements from an object obtained from reflection.
- addClasspathElements(String, ClassLoader[], LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathOrder
-
Add classpath elements, separated by the system path separator character.
- addClasspathElements(String, ClassLoader, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathOrder
-
Add classpath elements, separated by the system path separator character.
- addedClassLoaders - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If non-null, specified manually-added classloaders that should be searched after the context classloader(s).
- addElapsedTime() - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Call this once the work corresponding with a given log entry has completed if you want to show the time taken after the log entry.
- addLibJarEntry(String) - Method in class io.github.lukehutch.fastclasspathscanner.utils.JarfileMetadataReader
- addPackageRootPath(String) - Method in class io.github.lukehutch.fastclasspathscanner.utils.JarfileMetadataReader
- addWorkUnits(Collection<T>) - Method in class io.github.lukehutch.fastclasspathscanner.utils.WorkQueue
-
Add multiple units of work.
- advance(int) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- alwaysScanClasspathElementRoot() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Allows you to scan default packages (with package name "") without scanning sub-packages unless they are whitelisted.
- alwaysScanClasspathElementRoot(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Allows you to scan default packages (with package name "") without scanning sub-packages unless they are whitelisted.
- annotatesClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class annotates the named class.
- annotatesFieldOfClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this annotation annotates a field of the named class.
- annotatesMethodOfClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this annotation annotates or meta-annotates a method of the named class.
- AnnotationEnumValue(String, String) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationEnumValue
- AnnotationInfo - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
Holds metadata about annotations.
- AnnotationInfo(String, List<AnnotationInfo.AnnotationParamValue>) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
- AnnotationInfo.AnnotationClassRef - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
Stores a class descriptor in an annotation as a class type string, e.g.
- AnnotationInfo.AnnotationEnumValue - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
Class for wrapping an enum constant value (split into class name and constant name) referenced inside an annotation.
- AnnotationInfo.AnnotationParamValue - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
A wrapper used to pair annotation parameter names with annotation parameter values.
- AnnotationParamValue(String, Object) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationParamValue
- annotationVisibility - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Annotation retention visibility: RetentionPolicy.CLASS matches all annotations (both RuntimeVisible and RuntimeInvisible); RetentionPolicy.RUNTIME matches only RuntimeVisible annotations.
- AntClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
Extract classpath entries from the Ant ClassLoader.
- AntClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.AntClassLoaderHandler
- ANY - io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument.WILDCARD
-
The '?' wildcard
- appendToToken(char) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- appendToToken(String) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- ArrayTypeSignature - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
An array type.
- ArrayTypeSignature(TypeSignature, int) - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.ArrayTypeSignature
- AutoCloseableConcurrentQueue<T extends AutoCloseable> - Class in io.github.lukehutch.fastclasspathscanner.utils
-
A list of AutoCloseable items that can be used in a try-with-resources block.
- AutoCloseableConcurrentQueue() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.AutoCloseableConcurrentQueue
- AutoCloseableExecutorService - Class in io.github.lukehutch.fastclasspathscanner.utils
-
A ThreadPoolExecutor that can be used in a try-with-resources block.
- AutoCloseableExecutorService(int) - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.AutoCloseableExecutorService
-
A ThreadPoolExecutor that can be used in a try-with-resources block.
- AutoCloseableFutureListWithCompletionBarrier - Class in io.github.lukehutch.fastclasspathscanner.utils
-
An AutoCloseable list of
Future<Void>
items that can be used in a try-with-resources block. - AutoCloseableFutureListWithCompletionBarrier(int, LogNode) - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.AutoCloseableFutureListWithCompletionBarrier
B
- BaseTypeSignature - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A type signature for a base type.
- BaseTypeSignature(String) - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.BaseTypeSignature
- blacklistedJarPatterns - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Blacklisted jarfile names containing a glob('*') character, converted to a regexp.
- blacklistedJars - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Blacklisted jarfile names.
- blacklistedLibOrExtJarPaths - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Complete paths of blacklisted in the JDK/JRE "lib/" or "ext/" directory.
- blacklistedModules - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Names of blacklisted modules.
- blacklistedPackagePrefixes - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Blacklisted package names with "." appended.
- blacklistedPathPrefixes - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Blacklisted package paths with "/" appended.
- blacklistSystemJarsOrModules - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
True if JRE system jarfiles (rt.jar etc.) should not be scanned.
- ByteBufferBackedInputStream(ByteBuffer) - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.FileUtils.ByteBufferBackedInputStream
C
- call() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.Scanner
-
Determine the unique ordered classpath elements, and run a scan looking for file or classfile matches if necessary.
- callMatchProcessors(ScanResult) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Run the MatchProcessors after a scan has completed.
- canRead(File) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.ClasspathUtils
-
Return true if a file exists and can be read.
- check() - Method in class io.github.lukehutch.fastclasspathscanner.utils.InterruptionChecker
-
Check if this thread or any other thread that shares this InterruptionChecker instance has been interrupted or has thrown an exception, and if so, throw InterruptedException.
- checkAndReturn() - Method in class io.github.lukehutch.fastclasspathscanner.utils.InterruptionChecker
-
Check if this thread or any other thread that shares this InterruptionChecker instance has been interrupted or has thrown an exception, and if so, return true, else return false.
- ClassAnnotationMatchProcessor - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a class with a specified annotation is found on the classpath.
- ClassFieldCache - Class in io.github.lukehutch.fastclasspathscanner.json
- ClassFieldCache(boolean, boolean) - Constructor for class io.github.lukehutch.fastclasspathscanner.json.ClassFieldCache
-
Create a class field cache.
- classForNameOrNull(String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.ReflectionUtils
-
Call Class.forName(className), but return null if any exception is thrown.
- ClassInfo - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
Holds metadata about a class encountered during a scan.
- ClassLoaderAndModuleFinder - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
A class to find the unique ordered classpath elements.
- ClassLoaderAndModuleFinder(ScanSpec, LogNode) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.ClassLoaderAndModuleFinder
-
A class to find the unique ordered classpath elements.
- ClassLoaderHandler - Interface in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
A ClassLoader handler.
- ClassLoaderHandler.DelegationOrder - Enum in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
The delegation order configuration for a given ClassLoader instance (this is usually PARENT_FIRST for most ClassLoaders, but this can be overridden by some ClassLoaders, e.g.
- classLoaderHandlerClass - Variable in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
The ClassLoader class..
- ClassLoaderHandlerRegistry - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
The registry for ClassLoaderHandler classes.
- ClassLoaderHandlerRegistry() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandlerRegistry
- ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
A list of fully-qualified ClassLoader class names paired with the ClassLoaderHandler that can handle them.
- ClassLoaderHandlerRegistryEntry(Class<? extends ClassLoaderHandler>) - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
- ClassMatchProcessor - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when any class, interface or annotation is found in a whitelisted package on the classpath.
- ClassMatchProcessorWrapper - Interface in io.github.lukehutch.fastclasspathscanner.scanner.matchers
-
An interface used for testing if a class matches specified criteria.
- classNamesToClassRefs(List<String>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Produce a list of Class references given a list of class names.
- classNamesToClassRefs(List<String>, boolean) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Produce a list of Class references given a list of class names.
- classNamesToClassRefs(List<String>, Class<T>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Produce a list of Class references, given a list of names of classes extending a common superclass or implementing a common interface.
- classNamesToClassRefs(List<String>, Class<T>, boolean) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Produce a list of Class references, given a list of names of classes extending a common superclass or implementing a common interface.
- classNameToClassRef(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Produce Class reference given a class name.
- classNameToClassRef(String, boolean) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Produce Class reference given a class name.
- classNameToClassRef(String, Class<T>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Produce Class reference given a class name.
- classNameToClassRef(String, Class<T>, boolean) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Produce Class reference given a class name.
- classpathContentsLastModifiedTime() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Find the maximum last-modified timestamp of any whitelisted file/directory/jarfile encountered during the scan.
- classpathContentsModifiedSinceScan() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Determine whether the classpath contents have been modified since the last scan.
- classpathElementFilters - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If non-null, a list of filter operations to apply to classpath elements.
- classpathEltFile - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- classPathEntriesToScan - Variable in class io.github.lukehutch.fastclasspathscanner.utils.JarfileMetadataReader
-
"Class-Path" entries encountered in the manifest file.
- ClasspathFinder - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
A class to find the unique ordered classpath elements.
- ClasspathOrder - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
A class to find the unique ordered classpath elements.
- ClasspathResource - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
The combination of a classpath element and a relative path within this classpath element.
- ClasspathResource(File, ModuleRef, String, String) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- ClasspathUtils - Class in io.github.lukehutch.fastclasspathscanner.utils
- ClasspathUtils() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.ClasspathUtils
- ClassRefOrTypeVariableSignature - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A class type or type variable.
- ClassRefOrTypeVariableSignature() - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefOrTypeVariableSignature
- ClassRefTypeSignature - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A class reference type signature (called "ClassTypeSignature" in the classfile documentation).
- ClassRefTypeSignature(String, List<TypeArgument>, List<String>, List<List<TypeArgument>>) - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
- ClassTypeSignature - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A class type signature (called "ClassSignature" in the classfile documentation).
- ClassTypeSignature(List<TypeParameter>, ClassRefTypeSignature, List<ClassRefTypeSignature>) - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.ClassTypeSignature
- clear() - Method in class io.github.lukehutch.fastclasspathscanner.utils.SingletonMap
-
Clear the map.
- close() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- close() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef.ModuleReaderProxy
- close() - Method in class io.github.lukehutch.fastclasspathscanner.utils.AutoCloseableConcurrentQueue
-
Empty the queue, calling close() on each item.
- close() - Method in class io.github.lukehutch.fastclasspathscanner.utils.AutoCloseableExecutorService
-
Shut down thread pool on close().
- close() - Method in class io.github.lukehutch.fastclasspathscanner.utils.AutoCloseableFutureListWithCompletionBarrier
-
Completion barrier.
- close() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Recycler
-
Call this only after all instances have been released.
- close() - Method in class io.github.lukehutch.fastclasspathscanner.utils.WorkQueue
-
Ensure that there are no work units still uncompleted.
- close(LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.NestedJarHandler
-
Delete temporary files and release other resources.
- compareTo(AnnotationInfo) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
- compareTo(AnnotationInfo.AnnotationEnumValue) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationEnumValue
- compareTo(AnnotationInfo.AnnotationParamValue) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationParamValue
- compareTo(ClassInfo) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Compare based on class name.
- compareTo(FieldInfo) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Sort in order of class name then field name
- compareTo(MethodInfo) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Sort in order of class name, method name, then type descriptor.
- compareTo(ModuleRef) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
- countBytesBeforePKMarker(File) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Count the number of bytes before the characters "PK" in a zipfile.
- createClassLoaderForMatchingClasses - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If this method is called, a new
URLClassLoader
is created for all classes found on the classpath that match whitelist criteria. - createClassLoaderForMatchingClasses() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If this method is called, a new
URLClassLoader
is created for all classes found on the classpath that match whitelist criteria. - createSingleton(K, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.SingletonMap
-
Initialize a value object for this key and return true, if this is the first time this key has been seen, otherwise return false.
- currToken() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
-
Get the current token, and reset the token to empty.
D
- DEFAULT_CLASS_LOADER_HANDLERS - Static variable in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandlerRegistry
-
Default ClassLoaderHandlers.
- deserializeObject(Class<T>, String) - Static method in class io.github.lukehutch.fastclasspathscanner.json.JSONDeserializer
-
Deserialize JSON to a new object graph, with the root object of the specified expected type.
- deserializeObject(Class<T>, String, ClassFieldCache) - Static method in class io.github.lukehutch.fastclasspathscanner.json.JSONDeserializer
-
Deserialize JSON to a new object graph, with the root object of the specified expected type, using or reusing the given type cache.
- deserializeToField(Object, String, String) - Static method in class io.github.lukehutch.fastclasspathscanner.json.JSONDeserializer
-
Deserialize JSON to a new object graph, with the root object of the specified expected type, and store the root object in the named field of the given containing object.
- deserializeToField(Object, String, String, ClassFieldCache) - Static method in class io.github.lukehutch.fastclasspathscanner.json.JSONDeserializer
-
Deserialize JSON to a new object graph, with the root object of the specified expected type, and store the root object in the named field of the given containing object.
- directlyAnnotatesClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class directly annotates the named class.
- directlyImplementsInterface(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this standard class directly implements the named interface, or by one of its superclasses.
- disableRecursiveScanning - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Whether to disable recursive scanning (enabled by default).
- disableRecursiveScanning() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Disable recursive scanning.
- disableRecursiveScanning(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If true, disable recursive scanning.
E
- enableExternalClasses - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, allow external classes (classes outside of whitelisted packages) to be returned in the ScanResult, if they are directly referred to by a whitelisted class, as a superclass, implemented interface or annotation.
- enableExternalClasses() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Causes FastClasspathScanner to return matching classes that are not in the whitelisted packages, but that are directly referred to by classes within whitelisted packages as a superclass, implemented interface or annotation.
- enableExternalClasses(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Causes FastClasspathScanner to return matching classes that are not in the whitelisted packages, but that are directly referred to by classes within whitelisted packages as a superclass, implemented interface or annotation.
- enableFieldAnnotationIndexing - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, index field annotations.
- enableFieldAnnotationIndexing() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Enables field annotation indexing, which allows you to call ScanResult#getNamesOfClassesWithFieldAnnotation(annotation).
- enableFieldAnnotationIndexing(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If enableFieldAnnotationIndexing is true, enables field annotation indexing, which allows you to call ScanResult#getNamesOfClassesWithFieldAnnotation(annotation).
- enableFieldInfo - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, enables the saving of field info during the scan.
- enableFieldInfo() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Enables the saving of field info during the scan.
- enableFieldInfo(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If enableFieldInfo is true, enables the saving of field info during the scan.
- enableMethodAnnotationIndexing - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, index method annotations.
- enableMethodAnnotationIndexing() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Enables method annotation indexing, which allows you to call ScanResult#getNamesOfClassesWithMethodAnnotation(annotation).
- enableMethodAnnotationIndexing(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If enableMethodAnnotationIndexing is true, enables method annotation indexing, which allows you to call ScanResult#getNamesOfClassesWithMethodAnnotation(annotation).
- enableMethodInfo - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, enables the saving of method info during the scan.
- enableMethodInfo() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Enables the saving of method info during the scan.
- enableMethodInfo(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If enableMethodInfo is true, enables the saving of method info during the scan.
- encodePath(String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.URLPathEncoder
-
Encode a URL path using percent-encoding.
- entrySet() - Method in class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToList
-
Get the entry set from the underlying map.
- entrySet() - Method in class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToSet
-
Get the entry set from the underlying map.
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationClassRef
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationEnumValue
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationParamValue
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Use class name for equals().
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Use class name and field name for equals().
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Test class name, method name and type descriptor for equals().
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ArrayTypeSignature
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.BaseTypeSignature
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassTypeSignature
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeParameter
- equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeVariableSignature
- equalsIgnoringTypeParams(TypeSignature) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ArrayTypeSignature
- equalsIgnoringTypeParams(TypeSignature) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.BaseTypeSignature
- equalsIgnoringTypeParams(TypeSignature) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
- equalsIgnoringTypeParams(TypeSignature) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeSignature
-
Compare base types, ignoring generic type parameters.
- equalsIgnoringTypeParams(TypeSignature) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeVariableSignature
- EquinoxClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
Extract classpath entries from the Eclipse Equinox ClassLoader.
- EquinoxClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.EquinoxClassLoaderHandler
- EquinoxContextFinderClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
Extract classpath entries from the Eclipse Equinox ContextFinder ClassLoader.
- EquinoxContextFinderClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.EquinoxContextFinderClassLoaderHandler
- escapeJSONString(String) - Static method in class io.github.lukehutch.fastclasspathscanner.json.JSONUtils
-
Escape a string to be surrounded in double quotes in JSON.
- executionException(Exception) - Method in class io.github.lukehutch.fastclasspathscanner.utils.InterruptionChecker
-
Stop all threads that share this InterruptionChecker due to an exception being thrown in one of them.
- expect(char) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- EXTENDS - io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument.WILDCARD
-
extends
- extraClassLoaderHandlers - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Manually-registered ClassLoaderHandlers.
F
- FailureHandler - Interface in io.github.lukehutch.fastclasspathscanner.scanner
-
A callback that can be called on scanning failure during an asynchronous scan.
- FALLBACK_CLASS_LOADER_HANDLER - Static variable in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandlerRegistry
-
The fallback ClassLoaderHandler.
- FallbackClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
Fallback ClassLoaderHandler.
- FallbackClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.FallbackClassLoaderHandler
- FastClasspathScanner - Class in io.github.lukehutch.fastclasspathscanner
-
Uber-fast, ultra-lightweight Java classpath scanner.
- FastClasspathScanner(String...) - Constructor for class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Construct a FastClasspathScanner instance.
- FastClasspathScanner.ClasspathElementFilter - Interface in io.github.lukehutch.fastclasspathscanner
-
Add a classpath element filter.
- FastPathResolver - Class in io.github.lukehutch.fastclasspathscanner.utils
-
Resolve relative paths and URLs/URIs against a base path in a way that is faster than Java's URL/URI parser (and much faster than Path), while aiming for cross-platform compatibility, and hopefully in particular being robust to the many forms of Windows path weirdness.
- FastPathResolver() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.FastPathResolver
- FelixClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
Custom Class Loader Handler for OSGi Felix ClassLoader.
- FelixClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.FelixClassLoaderHandler
- FieldAnnotationMatchProcessor - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a class that has a field with a specified annotation is found on the classpath.
- FieldInfo - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
Holds metadata about fields of a class encountered during a scan.
- FieldInfo(String, String, int, String, String, Object, List<AnnotationInfo>) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
- FileMatchContentsProcessor - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a file with a matching path is found on the classpath.
- FileMatchContentsProcessorWithContext - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a file with a matching path is found on the classpath.
- FileMatchProcessor - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a file with a matching path is found on the classpath.
- FileMatchProcessorAny - Interface in io.github.lukehutch.fastclasspathscanner.scanner.matchers
-
The superinterface of all FileMatchProcessors
- FileMatchProcessorWithContext - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a file with a matching path is found on the classpath.
- FileMatchProcessorWrapper - Class in io.github.lukehutch.fastclasspathscanner.scanner.matchers
-
An interface called when the corresponding FilePathTester returns true.
- FileMatchProcessorWrapper(FileMatchProcessorWrapper.FilePathTester, FileMatchProcessorAny) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.matchers.FileMatchProcessorWrapper
- FileMatchProcessorWrapper.FilePathTester - Interface in io.github.lukehutch.fastclasspathscanner.scanner.matchers
-
An interface used to test whether a file's relative path matches a given specification.
- FilenameMatchProcessor - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a file with a matching path is found on the classpath.
- filePathMatches(String, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.matchers.FileMatchProcessorWrapper
- filePathMatches(String, LogNode) - Method in interface io.github.lukehutch.fastclasspathscanner.scanner.matchers.FileMatchProcessorWrapper.FilePathTester
- FileUtils - Class in io.github.lukehutch.fastclasspathscanner.utils
- FileUtils() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.FileUtils
- FileUtils.ByteBufferBackedInputStream - Class in io.github.lukehutch.fastclasspathscanner.utils
-
InputStream for backed by a ByteBuffer.
- filterClasspathElements(FastClasspathScanner.ClasspathElementFilter) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Add a classpath element filter.
- filterClasspathElements(FastClasspathScanner.ClasspathElementFilter) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Add a classpath element filter.
- finalize() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
- findBestClassLoader() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Deprecated.
- findClassLoaderHandlerForClassLoader(ScanSpec, ClassLoader, LogNode) - Static method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathFinder
-
Instantiate a ClassLoaderHandler for a given class, or return an instance of FallbackClassLoaderHandler if no ClassLoaderHandler can handle the class.
- findModuleRefs(Class<?>[]) - Static method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Get all visible ModuleReferences in all layers, given an array of stack frame
Class<?>
references. - flush() - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Flush out the log to stderr, and clear the log contents.
- freeTempFiles(LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Free any temporary files created by extracting jars from within jars.
- fromJSON(String) - Static method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Deserialize a ScanResult from previously-saved JSON.
G
- generateClassGraphDotFile() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- generateClassGraphDotFile(float, float) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- generateClassGraphDotFile(float, float, boolean, boolean) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- get() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathOrder
-
Get the order of classpath elements.
- get(K) - Method in class io.github.lukehutch.fastclasspathscanner.utils.SingletonMap
-
Get the singleton for a given key.
- get(S) - Method in class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToList
-
Get a value from the multimap.
- get(S) - Method in class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToSet
-
Get a value from the multimap.
- getAllReferencedClassNames(Set<String>) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ArrayTypeSignature
- getAllReferencedClassNames(Set<String>) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.BaseTypeSignature
- getAllReferencedClassNames(Set<String>) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
- getAllReferencedClassNames(Set<String>) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassTypeSignature
- getAllReferencedClassNames(Set<String>) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.HierarchicalTypeSignature
-
Get the names of all classes referenced in the type signature
- getAllReferencedClassNames(Set<String>) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
- getAllReferencedClassNames(Set<String>) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument
- getAllReferencedClassNames(Set<String>) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeParameter
- getAllReferencedClassNames(Set<String>) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeVariableSignature
- getAnnotationDefaultParamValues() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get a list of the default parameter values, if this is an annotation, and it has default parameter values.
- getAnnotationInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get a list of annotations on this method, along with any annotation parameter values, wrapped in
AnnotationInfo
objects, or the empty list if none. - getAnnotationInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Get a list of annotations on this field, along with any annotation parameter values, wrapped in
AnnotationInfo
objects. - getAnnotationInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Get a list of annotations on this method, along with any annotation parameter values.
- getAnnotationInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodParameterInfo
-
Method parameter annotation info (or null if no annotations).
- getAnnotationName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
-
Get the name of the annotation.
- getAnnotationNames() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns the names of unique annotations on the field.
- getAnnotationNames() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the names of annotations on the method.
- getAnnotationParamValues() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
-
Get the parameter value of the annotation.
- getAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the annotations and meta-annotations on this class.
- getAnnotationsWithDirectMetaAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the annotations that have this direct meta-annotation.
- getAnnotationsWithMetaAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the annotations that have this meta-annotation.
- getAnnotationType() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
-
Get a class reference for the annotation.
- getAnnotationTypes() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns
Class<?>
references for the unique annotations on this field. - getAnnotationTypes() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns a list of
Class<?>
references for the annotations on this method. - getBaseType() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.BaseTypeSignature
-
Get the base type, such as "int", "float", or "void".
- getc() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- getClassBound() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeParameter
-
Get the type parameter class bound.
- getClassesDirectlyImplementing() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the classes that directly implement this interface, and their subclasses.
- getClassesImplementing() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the classes that implement this interface, and their subclasses.
- getClassesWithAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the standard classes and non-annotation interfaces that are annotated by this annotation.
- getClassesWithDirectAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the standard classes or non-annotation interfaces that are directly annotated with this annotation.
- getClassesWithDirectFieldAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the classes that have a field with this direct annotation.
- getClassesWithDirectMethodAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the classes that have a method with this direct annotation.
- getClassesWithFieldAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the classes that have a field with this annotation or meta-annotation.
- getClassesWithMethodAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the classes that have a method with this annotation or meta-annotation.
- getClassLoader() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Returns the classloader for the module, i.e.
- getClassLoaderAndModuleFinder() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathFinder
-
Get the classloader and module finder.
- getClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Deprecated.
- getClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassLoaderAndModuleFinder
-
Get context classloader, and any other classloader that is not an ancestor of context classloader.
- getClassLoadersForClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Find the classloader(s) for the named class.
- getClassModifiers() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the class modifier flags, e.g.
- getClassName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationEnumValue
-
Get the class name of the enum.
- getClassName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the name of this class.
- getClassName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Get the name of the class this field is defined within.
- getClassName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Get the name of the class this method is part of.
- getClassName() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
-
Get the name of the base class.
- getClassNameAndSuffixesWithoutTypeArguments() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
-
Get the name of the class, along with any suffixes (suffixes are for inner class nesting, and are separated by '$').
- getClassNames(Collection<ClassInfo>) - Static method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the sorted list of the names of classes given a collection of
ClassInfo
objects. - getClassNamesReferencedInAnyTypeDescriptor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of any classes (other than this class itself) referenced in this class' type descriptor, or the type descriptors of fields or methods (if field or method info is recorded).
- getClassNamesReferencedInClassTypeDescriptor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of any classes (other than this class itself) referenced in the type descriptor of this class.
- getClassNamesReferencedInFieldTypeDescriptors() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of any classes referenced in the type descriptors of this class' fields (if field info is recorded).
- getClassNamesReferencedInMethodTypeDescriptors() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of any classes referenced in the type descriptors of this class' methods (if method info is recorded).
- getClassNameToClassInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get a map from class name to ClassInfo object for all whitelisted classes found during the scan.
- getClassNameToStaticFinalFieldsToMatch() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Get the map from class name to static final fields to match.
- getClasspathElementFile() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
The classpath element file (classpath root dir or jar) that this class was found within, or null if this class was found in a module.
- getClasspathElementModuleRef() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
The classpath element module that this class was found within, or null if this class was found in a directory or jar.
- getClasspathElementURL() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
The classpath element URL (for a classpath root dir, jar or module) that this class was found within.
- getClasspathElementURLs() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Deprecated.
- getClasspathResourceURL(File, String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.ClasspathUtils
-
Can be used to get the URL of a classpath resource whose classpath element and relative path has been passed into a MatchProcessor.
- getClassRef() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationClassRef
-
Get a class reference for a class-reference-typed value used in an annotation parameter.
- getClassRef() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get a class reference for this class.
- getClassRef(Class<T>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get a class reference for this class, casting it to the requested interface or superclass type.
- getConstFinalValue() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns the constant final initializer value of the field.
- getConstName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationEnumValue
-
Get the name of the enum constant.
- getConstructorInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns information on visible constructors of the class.
- getCorrespondingTypeParameter() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeVariableSignature
-
Look up a type variable (e.g.
- getCurrDirPathStr() - Static method in class io.github.lukehutch.fastclasspathscanner.utils.FileUtils
-
Get current dir (without resolving symlinks), and normalize path by calling FastPathResolver.resolve().
- getCustomClassLoader(NestedJarHandler, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.JarfileMetadataReader
-
Create a custom URLClassLoader for the package root paths and lib jar entries in this jar.
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.AntClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in interface io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandler
-
The delegation order configuration for a given ClassLoader instance (this is usually PARENT_FIRST for most ClassLoaders, since you don't generally want to be able to override system classes with user classes, but this can be overridden by some ClassLoaders, e.g.
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.EquinoxClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.EquinoxContextFinderClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.FallbackClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.FelixClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.Java9ClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.JBossClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.OSGiDefaultClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.URLClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WeblogicClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WebsphereLibertyClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WebsphereTraditionalClassLoaderHandler
- getDirectAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the direct annotations and meta-annotations on this class.
- getDirectlyImplementedInterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the interfaces directly implemented by this standard class.
- getDirectSubclasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the direct subclasses of this class.
- getDirectSubinterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the direct subinterfaces of this interface.
- getDirectSuperclass() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Convenience method for getting the single direct superclass of this class.
- getDirectSuperclasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the direct superclasses of this class.
- getDirectSuperinterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the direct superinterfaces of this interface.
- getElementTypeSignature() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ArrayTypeSignature
-
Get the type signature of the array elements.
- getEnumValueRef() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationEnumValue
-
Get the enum constant.
- getExceptions() - Method in exception io.github.lukehutch.fastclasspathscanner.MatchProcessorException
-
Get all the exceptions thrown by a MatchProcessor during the scan.
- getFieldAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the field annotations on this class.
- getFieldInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns information on all visible fields of the class.
- getFieldInfo(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns information on a given visible field of the class.
- getFieldName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns the name of the field.
- getFieldVal(Object, String, boolean) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.ReflectionUtils
-
Get the value of the named field in the class of the given object or any of its superclasses.
- getFullyQualifiedContainingMethodName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get fully-qualified containing method name (i.e.
- getIdentifier() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeParameter
-
Get the type parameter identifier.
- getIdentifierToken(Parser) - Static method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeUtils
-
Parse a Java identifier part (between separators and other non-alphanumeric characters).
- getIdentifierToken(Parser, char, char) - Static method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeUtils
-
Parse a Java identifier with the given separator ('.' or '/').
- getImplementedInterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the interfaces implemented by this standard class, or by one of its superclasses.
- getInnerClasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns the inner classes contained within this class.
- getInnerClassNames() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns the names of inner classes contained within this class.
- getInnermostNestedJar(String, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.NestedJarHandler
-
Get a File for a given (possibly nested) jarfile path, unzipping the first N-1 segments of an N-segment '!'-delimited path to temporary files, then returning the File reference for the N-th temporary file.
- getInputStreamLength() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- getInterfaceBounds() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeParameter
-
Get the type parameter interface bound(s).
- getJarfileMetadataReader(File, String, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.NestedJarHandler
-
Get a
JarfileMetadataReader
singleton for a given jarfile (so that the manifest and ZipEntries will only be read once). - getJreExtJars() - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Get the paths for any JRE/JDK "lib/" jars.
- getJreJarPaths() - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Get the paths of jars in all JRE/JDK system directories, with any rt.jar listed first.
- getJreLibJars() - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Get the paths for any JRE/JDK "ext/" jars.
- getMatchProcessorExceptions() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Return the exceptions and errors thrown during classloading and/or while calling MatchProcessors on loaded classes.
- getMetaAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the annotations and meta-annotations on this annotation class.
- getMethodAndConstructorInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns information on visible methods and constructors of the class.
- getMethodAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the method annotations or meta-annotations on this class.
- getMethodDirectAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the direct method direct annotations on this class.
- getMethodInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns information on visible methods of the class that are not constructors.
- getMethodInfo(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns information on the method(s) of the class with the given method name.
- getMethodName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the name of the method.
- getModifiers() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns the modifier bits for the field.
- getModifiers() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the modifier bits for the method.
- getModifiers() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodParameterInfo
-
Method parameter modifiers.
- getModifiersStr() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the field modifiers as a String, e.g.
- getModifiersStr() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Get the method modifiers as a String, e.g.
- getModifierStr() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Get the field modifiers as a string, e.g.
- getModifierStrs() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Deprecated.
- getModuleDescriptor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Returns the module descriptor, i.e.
- getModuleLayer() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Returns the module layer (type ModuleLayer).
- getModuleLocation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Returns the module location, i.e.
- getModuleLocationFile() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Returns the module location as a File, i.e.
- getModuleLocationStr() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Returns the module location as a string, i.e.
- getModuleName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Returns the module name, i.e.
- getModulePackages() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Returns the list of packages in the module.
- getModuleReaderProxyRecycler(ModuleRef, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.NestedJarHandler
-
Get a ModuleReaderProxy recycler given a ModuleRef.
- getModuleReference() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Returns the module reference (type ModuleReference).
- getName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodParameterInfo
-
Method parameter name.
- getNameOfDirectSuperclass() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Convenience method for getting the name of the single direct superclass of this class.
- getNamesOfAllAnnotationClasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all annotation classes found during the scan.
- getNamesOfAllClasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all classes, interfaces and annotations found during the scan.
- getNamesOfAllInterfaceClasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all interface classes found during the scan.
- getNamesOfAllStandardClasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all standard (non-interface/non-annotation) classes found during the scan.
- getNamesOfAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of annotations and meta-annotations on this class.
- getNamesOfAnnotationsOnClass(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all annotations and meta-annotations on the given class.
- getNamesOfAnnotationsOnClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all annotations and meta-annotations on the named class.
- getNamesOfAnnotationsWithDirectMetaAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of annotations that have this direct meta-annotation.
- getNamesOfAnnotationsWithMetaAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of annotations that have this meta-annotation.
- getNamesOfAnnotationsWithMetaAnnotation(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Return the names of all annotations that have the named meta-annotation.
- getNamesOfAnnotationsWithMetaAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Return the names of all annotations that have the named meta-annotation.
- getNamesOfClassesDirectlyImplementing() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of classes that directly implement this interface, and the names of their subclasses.
- getNamesOfClassesImplementing() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of classes that implement this interface, and the names of their subclasses.
- getNamesOfClassesImplementing(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all classes that implement (or have superclasses that implement) the given interface (or one of its subinterfaces).
- getNamesOfClassesImplementing(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all classes that implement (or have superclasses that implement) the named interface (or one of its subinterfaces).
- getNamesOfClassesImplementingAllOf(Class<?>...) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all classes that implement (or have superclasses that implement) all of the given interfaces (or their subinterfaces).
- getNamesOfClassesImplementingAllOf(String...) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all classes that implement (or have superclasses that implement) all of the named interfaces (or their subinterfaces).
- getNamesOfClassesWithAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of standard classes and non-annotation interfaces that are annotated by this annotation.
- getNamesOfClassesWithAnnotation(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of non-annotation classes with the given class annotation or meta-annotation.
- getNamesOfClassesWithAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of non-annotation classes with the named class annotation or meta-annotation.
- getNamesOfClassesWithAnnotationsAllOf(Class<?>...) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes that have all of the given annotations.
- getNamesOfClassesWithAnnotationsAllOf(String...) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes that have all of the named annotations.
- getNamesOfClassesWithAnnotationsAnyOf(Class<?>...) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes that have any of the given annotations.
- getNamesOfClassesWithAnnotationsAnyOf(String...) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes that have any of the named annotations.
- getNamesOfClassesWithDirectAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of standard classes or non-annotation interfaces that are directly annotated with this annotation.
- getNamesOfClassesWithDirectFieldAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of classes that have a field with this direct annotation.
- getNamesOfClassesWithDirectMethodAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of classes that have a method with this direct annotation.
- getNamesOfClassesWithFieldAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of classes that have a field with this annotation or meta-annotation.
- getNamesOfClassesWithFieldAnnotation(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes that have a field with an annotation of the given type.
- getNamesOfClassesWithFieldAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes that have a field with an annotation of the named type.
- getNamesOfClassesWithMethodAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of classes that have a method with this annotation.
- getNamesOfClassesWithMethodAnnotation(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes that have a method with an annotation of the given type.
- getNamesOfClassesWithMethodAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes that have a method with an annotation of the named type.
- getNamesOfDirectAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of direct annotations and meta-annotations on this class.
- getNamesOfDirectlyImplementedInterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the interfaces directly implemented by this standard class, or by one of its superclasses.
- getNamesOfDirectSubclasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of direct subclasses of this class.
- getNamesOfDirectSubinterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of direct subinterfaces of this interface.
- getNamesOfDirectSuperclasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of direct superclasses of this class.
- getNamesOfDirectSuperinterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of direct superinterfaces of this interface.
- getNamesOfFieldAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of field annotations on this class.
- getNamesOfImplementedInterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the interfaces implemented by this standard class, or by one of its superclasses.
- getNamesOfMetaAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of annotations and meta-annotations on this annotation class.
- getNamesOfMethodAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of method annotations or meta-annotations on this class.
- getNamesOfMethodDirectAnnotations() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of method direct annotations on this class.
- getNamesOfSubclasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of subclasses of this class.
- getNamesOfSubclassesOf(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes on the classpath that extend the specified superclass.
- getNamesOfSubclassesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all subclasses of the named class.
- getNamesOfSubinterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of subinterfaces of this interface.
- getNamesOfSubinterfacesOf(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of interfaces on the classpath that extend a given superinterface.
- getNamesOfSubinterfacesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all subinterfaces of the named interface.
- getNamesOfSuperclasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of all direct and indirect superclasses of this class (i.e.
- getNamesOfSuperclassesOf(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes on the classpath that are superclasses of the specified subclass.
- getNamesOfSuperclassesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of classes on the classpath that are superclasses of the named subclass.
- getNamesOfSuperinterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the names of superinterfaces of this interface.
- getNamesOfSuperinterfacesOf(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all superinterfaces of the given subinterface.
- getNamesOfSuperinterfacesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Get the names of all superinterfaces of the named interface.
- getNonSystemModuleRefs() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassLoaderAndModuleFinder
-
Get non-system modules as ModuleRef wrappers, or null if no modules were found (e.g.
- getNumArrayDims() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ArrayTypeSignature
-
Get the number of dimensions of the array.
- getNumParameters() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Get the number of parameters of the method.
- getOrCreateSingleton(K, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.SingletonMap
-
Check if the given key is in the map, and if so, return it.
- getOuterClasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns the containing outer classes, for inner classes.
- getOuterClassName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns the names of the containing outer classes, for inner classes.
- getOutermostJar(File) - Method in class io.github.lukehutch.fastclasspathscanner.utils.NestedJarHandler
-
Given a File reference for an inner nested jarfile, find the outermost jarfile it was extracted from.
- getParameterAnnotationInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the annotations on each method parameter (along with any annotation parameters, wrapped in AnnotationInfo objects) if any parameters have annotations, else returns null.
- getParameterAnnotationNames() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the unique annotation names for annotations on each method parameter, if any parameters have annotations, else returns null.
- getParameterAnnotationTypes() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the unique annotation types for annotations on each method parameter, if any parameters have annotations, else returns null.
- getParameterInfo() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Get the available information on method parameters.
- getParameterModifiers() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the parameter modifiers, if available (only available in classfiles compiled in JDK8 or above using the -parameters commandline switch, or code compiled with Kotlin or some other language), otherwise returns null if the parameter modifiers are not known.
- getParameterModifierStrs() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the parameter modifiers as a string (e.g.
- getParameterNames() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the method parameter names, if available (only available in classfiles compiled in JDK8 or above using the -parameters commandline switch), otherwise returns null if the parameter names are not known.
- getParameterTypes() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the parameter types for the method.
- getParameterTypeSignatures() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the parameter type signatures for the method.
- getParameterTypeSignatures() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
-
Get the type signatures of the method parameters.
- getParamName() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationParamValue
-
Get the annotation parameter name.
- getParamValue() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationParamValue
-
Get the annotation parameter value.
- getPosition() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- getPositionInfo() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- getRawClasspathElements() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathFinder
-
Get the raw classpath elements obtained from ClassLoaders.
- getRawMap() - Method in class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToList
-
Get the underlying map.
- getRawMap() - Method in class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToSet
-
Get the underlying map.
- getResultType() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the return type for the method as a Class reference.
- getResultType() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
-
Get the result type for the method.
- getResultTypeDescriptor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the result type descriptor for the method (without any type parameters).
- getResultTypeSignature() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the result type signature for the method (with type parameters, if present).
- getState() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- getStaticFieldVal(Class<?>, String, boolean) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.ReflectionUtils
-
Get the value of the named static field in the given class or any of its superclasses.
- getSubclasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the subclasses of this class.
- getSubinterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the subinterfaces of this interface.
- getSubsequence(int, int) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- getSubstring(int, int) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- getSuffixes() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
-
Get any suffixes of the class (typically nested inner class names).
- getSuffixTypeArguments() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
-
Get any type arguments for any suffixes of the class, one list per suffix.
- getSuperclasses() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get all direct and indirect superclasses of this class (i.e.
- getSuperclassSignature() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassTypeSignature
-
Get the type signature for the superclass (possibly null in the case of
Object
, since it doesn't have a superclass). - getSuperinterfaces() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the superinterfaces of this interface.
- getSuperinterfaceSignatures() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassTypeSignature
-
Get the type signatures of any superinterfaces
- getSystemModuleRefs() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassLoaderAndModuleFinder
-
Get system modules as ModuleRef wrappers, or null if no modules were found (e.g.
- getThrowsSignatures() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
-
Get the throws type(s) for the method.
- getThrowsTypes() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the types of exceptions the method may throw.
- getThrowsTypeSignatures() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the types of exceptions the method may throw, in string representation, e.g.
- getThrowsTypeStrs() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the types of exceptions the method may throw, in string representation, e.g.
- getType() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationClassRef
-
Deprecated.in favor of getClassRef(), for consistency with
ClassInfo#getClassRef()
. - getType() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns the
Class<?>
reference for the field. - getTypeArguments() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
-
Get any type arguments of the base class.
- getTypeDescriptor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns the parsed type descriptor for the field, if available.
- getTypeDescriptor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the parsed type descriptor for the method, which will not include type parameters.
- getTypeDescriptor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodParameterInfo
-
Method parameter type descriptor.
- getTypeDescriptorStr() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns the low-level internal type descriptor string for the field, without type parameters, e.g.
- getTypeDescriptorStr() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the low-level internal type descriptor for the method, e.g.
- getTypeParameters() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the type parameters of the method.
- getTypeParameters() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassTypeSignature
-
Get the type parameters for the class.
- getTypeParameters() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
-
Get the type parameters for the method.
- getTypeParameterStrs() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the type parameters of the method, in string representation, e.g.
- getTypeSignature() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationClassRef
-
Get the type signature for a type reference used in an annotation parameter.
- getTypeSignature() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the type signature for the class, if available (else returns null).
- getTypeSignature() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns the parsed type signature for the field, if available.
- getTypeSignature() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the parsed type signature for the method, possibly including type parameters.
- getTypeSignature() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodParameterInfo
-
Method parameter type signature, possibly including generic type information (or null if no type signature information available for this parameter).
- getTypeSignature() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument
-
Get the type signature associated with the wildcard (or null, if the wildcard is ANY).
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns the parsed type signature for the field, possibly including type parameters.
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the parsed type signature for the method, possibly including type parameters.
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodParameterInfo
-
Method parameter type signature, or if not available, method type descriptor.
- getTypeSignatureStr() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Get the low-level Java type signature for the class, including generic type parameters, if available (else returns null).
- getTypeSignatureStr() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns the low-level internal type signature string for the method, possibly with type parameters.
- getTypeSignatureStr() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns the low-level internal type Signature for the method, e.g.
- getTypeVariableName() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeVariableSignature
-
Get the name of the type variable.
- getUniqueAnnotationNamesSorted(AnnotationInfo[]) - Static method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
-
From an array of AnnotationInfo objects, extract the annotation names, uniquify them, and sort them.
- getUniqueAnnotationNamesSorted(Collection<AnnotationInfo>) - Static method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
-
From a collection of AnnotationInfo objects, extract the annotation names, uniquify them, and sort them.
- getUniqueClasspathElements() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Returns the list of all unique File objects representing directories or zip/jarfiles on the classpath, in classloader resolution order.
- getUniqueClasspathElements() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Returns the list of File objects for unique classpath elements (directories or jarfiles), in classloader resolution order.
- getUniqueClasspathElements(ExecutorService, int) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Returns the list of all unique File objects representing directories or zip/jarfiles on the classpath, in classloader resolution order.
- getUniqueClasspathElementsAsPathStr() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Returns all unique directories or zip/jarfiles on the classpath, in classloader resolution order, as a classpath string, delineated with the standard path separator character.
- getUniqueClasspathElementsAsPathStr() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Returns all unique directories or zip/jarfiles on the classpath, in classloader resolution order, as a classpath string, delineated with the standard path separator character.
- getUniqueClasspathElementsAsync(ExecutorService, int) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Asynchronously returns the list of all unique File objects representing directories or zip/jarfiles on the classpath, in classloader resolution order.
- getUniqueClasspathElementURLs() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Returns the list of all unique URL objects representing directories or zip/jarfiles on the classpath, in classloader resolution order.
- getUniqueClasspathElementURLs() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Returns the list of unique classpath element paths as URLs, in classloader resolution order.
- getUniqueClasspathElementURLs(ExecutorService, int) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Returns the list of all unique URL objects representing directories or zip/jarfiles on the classpath, in classloader resolution order.
- getUniqueClasspathElementURLsAsync(ExecutorService, int) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Asynchronously returns the list of all unique URLs representing directories or zip/jarfiles on the classpath, in classloader resolution order.
- getVersion() - Static method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Get the version number of FastClasspathScanner.
- getVersion() - Static method in class io.github.lukehutch.fastclasspathscanner.utils.VersionFinder
-
Finds the version number of FastClasspathScanner.
- getWildcard() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument
-
Get the type wildcard, which is one of {NONE, ANY, EXTENDS, SUPER}.
- getZipFileRecycler(File, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.NestedJarHandler
-
Get a ZipFile recycler given the (non-nested) canonical path of a jarfile.
- GraphvizUtils - Class in io.github.lukehutch.fastclasspathscanner.utils
- GraphvizUtils() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.GraphvizUtils
H
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.AntClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in interface io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandler
-
Determine if a given ClassLoader can be handled (meaning that its classpath elements can be extracted from it), and if it can, extract the classpath elements from the ClassLoader and register them with the ClasspathFinder using classpathFinder.addClasspathElement(pathElement) or classpathFinder.addClasspathElements(path).
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.EquinoxClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.EquinoxContextFinderClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.FallbackClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.FelixClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.Java9ClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.JBossClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.OSGiDefaultClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.URLClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WeblogicClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WebsphereLibertyClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WebsphereTraditionalClassLoaderHandler
- handledClassLoaderNames - Variable in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
The names of handled ClassLoaders.
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.AntClassLoaderHandler
- handledClassLoaders() - Method in interface io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandler
-
The fully-qualified names of handled classloader classes.
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.EquinoxClassLoaderHandler
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.EquinoxContextFinderClassLoaderHandler
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.FallbackClassLoaderHandler
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.FelixClassLoaderHandler
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.Java9ClassLoaderHandler
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.JBossClassLoaderHandler
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.OSGiDefaultClassLoaderHandler
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.URLClassLoaderHandler
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WeblogicClassLoaderHandler
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WebsphereLibertyClassLoaderHandler
- handledClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WebsphereTraditionalClassLoaderHandler
- hasAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class, interface or annotation has the named class annotation or meta-annotation.
- hasDirectAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class has the named direct annotation or meta-annotation.
- hasDirectMetaAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this annotation is directly meta-annotated with the named annotation.
- hasDirectSubclass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class has the named direct subclass.
- hasDirectSubinterface(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class is and interface and has the named direct subinterface.
- hasDirectSuperclass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class directly extends the named superclass.
- hasDirectSuperinterface(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class is an interface and has the named direct superinterface.
- hasFieldWithAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class has a field with the named field annotation.
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationClassRef
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationEnumValue
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Use hash code of class name.
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Use hash code of class name and field name.
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Use hash code of class name, method name and type descriptor.
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ArrayTypeSignature
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.BaseTypeSignature
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassTypeSignature
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeParameter
- hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeVariableSignature
- hasMatchProcessors() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Return true if any MatchProcessors have been added.
- hasMetaAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this is an annotation class and it has the named meta-annotation.
- hasMethodWithAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class has a method with the named method annotation or meta-annotation.
- hasMethodWithDirectAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class has a method with the named method direct annotation.
- hasMore() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- hasSubclass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class has the named class as a subclass.
- hasSubinterface(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class is has the named subinterface.
- hasSuperclass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class extends the named superclass, directly or indirectly.
- hasSuperinterface(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class is an interface and has the named superinterface.
- HierarchicalTypeSignature - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A Java type signature.
- HierarchicalTypeSignature() - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.HierarchicalTypeSignature
- htmlEncode(CharSequence) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.GraphvizUtils
-
Encode HTML-unsafe characters as HTML entities.
- htmlEncode(CharSequence, boolean, StringBuilder) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.GraphvizUtils
-
Encode HTML-unsafe characters as HTML entities.
- htmlEncode(CharSequence, StringBuilder) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.GraphvizUtils
-
Encode HTML-unsafe characters as HTML entities.
I
- Id - Annotation Type in io.github.lukehutch.fastclasspathscanner.json
-
Annotate a class field with this annotation to use that field's value instead of the automatically-generated id for object references in JSON output.
- ignoreFieldVisibility - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, ignore field visibility (affects finding classes with fields of a given type, and matching of static final fields with constant initializers).
- ignoreFieldVisibility() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
This method causes FastClasspathScanner to ignore field visibility, enabling it to see private, package-private and protected fields.
- ignoreFieldVisibility(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If ignoreFieldVisibility is true, causes FastClasspathScanner to ignore field visibility, enabling it to see private, package-private and protected fields.
- ignoreMethodVisibility - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, ignore method visibility (affects finding methods with annotations of a given type).
- ignoreMethodVisibility() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
This method causes FastClasspathScanner to ignore method visibility, enabling it to see private, package-private and protected methods.
- ignoreMethodVisibility(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If ignoreMethodVisibility is true, causes FastClasspathScanner to ignore method visibility, enabling it to see private, package-private and protected methods.
- ignoreParentClassLoaders - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, do not fetch paths from parent classloaders.
- ignoreParentClassLoaders() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Ignore parent classloaders (i.e.
- ignoreParentClassLoaders(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Ignore parent classloaders (i.e.
- ImplementingClassMatchProcessor<T> - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a class implementing a specific interface is found on the classpath.
- implementsInterface(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this standard class implements the named interface, or by one of its superclasses.
- includeClasspathElement(String) - Method in interface io.github.lukehutch.fastclasspathscanner.FastClasspathScanner.ClasspathElementFilter
- initializeLoadedClasses - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, classes loaded with Class.forName() are initialized before passing class references to MatchProcessors.
- initializeLoadedClasses(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If initializeLoadedClasses is true, classes loaded with Class.forName() are initialized before passing class references to MatchProcessors.
- inputStreamLength - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- instantiate(ScanResult) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ArrayTypeSignature
- instantiate(ScanResult) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.BaseTypeSignature
- instantiate(ScanResult) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
-
Instantiate class ref.
- instantiate(ScanResult) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeSignature
-
Instantiate the type signature into a class reference.
- instantiate(ScanResult) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeVariableSignature
- instantiate(LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
Instantiate a ClassLoaderHandler, or return null if the class could not be instantiated.
- interrupt() - Method in class io.github.lukehutch.fastclasspathscanner.utils.InterruptionChecker
-
Interrupt all threads that share this InterruptionChecker.
- InterruptionChecker - Class in io.github.lukehutch.fastclasspathscanner.utils
-
Check if this thread or any other thread that shares this InterruptionChecker instance has been interrupted or has thrown an exception.
- InterruptionChecker() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.InterruptionChecker
- invokeDefaultMethod(Class<?>, String, Class<?>, ClassLoader, boolean) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.ReflectionUtils
-
Invoke the named default interface method.
- invokeMethod(Object, String, boolean) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.ReflectionUtils
-
Invoke the named method in the given object or its superclasses.
- invokeMethod(Object, String, Class<?>, Object, boolean) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.ReflectionUtils
-
Invoke the named method in the given object or its superclasses.
- invokeStaticMethod(Class<?>, String, boolean) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.ReflectionUtils
-
Invoke the named static method.
- invokeStaticMethod(Class<?>, String, Class<?>, Object, boolean) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.ReflectionUtils
-
Invoke the named static method.
- io.github.lukehutch.fastclasspathscanner - package io.github.lukehutch.fastclasspathscanner
- io.github.lukehutch.fastclasspathscanner.classloaderhandler - package io.github.lukehutch.fastclasspathscanner.classloaderhandler
- io.github.lukehutch.fastclasspathscanner.json - package io.github.lukehutch.fastclasspathscanner.json
- io.github.lukehutch.fastclasspathscanner.matchprocessor - package io.github.lukehutch.fastclasspathscanner.matchprocessor
- io.github.lukehutch.fastclasspathscanner.scanner - package io.github.lukehutch.fastclasspathscanner.scanner
- io.github.lukehutch.fastclasspathscanner.scanner.matchers - package io.github.lukehutch.fastclasspathscanner.scanner.matchers
- io.github.lukehutch.fastclasspathscanner.typesignature - package io.github.lukehutch.fastclasspathscanner.typesignature
- io.github.lukehutch.fastclasspathscanner.utils - package io.github.lukehutch.fastclasspathscanner.utils
- isAbstract() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this ClassInfo corresponds to an abstract class.
- isAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this ClassInfo corresponds to an annotation.
- isAnonymousInnerClass() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns true if this is an anonymous inner class.
- isBridge() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is a bridge method.
- isClassfile(String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.FileUtils
-
Returns true if path has a .class extension, ignoring case.
- isConstructor() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is a constructor.
- isDirectlyImplementedByClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class is directly implemented by the named class, or by one of its superclasses.
- isEmpty() - Method in class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToList
-
Return true if this map is empty.
- isEmpty() - Method in class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToSet
-
Return true if this map is empty.
- isEnum() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this ClassInfo corresponds to an enum.
- isExternalClass() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns true if this class is an external class, i.e.
- isFinal() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this ClassInfo corresponds to a final class.
- isFinal() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns true if this field is final.
- isFinal() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is final.
- isImplementedByClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class is implemented by the named class, or by one of its superclasses.
- isImplementedInterface() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class is an "implemented interface" (meaning a standard, non-annotation interface, or an annotation that has also been implemented as an interface by some class).
- isInnerClass() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns true if this is an inner class (call isAnonymousInnerClass() to test if this is an anonymous inner class).
- isInSystemPackageOrModule(String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Return true if the given class name, package name or module name has a system package or module prefix
- isInterface() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this ClassInfo corresponds to an interface.
- isJREJar(String, Set<String>, Set<String>, LogNode) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Determine whether a given jarfile is in a JRE system directory (jre, jre/lib, jre/lib/ext, etc.).
- isNative() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is a native method.
- isOuterClass() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Returns true if this class contains inner classes.
- isPackagePrivate() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns true if this field is package-private.
- isPackagePrivate() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is package-private.
- isPrivate() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns true if this field is private.
- isPrivate() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is private.
- isProtected() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns true if this field is protected.
- isProtected() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is protected.
- isPublic() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this ClassInfo corresponds to a public class.
- isPublic() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns true if this field is public.
- isPublic() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is public.
- isStandardClass() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this class is a standard class (not an annotation or interface).
- isStatic() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns true if this field is static.
- isStatic() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is static.
- isSynchronized() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is synchronized.
- isSynthetic() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this ClassInfo corresponds to a synthetic class.
- isSystemJar - Variable in class io.github.lukehutch.fastclasspathscanner.utils.JarfileMetadataReader
-
If true, this is a JRE jar.
- isSystemModule() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Returns true if this module's location is a non-"file:/" ("jrt:/") URI, or if it has no location URI, or if it uses the (null) bootstrap ClassLoader, or if the module name starts with a system prefix ("java.", "jre.", etc.).
- isTransient() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
-
Returns true if this field is a transient field.
- isVarArgs() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Returns true if this method is a varargs method.
J
- JarfileMetadataReader - Class in io.github.lukehutch.fastclasspathscanner.utils
-
Fast parser for jar manifest files.
- JarfileMetadataReader(File, LogNode) - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.JarfileMetadataReader
-
Fast parser for jar manifest files.
- JarUtils - Class in io.github.lukehutch.fastclasspathscanner.utils
- JarUtils() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
- JAVA_MAJOR_VERSION - Static variable in class io.github.lukehutch.fastclasspathscanner.utils.VersionFinder
-
Java major version -- 7 for "1.7", 8 for "1.8.0_244", 9 for "9", 11 for "11-ea", etc.
- JAVA_VERSION - Static variable in class io.github.lukehutch.fastclasspathscanner.utils.VersionFinder
-
Java version string
- Java9ClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
A basic ClassLoaderHandler that is able to extract the URLs from Java 9+ classloaders.
- Java9ClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.Java9ClassLoaderHandler
- JBossClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
Extract classpath entries from the JBoss ClassLoader.
- JBossClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.JBossClassLoaderHandler
- join(String, Iterable<?>) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.Join
-
A replacement for Java 8's String.join().
- join(String, Object...) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.Join
-
A replacement for Java 8's String.join().
- join(String, Set<T>) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.Join
-
A replacement for Java 8's String.join().
- Join - Class in io.github.lukehutch.fastclasspathscanner.utils
-
A replacement for Java 8's String.join().
- Join() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.Join
- JSONDeserializer - Class in io.github.lukehutch.fastclasspathscanner.json
-
Fast, lightweight Java object to JSON serializer, and JSON to Java object deserializer.
- JSONDeserializer() - Constructor for class io.github.lukehutch.fastclasspathscanner.json.JSONDeserializer
- JSONSerializer - Class in io.github.lukehutch.fastclasspathscanner.json
-
Fast, lightweight Java object to JSON serializer, and JSON to Java object deserializer.
- JSONSerializer() - Constructor for class io.github.lukehutch.fastclasspathscanner.json.JSONSerializer
- JSONUtils - Class in io.github.lukehutch.fastclasspathscanner.json
-
Utils for Java serialization and deserialization.
- JSONUtils() - Constructor for class io.github.lukehutch.fastclasspathscanner.json.JSONUtils
L
- leafName(String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Returns the leafname of a path, after first stripping off everything after the first '!', if present.
- libJarPaths - Variable in class io.github.lukehutch.fastclasspathscanner.utils.JarfileMetadataReader
-
Any jarfiles found in "lib/", "BOOT-INF/lib", "WEB-INF/lib", or "WEB-INF/lib-provided".
- list() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef.ModuleReaderProxy
-
Get the list of resources accessible to a ModuleReader.
- log(String) - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Add a log entry.
- log(String, long) - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Add a log entry.
- log(String, long, Throwable) - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Add a log entry.
- log(String, String) - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, String, long) - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, String, long, Throwable) - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, String, Throwable) - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, Throwable) - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Add a log entry.
- log(Throwable) - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Add a log entry.
- log(List<String>) - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Add a series of log entries.
- LOG_IN_REALTIME - Static variable in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
If this is set to true, log entries are output in realtime, as well as added to the LogNode tree.
- logJavaInfo(LogNode) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Log the Java version and the JRE paths that were found.
- LogNode - Class in io.github.lukehutch.fastclasspathscanner.utils
-
A tree-structured threadsafe log that allows you to add log entries in arbitrary order, and have the output retain a sane order.
- LogNode() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Create a toplevel log node.
- lookForMatches(ScanResult, LogNode) - Method in interface io.github.lukehutch.fastclasspathscanner.scanner.matchers.ClassMatchProcessorWrapper
M
- MANIFEST_PATH - Static variable in class io.github.lukehutch.fastclasspathscanner.utils.JarfileMetadataReader
- matchAllAnnotationClasses(ClassMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the provided ClassMatchProcessor for all annotation classes (annotation definitions) found in whitelisted packages on the classpath.
- matchAllAnnotationClasses(ClassMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the provided ClassMatchProcessor for all annotation classes (annotation definitions) found in whitelisted packages on the classpath.
- matchAllClasses(ClassMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the provided ClassMatchProcessor for all standard classes, interfaces and annotations found in whitelisted packages on the classpath.
- matchAllClasses(ClassMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the provided ClassMatchProcessor for all standard classes, interfaces and annotations found in whitelisted packages on the classpath.
- matchAllInterfaceClasses(ClassMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the provided ClassMatchProcessor for all interface classes (interface definitions) found in whitelisted packages on the classpath.
- matchAllInterfaceClasses(ClassMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the provided ClassMatchProcessor for all interface classes (interface definitions) found in whitelisted packages on the classpath.
- matchAllStandardClasses(ClassMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the provided ClassMatchProcessor for all standard classes (i.e.
- matchAllStandardClasses(ClassMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the provided ClassMatchProcessor for all standard classes (i.e.
- matchClassesImplementing(Class<T>, ImplementingClassMatchProcessor<T>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the provided InterfaceMatchProcessor for classes on the classpath that implement the specified interface or a subinterface, or whose superclasses implement the specified interface or a sub-interface.
- matchClassesImplementing(Class<T>, ImplementingClassMatchProcessor<T>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the provided InterfaceMatchProcessor for classes on the classpath that implement the specified interface or a subinterface, or whose superclasses implement the specified interface or a sub-interface.
- matchClassesWithAnnotation(Class<?>, ClassAnnotationMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the provided ClassAnnotationMatchProcessor if classes are found on the classpath that have the specified annotation.
- matchClassesWithAnnotation(Class<?>, ClassAnnotationMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the provided ClassAnnotationMatchProcessor if classes are found on the classpath that have the specified annotation.
- matchClassesWithFieldAnnotation(Class<? extends Annotation>, FieldAnnotationMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the provided FieldAnnotationMatchProcessor if classes are found on the classpath that have one or more fields with the specified annotation.
- matchClassesWithFieldAnnotation(Class<? extends Annotation>, FieldAnnotationMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the provided FieldAnnotationMatchProcessor if classes are found on the classpath that have one or more fields with the specified annotation.
- matchClassesWithMethodAnnotation(Class<? extends Annotation>, MethodAnnotationMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the provided MethodAnnotationMatchProcessor if classes are found on the classpath that have one or more methods with the specified annotation.
- matchClassesWithMethodAnnotation(Class<? extends Annotation>, MethodAnnotationMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the provided MethodAnnotationMatchProcessor if classes are found on the classpath that have one or more methods with the specified annotation.
- matchFilenameExtension(String, FileMatchContentsProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchProcessor if files are found on the classpath that have the given file extension.
- matchFilenameExtension(String, FileMatchContentsProcessorWithContext) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchProcessorWithContext if files are found on the classpath that have the given file extension.
- matchFilenameExtension(String, FileMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchProcessor if files are found on the classpath that have the given file extension.
- matchFilenameExtension(String, FileMatchProcessorWithContext) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchProcessorWithContext if files are found on the classpath that have the given file extension.
- matchFilenameExtension(String, FilenameMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FilenameMatchProcessor if files are found on the classpath that have the given file extension.
- matchFilenameExtension(String, FileMatchProcessorAny) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the given FileMatchProcessor if files are found on the classpath that have the given file extension.
- matchFilenamePath(String, FileMatchContentsProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchContentsProcessor if files are found on the classpath that exactly match the given relative path.
- matchFilenamePath(String, FileMatchContentsProcessorWithContext) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchContentsProcessorWithContext if files are found on the classpath that exactly match the given relative path.
- matchFilenamePath(String, FileMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchProcessor if files are found on the classpath that exactly match the given relative path.
- matchFilenamePath(String, FileMatchProcessorWithContext) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchProcessorWithContext if files are found on the classpath that exactly match the given relative path.
- matchFilenamePath(String, FilenameMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FilenameMatchProcessor if files are found on the classpath that exactly match the given relative path.
- matchFilenamePath(String, FileMatchProcessorAny) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the given FileMatchProcessor if files are found on the classpath that exactly match the given relative path.
- matchFilenamePathLeaf(String, FileMatchContentsProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchContentsProcessor if files are found on the classpath that exactly match the given path leafname.
- matchFilenamePathLeaf(String, FileMatchContentsProcessorWithContext) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchContentsProcessorWithContext if files are found on the classpath that exactly match the given path leafname.
- matchFilenamePathLeaf(String, FileMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchProcessor if files are found on the classpath that exactly match the given path leafname.
- matchFilenamePathLeaf(String, FileMatchProcessorWithContext) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchProcessorWithContext if files are found on the classpath that exactly match the given path leafname.
- matchFilenamePathLeaf(String, FilenameMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FilenameMatchProcessor if files are found on the classpath that exactly match the given path leafname.
- matchFilenamePathLeaf(String, FileMatchProcessorAny) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the given FileMatchProcessor if files are found on the classpath that exactly match the given path leafname.
- matchFilenamePattern(String, FileMatchContentsProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchContentsProcessor if files are found on the classpath with the given regexp pattern in their path.
- matchFilenamePattern(String, FileMatchContentsProcessorWithContext) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchContentsProcessorWithContext if files are found on the classpath with the given regexp pattern in their path.
- matchFilenamePattern(String, FileMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchProcessor if files are found on the classpath with the given regexp pattern in their path.
- matchFilenamePattern(String, FileMatchProcessorWithContext) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FileMatchProcessorWithContext if files are found on the classpath with the given regexp pattern in their path.
- matchFilenamePattern(String, FilenameMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given FilenameMatchProcessor if files are found on the classpath with the given regexp pattern in their path.
- matchFilenamePattern(String, FileMatchProcessorAny) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the given FileMatchProcessor if files are found on the classpath with the given regexp pattern in their path.
- MatchProcessorException - Exception in io.github.lukehutch.fastclasspathscanner
-
Thrown if one or more exceptions were thrown when attempting to call the classloader on a class, or if one or more exceptions were thrown by a MatchProcessor.
- matchStaticFinalFieldNames(String[], StaticFinalFieldMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given StaticFinalFieldMatchProcessor if classes are found on the classpath that contain static final fields that match one of a list of fully-qualified field names, e.g.
- matchStaticFinalFieldNames(String[], StaticFinalFieldMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the given StaticFinalFieldMatchProcessor if classes are found on the classpath that contain static final fields that match one of a list of fully-qualified field names, e.g.
- matchStaticFinalFieldNames(String, StaticFinalFieldMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given StaticFinalFieldMatchProcessor if classes are found on the classpath that contain static final fields that match a fully-qualified field name, e.g.
- matchStaticFinalFieldNames(String, StaticFinalFieldMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the given StaticFinalFieldMatchProcessor if classes are found on the classpath that contain static final fields that match a fully-qualified field name, e.g.
- matchStaticFinalFieldNames(Set<String>, StaticFinalFieldMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the given StaticFinalFieldMatchProcessor if classes are found on the classpath that contain static final fields that match one of a set of fully-qualified field names, e.g.
- matchStaticFinalFieldNames(Set<String>, StaticFinalFieldMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the given StaticFinalFieldMatchProcessor if classes are found on the classpath that contain static final fields that match one of a set of fully-qualified field names, e.g.
- matchSubclassesOf(Class<T>, SubclassMatchProcessor<T>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the provided SubclassMatchProcessor if classes are found on the classpath that extend the specified superclass.
- matchSubclassesOf(Class<T>, SubclassMatchProcessor<T>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the provided SubclassMatchProcessor if classes are found on the classpath that extend the specified superclass.
- matchSubinterfacesOf(Class<T>, SubinterfaceMatchProcessor<T>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Calls the provided SubinterfaceMatchProcessor if an interface that extends a given superinterface is found on the classpath.
- matchSubinterfacesOf(Class<T>, SubinterfaceMatchProcessor<T>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Calls the provided SubinterfaceMatchProcessor if an interface that extends a given superinterface is found on the classpath.
- metaAnnotatesAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
-
Test whether this annotation has the named meta-annotation.
- MethodAnnotationMatchProcessor - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a class that has a method or constructor with a specified annotation is found on the classpath.
- MethodInfo - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
Holds metadata about methods of a class encountered during a scan.
- MethodInfo(String, String, List<AnnotationInfo>, int, String, String, String[], int[], AnnotationInfo[][]) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
- MethodParameterInfo - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
Information on the parameters of a method.
- MethodParameterInfo(AnnotationInfo[], int, TypeSignature, TypeSignature, String) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.MethodParameterInfo
- MethodTypeSignature - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A method type signature (called "MethodSignature" in the classfile documentation).
- MethodTypeSignature(List<TypeParameter>, List<TypeSignature>, TypeSignature, List<ClassRefOrTypeVariableSignature>) - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
- MODIFIER_MANDATED - Static variable in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeUtils
-
The modifier bit for mandated parameters.
- MODIFIER_SYNTHETIC - Static variable in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeUtils
-
The modifier bit for synthetic parameters.
- modifiersToString(int, boolean) - Static method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeUtils
-
Convert modifiers into a string representation, e.g.
- modifiersToString(int, boolean, StringBuilder) - Static method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeUtils
-
Convert modifiers into a string representation, e.g.
- moduleRef - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- ModuleRef - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
Work with modules using reflection, until support for JDK 8 and earlier is removed.
- ModuleRef(Object, Object) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
- ModuleRef.ModuleReaderProxy - Class in io.github.lukehutch.fastclasspathscanner.scanner
- MultiMapKeyToList<S,T> - Class in io.github.lukehutch.fastclasspathscanner.utils
-
A multimap from key to a list of values.
- MultiMapKeyToList() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToList
-
A multimap from key to a list of values.
- MultiMapKeyToSet<S,T> - Class in io.github.lukehutch.fastclasspathscanner.utils
-
A multimap from key to a set of values.
- MultiMapKeyToSet() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToSet
-
A multimap from key to a set of values.
N
- NestedJarHandler - Class in io.github.lukehutch.fastclasspathscanner.utils
-
Unzip a jarfile within a jarfile to a temporary file on disk.
- NestedJarHandler(ScanSpec, InterruptionChecker, LogNode) - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.NestedJarHandler
- newInstance() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Recycler
-
Create a new instance.
- newInstance(Throwable) - Static method in exception io.github.lukehutch.fastclasspathscanner.MatchProcessorException
-
Create a MatchProcessorException.
- newInstance(List<Throwable>) - Static method in exception io.github.lukehutch.fastclasspathscanner.MatchProcessorException
-
Create a MatchProcessorException
- newInstance(K, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.SingletonMap
-
Construct a new singleton instance.
- newThread(Runnable) - Method in class io.github.lukehutch.fastclasspathscanner.utils.SimpleThreadFactory
- next() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- NONE - io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument.WILDCARD
-
No wildcard.
O
- onFailure(Throwable) - Method in interface io.github.lukehutch.fastclasspathscanner.scanner.FailureHandler
-
Called on scanning failure during an asynchronous scan.
- open() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- open() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
-
Open the module, returning a ModuleReader.
- open(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef.ModuleReaderProxy
-
Use the proxied ModuleReader to open the named resource as an InputStream.
- OSGiDefaultClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
Handle the OSGi DefaultClassLoader.
- OSGiDefaultClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.OSGiDefaultClassLoaderHandler
- overrideClassLoaders - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If non-null, all ClassLoaders have been overriden.
- overrideClassLoaders(ClassLoader...) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Completely override (and ignore) system ClassLoaders and the java.class.path system property.
- overrideClassLoaders(ClassLoader...) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Completely override the list of ClassLoaders to scan.
- overrideClasspath - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If non-null, specifies a classpath to override the default one.
- overrideClasspath(Iterable<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Override the automatically-detected classpath with a custom path.
- overrideClasspath(Object...) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Override the automatically-detected classpath with a custom path.
- overrideClasspath(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Override the automatically-detected classpath with a custom path, with path elements separated by File.pathSeparatorChar.
- overrideClasspath(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Override the automatically-detected classpath with a custom search path.
P
- packageRootRelativePaths - Variable in class io.github.lukehutch.fastclasspathscanner.utils.JarfileMetadataReader
-
Any jarfile package roots, including anything after "!" in the path to this jar in the classpath, and/or "BOOT-INF/classes" or "WEB-INF/classes", if any files with this directory prefix are contained in the jar.
- PARENT_FIRST - io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandler.DelegationOrder
-
Delegate to parent before handling in child.
- PARENT_LAST - io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandler.DelegationOrder
-
Handle classloading in child before delegating to parent.
- parse(ClassInfo, String) - Static method in class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
-
Parse a method signature.
- parse(String) - Static method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassTypeSignature
-
Parse a class type signature or class type descriptor.
- parse(String) - Static method in class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
-
Parse a method signature (ignores class context, i.e.
- parse(String) - Static method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeSignature
-
Parse a type signature.
- ParseException(Parser, String) - Constructor for exception io.github.lukehutch.fastclasspathscanner.utils.Parser.ParseException
- Parser - Class in io.github.lukehutch.fastclasspathscanner.utils
- Parser(String) - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.Parser
- Parser.ParseException - Exception in io.github.lukehutch.fastclasspathscanner.utils
- pathElementsToPathStr(Iterable<?>) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Get a set of path elements as a string, from an array of objects (e.g.
- pathElementsToPathStr(Object...) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Get a set of path elements as a string, from an array of objects (e.g.
- pathRelativeToClasspathElt - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- pathRelativeToClasspathPrefix - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- peek() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- peekExpect(char) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- peekMatches(String) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- processFileMatch(FileMatchProcessorAny, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- processMatch(ClasspathResource, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.matchers.FileMatchProcessorWrapper
- processMatch(File, String) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.FilenameMatchProcessor
-
Process a file with a matching filename or path.
- processMatch(File, String, byte[]) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.FileMatchContentsProcessorWithContext
-
Process a file with a matching filename or path.
- processMatch(File, String, InputStream, long) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.FileMatchProcessorWithContext
-
Process a file with a matching filename or path.
- processMatch(Class<?>) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.ClassAnnotationMatchProcessor
-
Process an annotation class match.
- processMatch(Class<?>) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.ClassMatchProcessor
-
Process a class match.
- processMatch(Class<?>, Executable) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.MethodAnnotationMatchProcessor
-
Process a method annotation match.
- processMatch(Class<?>, Field) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.FieldAnnotationMatchProcessor
-
Process a field annotation match.
- processMatch(Class<? extends T>) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.ImplementingClassMatchProcessor
-
Process an implementing class match.
- processMatch(Class<? extends T>) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.SubclassMatchProcessor
-
Process a subclass match.
- processMatch(Class<? extends T>) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.SubinterfaceMatchProcessor
-
Process a subinterface match.
- processMatch(String, byte[]) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.FileMatchContentsProcessor
-
Process a matching file.
- processMatch(String, InputStream, long) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.FileMatchProcessor
-
Process a matching file.
- processMatch(String, String, Object) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.StaticFinalFieldMatchProcessor
-
Process a static final field match.
- processScanResult(ScanResult) - Method in interface io.github.lukehutch.fastclasspathscanner.scanner.ScanResultProcessor
-
Process the result of an asynchronous scan after scanning has completed and any MatchProcessors have been run.
- processWorkQueueRef(WorkQueue<T>) - Method in interface io.github.lukehutch.fastclasspathscanner.utils.WorkQueue.WorkQueuePreStartHook
- processWorkUnit(T) - Method in interface io.github.lukehutch.fastclasspathscanner.utils.WorkQueue.WorkUnitProcessor
- put(S, T) - Method in class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToList
-
Put a value into the multimap.
- put(S, T) - Method in class io.github.lukehutch.fastclasspathscanner.utils.MultiMapKeyToSet
-
Put a value into the multimap.
R
- read() - Method in class io.github.lukehutch.fastclasspathscanner.utils.FileUtils.ByteBufferBackedInputStream
- read(byte[], int, int) - Method in class io.github.lukehutch.fastclasspathscanner.utils.FileUtils.ByteBufferBackedInputStream
- read(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef.ModuleReaderProxy
-
Use the proxied ModuleReader to open the named resource as a ByteBuffer.
- readAllBytes(InputStream, long, LogNode) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.FileUtils
-
Read all the bytes in an InputStream.
- Recycler<T extends AutoCloseable,E extends Exception> - Class in io.github.lukehutch.fastclasspathscanner.utils
-
Recycle instances of type T.
- Recycler() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.Recycler
- ReferenceTypeSignature - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A type signature for a reference type.
- ReferenceTypeSignature() - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.ReferenceTypeSignature
- ReflectionUtils - Class in io.github.lukehutch.fastclasspathscanner.utils
-
Reflection utility methods that can be used by ClassLoaderHandlers.
- ReflectionUtils() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.ReflectionUtils
- registerClassLoaderHandler(Class<? extends ClassLoaderHandler>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Register an extra ClassLoaderHandler.
- registerClassLoaderHandler(Class<? extends ClassLoaderHandler>) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Register an extra ClassLoaderHandler.
- release(ByteBuffer) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef.ModuleReaderProxy
-
Release a ByteBuffer allocated by calling read(name).
- release(T) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Recycler
-
Release/recycle an instance.
- removeTemporaryFilesAfterScan - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, nested jarfiles (jarfiles within jarfiles) that are extracted during scanning are removed from their temporary directory (e.g.
- removeTemporaryFilesAfterScan(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If true, nested jarfiles (jarfiles within jarfiles, which have to be extracted during scanning in order to be read) are removed from their temporary directory as soon as the scan has completed.
- resolve(String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.FastPathResolver
-
Strip away any "jar:" prefix from a filename URI, and convert it to a file path, handling possibly-broken mixes of filesystem and URI conventions.
- resolve(String, String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.FastPathResolver
-
Strip away any "jar:" prefix from a filename URI, and convert it to a file path, handling possibly-broken mixes of filesystem and URI conventions; resolve relative paths relative to resolveBasePath.
- runWorkLoop() - Method in class io.github.lukehutch.fastclasspathscanner.utils.WorkQueue
-
Start a worker.
- runWorkQueue(Collection<U>, ExecutorService, int, WorkQueue.WorkUnitProcessor<U>, InterruptionChecker, LogNode) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.WorkQueue
-
Start a work queue on the elements in the provided collection, blocking until all work units have been completed.
- runWorkQueue(Collection<U>, ExecutorService, int, WorkQueue.WorkUnitProcessor<U>, WorkQueue.WorkQueuePreStartHook<U>, InterruptionChecker, LogNode) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.WorkQueue
-
Start a work queue on the elements in the provided collection, blocking until all work units have been completed.
S
- sanitizeFilename(String) - Method in class io.github.lukehutch.fastclasspathscanner.utils.NestedJarHandler
- scan() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Scans the classpath for matching files, and calls any MatchProcessors if a match is identified.
- scan(int) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Scans the classpath for matching files, and calls any MatchProcessors if a match is identified.
- scan(ExecutorService, int) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Scans the classpath for matching files, and calls any MatchProcessors if a match is identified.
- scanAsync(ExecutorService, int) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Asynchronously scans the classpath for matching files, and calls any MatchProcessors if a match is identified.
- scanAsync(ExecutorService, int, ScanResultProcessor, FailureHandler) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Asynchronously scans the classpath for matching files, and if runAsynchronously is true, also calls any MatchProcessors if a match is identified.
- scanDirs - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
True if directories on the classpath should be scanned.
- ScanInterruptedException - Exception in io.github.lukehutch.fastclasspathscanner
-
Thrown if scanning was interrupted by the interrupt status being set on one of the worker threads.
- ScanInterruptedException() - Constructor for exception io.github.lukehutch.fastclasspathscanner.ScanInterruptedException
-
Thrown if scanning was interrupted by the interrupt status being set on one of the worker threads.
- scanJars - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
True if jarfiles on the classpath should be scanned.
- Scanner - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
The classpath scanner.
- Scanner(ScanSpec, ExecutorService, int, boolean, ScanResultProcessor, FailureHandler, LogNode) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.Scanner
-
The classpath scanner.
- ScanResult - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
The result of a scan.
- ScanResultProcessor - Interface in io.github.lukehutch.fastclasspathscanner.scanner
-
A callback that can be used to processes the result of an asynchronous scan after scanning has completed and any MatchProcessors have been run.
- ScanSpec - Class in io.github.lukehutch.fastclasspathscanner.scanner
-
Parses the scanning specification that was passed to the FastClasspathScanner constructor, and finds all ClassLoaders.
- ScanSpec(String[], LogNode) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Parses the scanning specification that was passed to the FastClasspathScanner constructor, and finds all ClassLoaders.
- serializeFromField(Object, String, int, boolean) - Static method in class io.github.lukehutch.fastclasspathscanner.json.JSONSerializer
-
Recursively serialize the named field of an object, skipping transient and final fields.
- serializeFromField(Object, String, int, boolean, ClassFieldCache) - Static method in class io.github.lukehutch.fastclasspathscanner.json.JSONSerializer
-
Recursively serialize the named field of an object, skipping transient and final fields.
- serializeObject(Object) - Static method in class io.github.lukehutch.fastclasspathscanner.json.JSONSerializer
-
Recursively serialize an Object (or array, list, map or set of objects) to JSON, skipping transient and final fields.
- serializeObject(Object, int, boolean) - Static method in class io.github.lukehutch.fastclasspathscanner.json.JSONSerializer
-
Recursively serialize an Object (or array, list, map or set of objects) to JSON, skipping transient and final fields.
- serializeObject(Object, int, boolean, ClassFieldCache) - Static method in class io.github.lukehutch.fastclasspathscanner.json.JSONSerializer
-
Recursively serialize an Object (or array, list, map or set of objects) to JSON, skipping transient and final fields.
- setAnnotationVisibility(RetentionPolicy) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Set annotation visibility (to match the annotation retention policy).
- setPosition(int) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- setState(Object) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- SimpleThreadFactory - Class in io.github.lukehutch.fastclasspathscanner.utils
-
Simple implementation of a thread factory.
- SimpleThreadFactory(String, boolean) - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.SimpleThreadFactory
-
Constructor.
- SingletonMap<K,V> - Class in io.github.lukehutch.fastclasspathscanner.utils
-
A map from keys to singleton instances.
- SingletonMap() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.SingletonMap
- skipWhitespace() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- smartPathSplit(String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Split a path on File.pathSeparator (':' on Linux, ';' on Windows), but also allow for the use of URLs with protocol specifiers, e.g.
- specificallyBlacklistedClassNames - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Blacklisted class names.
- specificallyBlacklistedClassRelativePaths - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Blacklisted class relative paths.
- specificallyWhitelistedClassParentRelativePaths - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Path prefixes of whitelisted classes, or the empty list if none.
- specificallyWhitelistedClassRelativePaths - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Whitelisted class names, or the empty list if none.
- startWorkers(ExecutorService, int, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.WorkQueue
-
Start worker threads with a shared log.
- StaticFinalFieldMatchProcessor - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a class with the matching class name and with a final static field with the matching field name is found on the classpath.
- strictWhitelist() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Deprecated.
- strictWhitelist(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Deprecated.
- stripSFXHeader - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, manually strip the self extracting executable header from zipfiles (i.e.
- stripSFXHeader(File, long, File) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Strip the self-extracting archive header from the beginning of a zipfile.
- stripZipSFXHeaders() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Manually strip the self extracting executable header from zipfiles (i.e.
- SubclassMatchProcessor<T> - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a subclass of a specific class is found on the classpath.
- SubinterfaceMatchProcessor<T> - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
-
The method to run when a matching subinterface is found on the classpath.
- SUPER - io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument.WILDCARD
-
super
- suppressMatchProcessorExceptions - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
If true, exceptions thrown inside MatchProcessors are not re-thrown wrapped in a MatchProcessorException at the end of the scan, and the exceptions can be fetched using ScanResult.getMatchProcessorExceptions().
- suppressMatchProcessorExceptions() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Causes exceptions thrown inside MatchProcessors to not be re-thrown, wrapped in a MatchProcessorException, at the end of a synchronous scan.
- suppressMatchProcessorExceptions(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
If suppressMatchProcessorExceptions is true, exceptions thrown inside MatchProcessors are not re-thrown wrapped in a MatchProcessorException at the end of a synchronous scan, and any thrown exceptions can be fetched using ScanResult.getMatchProcessorExceptions().
- SYSTEM_PACKAGE_PATH_PREFIXES - Static variable in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Prefixes of system (JRE) packages, turned into path form (with slashes instead of dots).
- SYSTEM_PACKAGE_PREFIXES - Static variable in class io.github.lukehutch.fastclasspathscanner.utils.JarUtils
-
Prefixes of system (JRE) packages.
T
- TEMP_FILENAME_LEAF_SEPARATOR - Static variable in class io.github.lukehutch.fastclasspathscanner.utils.NestedJarHandler
- toJSON() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Serialize a ScanResult to minified (un-indented) JSON.
- toJSON(int) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanResult
-
Serialize a ScanResult to JSON.
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationClassRef
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationEnumValue
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo.AnnotationParamValue
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ClasspathResource
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.FieldInfo
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.MethodInfo
-
Get a string representation of the method.
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ModuleRef
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ArrayTypeSignature
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.BaseTypeSignature
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassRefTypeSignature
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassTypeSignature
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.MethodTypeSignature
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeParameter
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeVariableSignature
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.utils.LogNode
-
Build the log output.
- toString() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Parser
- toString(int, boolean, boolean, String) - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.ClassTypeSignature
-
Render into String form.
- toString(StringBuilder) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.AnnotationInfo
-
Render as a string, into a StringBuilder buffer.
- toStringWithTypeBound() - Method in class io.github.lukehutch.fastclasspathscanner.typesignature.TypeVariableSignature
-
Returns the type variable along with its type bound, if available (e.g.
- TypeArgument - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A type argument.
- TypeArgument(TypeArgument.WILDCARD, ReferenceTypeSignature) - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument
- TypeArgument.WILDCARD - Enum in io.github.lukehutch.fastclasspathscanner.typesignature
-
A type wildcard.
- TypeParameter - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A type parameter.
- TypeParameter(String, ReferenceTypeSignature, List<ReferenceTypeSignature>) - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.TypeParameter
- TypeSignature - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A type signature for a reference type or base type.
- TypeSignature() - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.TypeSignature
- TypeUtils - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
Utilities for parsing Java type descriptors and type signatures.
- TypeUtils() - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.TypeUtils
- TypeVariableSignature - Class in io.github.lukehutch.fastclasspathscanner.typesignature
-
A type variable signature.
- TypeVariableSignature(String) - Constructor for class io.github.lukehutch.fastclasspathscanner.typesignature.TypeVariableSignature
U
- unzipToTempDir(File, String, LogNode) - Method in class io.github.lukehutch.fastclasspathscanner.utils.NestedJarHandler
-
Unzip a given package root within a zipfile to a temporary directory, starting several more threads to perform the unzip in parallel, then return the temporary directory.
- URLClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
ClassLoaderHandler that is able to extract the URLs from a URLClassLoader.
- URLClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.URLClassLoaderHandler
- URLPathEncoder - Class in io.github.lukehutch.fastclasspathscanner.utils
- URLPathEncoder() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.URLPathEncoder
V
- valueOf(String) - Static method in enum io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandler.DelegationOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument.WILDCARD
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.lukehutch.fastclasspathscanner.classloaderhandler.ClassLoaderHandler.DelegationOrder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.lukehutch.fastclasspathscanner.typesignature.TypeArgument.WILDCARD
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class io.github.lukehutch.fastclasspathscanner.utils.SingletonMap
-
Get all singletons in the map.
- verbose() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Switches on verbose mode for debugging purposes.
- verbose(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
-
Switches on verbose mode for debugging purposes if verbose == true.
- VersionFinder - Class in io.github.lukehutch.fastclasspathscanner.utils
-
Finds the version number of FastClasspathScanner, and the version of the JDK.
- VersionFinder() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.VersionFinder
W
- WeblogicClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
Extract classpath entries from the Weblogic ClassLoaders.
- WeblogicClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WeblogicClassLoaderHandler
- WebsphereLibertyClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
WebsphereLibertyClassLoaderHandler.
- WebsphereLibertyClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WebsphereLibertyClassLoaderHandler
- WebsphereTraditionalClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classloaderhandler
-
Handle the WebSphere traditonal ClassLoaders.
- WebsphereTraditionalClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classloaderhandler.WebsphereTraditionalClassLoaderHandler
- whitelistedJarPatterns - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Whitelisted jarfile names containing a glob('*') character, converted to a regexp.
- whitelistedJars - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Whitelisted jarfile names.
- whitelistedLibOrExtJarPaths - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Complete paths of whitelisted jars to scan in the JDK/JRE "lib/" or "ext/" directory.
- whitelistedModules - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Names of whitelisted modules.
- whitelistedPathPrefixes - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Whitelisted package paths with "/" appended, or the empty list if all packages are whitelisted.
- whitelistedPathsNonRecursive - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
-
Whitelisted package paths with "/" appended, or the empty list if all packages are whitelisted.
- WorkQueue<T> - Class in io.github.lukehutch.fastclasspathscanner.utils
-
A parallel work queue.
- WorkQueue(Collection<T>, WorkQueue.WorkUnitProcessor<T>, InterruptionChecker, LogNode) - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.WorkQueue
-
A parallel work queue.
- WorkQueue.WorkQueuePreStartHook<T> - Interface in io.github.lukehutch.fastclasspathscanner.utils
-
A hook that is called once a WorkQueue is created, inside its try-with-resources block, before the workers are started.
- WorkQueue.WorkUnitProcessor<T> - Interface in io.github.lukehutch.fastclasspathscanner.utils
-
A work unit processor.
Z
- zipEntries - Variable in class io.github.lukehutch.fastclasspathscanner.utils.JarfileMetadataReader
-
The ZipEntries for the zipfile.