Skip navigation links
A C D E F G H I J L M O P R S T V W 

A

add(T) - Method in class io.github.lukehutch.fastclasspathscanner.utils.AdditionOrderedSet
Add an element to the set.
addAnnotation(String, Map<String, ClassInfo>) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
 
addAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
addClasspathElement(String) - Method in class io.github.lukehutch.fastclasspathscanner.classpath.ClasspathFinder
Add a classpath element.
addClasspathElements(String) - Method in class io.github.lukehutch.fastclasspathscanner.classpath.ClasspathFinder
Add classpath elements, separated by the system path separator character.
addFieldConstantValue(String, Object) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
 
addFieldConstantValue(String, Object) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
addFieldType(String, Map<String, ClassInfo>) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
 
addFieldType(String) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
addFilePathMatcher(RecursiveScanner.FilePathTester, RecursiveScanner.FileMatchProcessorWrapper) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.RecursiveScanner
 
addImplementedInterface(String, Map<String, ClassInfo>) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
 
addImplementedInterface(String) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
AdditionOrderedSet<T> - Class in io.github.lukehutch.fastclasspathscanner.utils
A simplified set that has O(1) add time, but also preserves a list of elements in the order they were added.
AdditionOrderedSet() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.AdditionOrderedSet
 
addRelatedClass(ClassInfo.RelType, ClassInfo) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Add a ClassInfo objects for the given relationship type.
addRelatedClasses(ClassInfo.RelType, Collection<ClassInfo>) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Add a ClassInfo objects for the given relationship type.
addScannedClass(String, boolean, boolean, Map<String, ClassInfo>) - Static method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Add a class that has just been scanned (as opposed to just referenced by a scanned class).
addSuperclass(String, Map<String, ClassInfo>) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
 
addSuperclass(String) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
annotations - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 

C

ClassAnnotationMatchProcessor - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
The method to run when a class having a specified annotation is found on the classpath.
ClassfileBinaryParser - Class in io.github.lukehutch.fastclasspathscanner.classfileparser
 
ClassfileBinaryParser() - Constructor for class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassfileBinaryParser
 
classfileScanned - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
True when a class has been scanned (i.e.
ClassGraphBuilder - Class in io.github.lukehutch.fastclasspathscanner.classgraph
 
ClassGraphBuilder(Map<String, ClassInfo>) - Constructor for class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
 
ClassInfo - Class in io.github.lukehutch.fastclasspathscanner.classfileparser
 
ClassInfo(String) - Constructor for class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
 
ClassInfo.ClassInfoUnlinked - Class in io.github.lukehutch.fastclasspathscanner.classfileparser
Class information that has been directly read from the binary classfile, before it is cross-linked with other classes.
ClassInfo.ClassType - Enum in io.github.lukehutch.fastclasspathscanner.classfileparser
The class type to return.
ClassInfo.RelType - Enum in io.github.lukehutch.fastclasspathscanner.classfileparser
 
ClassInfoUnlinked(String, boolean, boolean) - Constructor for class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
classIsNotBlacklisted(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
Returns true if the class is not specifically blacklisted, and is not within a blacklisted package.
ClassLoaderHandler - Interface in io.github.lukehutch.fastclasspathscanner.classpath
A ClassLoader handler.
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.
className - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
className - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Name of the class/interface/annotation.
classpathContentsLastModifiedTime() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the maximum "last modified" timestamp in the classpath (in epoch millis), or zero if scan() has not yet been called (or if nothing was found on the classpath).
classpathContentsLastModifiedTime() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.RecursiveScanner
Returns the maximum "last modified" timestamp in the classpath (in epoch millis), or zero if scan() has not yet been called (or if nothing was found on the classpath).
classpathContentsModifiedSinceScan() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns true if the classpath contents have been changed since scan() was last called.
classpathContentsModifiedSinceScan() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.RecursiveScanner
Returns true if the classpath contents have been changed since scan() was last called.
ClasspathFinder - Class in io.github.lukehutch.fastclasspathscanner.classpath
 
ClasspathFinder() - Constructor for class io.github.lukehutch.fastclasspathscanner.classpath.ClasspathFinder
 
clear() - Method in class io.github.lukehutch.fastclasspathscanner.utils.AdditionOrderedSet
Clear the set (and corresponding list).
compareTo(ClassInfo) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
 

D

DeferredLog() - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.Log.DeferredLog
 

E

equals(Object) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
 

F

FastClasspathScanner - Class in io.github.lukehutch.fastclasspathscanner
Uber-fast, ultra-lightweight Java classpath scanner.
FastClasspathScanner(String...) - Constructor for class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Constructs a FastClasspathScanner instance.
FastClasspathScanner.ClassMatcher - Interface in io.github.lukehutch.fastclasspathscanner
An interface used for testing if a class matches specified criteria.
fieldTypes - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
fieldValues - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
The static constant initializer values of static final fields, if a StaticFinalFieldMatchProcessor matched a field in this class.
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.
FileMatchProcessorWithContext - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
The method to run when a file with a matching path is found on the classpath.
filePathMatches(File, String) - Method in interface io.github.lukehutch.fastclasspathscanner.scanner.RecursiveScanner.FilePathTester
 
filterClassInfo(Set<ClassInfo>, boolean, ClassInfo.ClassType...) - Static method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Get the ClassInfo objects for the classes related to this one in the specified way.
flush() - Static method in class io.github.lukehutch.fastclasspathscanner.utils.Log
 
flushSynchronized() - Method in class io.github.lukehutch.fastclasspathscanner.utils.Log.DeferredLog
 

G

generateClassGraphDotFile(float, float) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Generates 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.FastClasspathScanner
Generates a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
getClassGraphBuilder() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.RecursiveScanner
Get the class, interface and annotation graph builder, containing the results of the last full scan, or null if a scan has not yet been completed.
getClassNames(Collection<ClassInfo>) - Static method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Get the sorted list of the names of classes given a set of ClassInfo objects.
getClassNameToClassfileHash() - Method in class io.github.lukehutch.fastclasspathscanner.utils.HashClassfileContents
Returns the mapping from class name to hash of classfile contents after the call to .scan().
getList() - Method in class io.github.lukehutch.fastclasspathscanner.utils.AdditionOrderedSet
Get the elements in addition order (i.e.
getNamesOfAllAnnotationClasses() - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the sorted unique names of all annotation classes found during the scan.
getNamesOfAllAnnotationClasses() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the sorted names of all annotation classes found in a whitelisted (and non-blacklisted) package during the scan.
getNamesOfAllClasses() - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Get the sorted unique names of all classes, interfaces and annotations found during the scan.
getNamesOfAllClasses() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the sorted names of all standard classes, interface classes and annotation classes found in a whitelisted (and non-blacklisted) package during the scan.
getNamesOfAllInterfaceClasses() - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the sorted unique names of all interface classes found during the scan.
getNamesOfAllInterfaceClasses() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the sorted names of all interface classes (interfaces) found in a whitelisted (and non-blacklisted) package during the scan.
getNamesOfAllStandardClasses() - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Get the sorted unique names of all standard (non-interface/annotation) classes found during the scan.
getNamesOfAllStandardClasses() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the sorted names of all standard classes found in a whitelisted (and non-blacklisted) package during the scan.
getNamesOfAnnotationsOnClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the sorted list of names of all annotations and meta-annotations on the named class.
getNamesOfAnnotationsOnClass(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Return the names of all annotations and meta-annotations on the specified class or interface.
getNamesOfAnnotationsOnClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Return the names of all annotations and meta-annotations on the specified class or interface.
getNamesOfAnnotationsWithMetaAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the names of all annotations that have the named meta-annotation.
getNamesOfAnnotationsWithMetaAnnotation(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Return the names of all annotations that are annotated with the specified meta-annotation.
getNamesOfAnnotationsWithMetaAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Return the names of all annotations that are annotated with the specified meta-annotation.
getNamesOfClassesImplementing(String) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the sorted list of names of all classes implementing the named interface.
getNamesOfClassesImplementing(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that implement the specified interface or a subinterface, or whose superclasses implement the specified interface or a sub-interface.
getNamesOfClassesImplementing(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that implement the specified interface or a subinterface, or whose superclasses implement the specified interface or a sub-interface.
getNamesOfClassesImplementingAllOf(Class<?>...) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that implement (or have superclasses that implement) all of the specified interfaces or their subinterfaces.
getNamesOfClassesImplementingAllOf(String...) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that implement (or have superclasses that implement) all of the specified interfaces or their subinterfaces.
getNamesOfClassesWithAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the sorted list of names of all standard classes or non-annotation interfaces with the named class annotation or meta-annotation.
getNamesOfClassesWithAnnotation(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that have the specified annotation.
getNamesOfClassesWithAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that have the specified annotation.
getNamesOfClassesWithAnnotationsAllOf(Class<?>...) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that have all of the specified annotations.
getNamesOfClassesWithAnnotationsAllOf(String...) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that have all of the specified annotations.
getNamesOfClassesWithAnnotationsAnyOf(Class<?>...) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that have any of the specified annotations.
getNamesOfClassesWithAnnotationsAnyOf(String...) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that have any of the specified annotations.
getNamesOfClassesWithFieldOfType(String) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return a sorted list of classes that have a field of the named type, where the field type is in a whitelisted (non-blacklisted) package.
getNamesOfClassesWithFieldOfType(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes that have a field of the given type.
getNamesOfClassesWithFieldOfType(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes that have a field of the given type.
getNamesOfMetaAnnotationsOnAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the sorted list of names of all meta-annotations on the named annotation.
getNamesOfMetaAnnotationsOnAnnotation(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Return the names of all meta-annotations on the specified annotation.
getNamesOfMetaAnnotationsOnAnnotation(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Return the names of all meta-annotations on the specified annotation.
getNamesOfSubclassesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the sorted list of names of all subclasses of the named class.
getNamesOfSubclassesOf(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that extend the specified superclass.
getNamesOfSubclassesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that extend the specified superclass.
getNamesOfSubinterfacesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the sorted list of names of all subinterfaces of the named interface.
getNamesOfSubinterfacesOf(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of interfaces on the classpath that extend a given superinterface.
getNamesOfSubinterfacesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of interfaces on the classpath that extend a given superinterface.
getNamesOfSuperclassesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the sorted list of names of all superclasses of the named class.
getNamesOfSuperclassesOf(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that are superclasses of the specified subclass.
getNamesOfSuperclassesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of classes on the classpath that are superclasses of the specified subclass.
getNamesOfSuperinterfacesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.classgraph.ClassGraphBuilder
Return the names of all superinterfaces of the named interface.
getNamesOfSuperinterfacesOf(Class<?>) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of interfaces on the classpath that are superinterfaces of a given subinterface.
getNamesOfSuperinterfacesOf(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the names of interfaces on the classpath that are superinterfaces of a given subinterface.
getReachableClasses(ClassInfo.RelType) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Find all ClassInfo nodes reachable from this ClassInfo node over the given relationship type links (not including this class itself).
getRelatedClasses(ClassInfo.RelType) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Get the ClassInfo objects for the classes related to this one in the specified way.
getRelatedClasses(String, Map<String, ClassInfo>, ClassInfo.RelType) - Static method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Get the ClassInfo objects for the classes related to the named class in the specified way.
getScanResults() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Returns the ClassGraphBuilder created by calling .scan(), or throws RuntimeException if .scan() has not yet been called.
getUniqueClasspathElements() - Method in class io.github.lukehutch.fastclasspathscanner.classpath.ClasspathFinder
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.FastClasspathScanner
Returns the list of all unique File objects 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

H

handle(ClassLoader, ClasspathFinder) - Method in interface io.github.lukehutch.fastclasspathscanner.classpath.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(ClassLoader, ClasspathFinder) - Method in class io.github.lukehutch.fastclasspathscanner.classpath.classloaderhandlers.JBossClassLoaderHandler
 
handle(ClassLoader, ClasspathFinder) - Method in class io.github.lukehutch.fastclasspathscanner.classpath.classloaderhandlers.WeblogicClassLoaderHandler
 
HashClassfileContents - Class in io.github.lukehutch.fastclasspathscanner.utils
An example wrapper for FastClasspathScanner that hashes the content of classfiles encontered on the classpath in order to enable more precise change detection than provided by timestamp checking.
HashClassfileContents(String...) - Constructor for class io.github.lukehutch.fastclasspathscanner.utils.HashClassfileContents
 
hashCode() - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
 

I

implementedInterfaces - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
InterfaceMatchProcessor<T> - Interface in io.github.lukehutch.fastclasspathscanner.matchprocessor
The method to run when a class implementing a specific interface is found on the classpath.
io.github.lukehutch.fastclasspathscanner - package io.github.lukehutch.fastclasspathscanner
 
io.github.lukehutch.fastclasspathscanner.classfileparser - package io.github.lukehutch.fastclasspathscanner.classfileparser
 
io.github.lukehutch.fastclasspathscanner.classgraph - package io.github.lukehutch.fastclasspathscanner.classgraph
 
io.github.lukehutch.fastclasspathscanner.classpath - package io.github.lukehutch.fastclasspathscanner.classpath
 
io.github.lukehutch.fastclasspathscanner.classpath.classloaderhandlers - package io.github.lukehutch.fastclasspathscanner.classpath.classloaderhandlers
 
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.utils - package io.github.lukehutch.fastclasspathscanner.utils
 
isAnnotation - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
isAnnotation() - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Returns true if this ClassInfo corresponds to an annotation.
isImplementedInterface() - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Returns true if this ClassInfo corresponds to an "implemented interface" (meaning a non-annotation interface, or an annotation that has also been implemented as an interface by some class).
isInterface - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
isJar(String) - Static method in class io.github.lukehutch.fastclasspathscanner.classpath.ClasspathFinder
Returns true if the path ends with a JAR extension
isSpecificallyWhitelistedClass(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
Returns true if the given relative path (for a classfile name, including ".class") matches a specifically-whitelisted (and non-blacklisted) classfile's relative path.
isStandardClass() - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
Regular classes are not annotations, and should not be interfaces, but to be robust, even if it's an interface, check if there are super- or sub-classes (if the classpath can contain two versions of a class, once with it defined as a class, and once with it defined as an interface -- classpath masking should fix this, but this is to fix problems like issue #38 in future).

J

jarIsWhitelisted(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
Returns true if a jarfile is whitelisted and not blacklisted.
JBossClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classpath.classloaderhandlers
 
JBossClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classpath.classloaderhandlers.JBossClassLoaderHandler
 

L

link(Map<String, ClassInfo>) - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
Log - Class in io.github.lukehutch.fastclasspathscanner.utils
 
log(int, String) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Log.DeferredLog
 
log(String) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Log.DeferredLog
 
log(int, String, long) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Log.DeferredLog
 
log(String, long) - Method in class io.github.lukehutch.fastclasspathscanner.utils.Log.DeferredLog
 
log(int, String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.Log
 
log(String) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.Log
 
log(int, String, long) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.Log
 
log(String, long) - Static method in class io.github.lukehutch.fastclasspathscanner.utils.Log
 
Log.DeferredLog - Class in io.github.lukehutch.fastclasspathscanner.utils
Class for accumulating ordered log entries from sub-threads, for later writing to the log.
lookForMatches() - Method in interface io.github.lukehutch.fastclasspathscanner.FastClasspathScanner.ClassMatcher
 

M

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.
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.
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.
matchAllStandardClasses(ClassMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Calls the provided ClassMatchProcessor for all standard classes (i.e.
matchClassesImplementing(Class<T>, InterfaceMatchProcessor<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.
matchClassesWithAnnotation(Class<?>, ClassAnnotationMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Calls the provided ClassMatchProcessor if classes are found on the classpath that have the specified annotation.
matchClassesWithFieldOfType(Class<T>, ClassMatchProcessor) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Calls the provided ClassMatchProcessor for classes on the classpath that have a field of the given type.
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, 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, 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, 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.
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, 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, 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, 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.
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, 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, 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, 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.
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, 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, 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, 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.
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(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.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.
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.
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.

O

overrideClasspath(String) - Method in class io.github.lukehutch.fastclasspathscanner.classpath.ClasspathFinder
Override the system classpath with a custom classpath to search.
overrideClasspath(String) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Override the automatically-detected classpath with a custom search path.

P

pathWhitelistMatchStatus(String) - Method in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
Returns true if the given directory path is a descendant of a blacklisted path, or an ancestor or descendant of a whitelisted path.
processMatch(Class<?>) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.ClassAnnotationMatchProcessor
 
processMatch(Class<?>) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.ClassMatchProcessor
 
processMatch(String, byte[]) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.FileMatchContentsProcessor
Process a matching file.
processMatch(File, String, byte[]) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.FileMatchContentsProcessorWithContext
Process a matching file.
processMatch(String, InputStream, long) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.FileMatchProcessor
Process a matching file.
processMatch(File, String, InputStream, long) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.FileMatchProcessorWithContext
Process a matching file.
processMatch(Class<? extends T>) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.InterfaceMatchProcessor
 
processMatch(String, String, Object) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.StaticFinalFieldMatchProcessor
 
processMatch(Class<? extends T>) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.SubclassMatchProcessor
 
processMatch(Class<? extends T>) - Method in interface io.github.lukehutch.fastclasspathscanner.matchprocessor.SubinterfaceMatchProcessor
 
processMatch(File, String, InputStream, long) - Method in interface io.github.lukehutch.fastclasspathscanner.scanner.RecursiveScanner.FileMatchProcessorWrapper
 

R

readClassInfoFromClassfileHeader(String, InputStream, Map<String, HashSet<String>>, ScanSpec, Log.DeferredLog) - Static method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassfileBinaryParser
Directly examine contents of classfile binary header to determine annotations, implemented interfaces, the super-class etc.
RecursiveScanner - Class in io.github.lukehutch.fastclasspathscanner.scanner
 
RecursiveScanner(ClasspathFinder, ScanSpec, ArrayList<FastClasspathScanner.ClassMatcher>, Map<String, HashSet<String>>, Map<String, ArrayList<StaticFinalFieldMatchProcessor>>) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.RecursiveScanner
Recursive classpath scanner.
RecursiveScanner.FileMatchProcessorWrapper - Interface in io.github.lukehutch.fastclasspathscanner.scanner
An interface called when the corresponding FilePathTester returns true.
RecursiveScanner.FilePathTester - Interface in io.github.lukehutch.fastclasspathscanner.scanner
An interface used to test whether a file's relative path matches a given specification.
registerClassLoaderHandler(ClassLoaderHandler) - Method in class io.github.lukehutch.fastclasspathscanner.classpath.ClasspathFinder
Add an extra ClassLoaderHandler.
registerClassLoaderHandler(ClassLoaderHandler) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Add an extra ClassLoaderHandler.
relatedTypeToClassInfoSet - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
The set of classes related to this one.

S

scan() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Scans the classpath for matching files, and calls any match processors if a match is identified.
scan() - Method in class io.github.lukehutch.fastclasspathscanner.scanner.RecursiveScanner
Scan the classpath, and call any MatchProcessors on files or classes that match.
scan() - Method in class io.github.lukehutch.fastclasspathscanner.utils.HashClassfileContents
Scans the classpath, and updates the mapping from class name to hash of classfile contents.
scanJars - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
True if jarfiles should be scanned.
scanNonJars - Variable in class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
True if non-jarfiles (directories) should be scanned.
ScanSpec - Class in io.github.lukehutch.fastclasspathscanner.scanner
 
ScanSpec(String[]) - Constructor for class io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec
 
ScanSpec.ScanSpecPathMatch - Enum in io.github.lukehutch.fastclasspathscanner.scanner
Whether a path is a descendant of a blacklisted path, or an ancestor or descendant of a whitelisted path.
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.
staticFinalFieldValues - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 
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 an interface that extends another specific interface is found on the classpath.
superclassName - Variable in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassInfoUnlinked
 

T

toString() - Method in class io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo
 

V

valueOf(String) - Static method in enum io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.RelType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.github.lukehutch.fastclasspathscanner.scanner.ScanSpec.ScanSpecPathMatch
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.lukehutch.fastclasspathscanner.classfileparser.ClassInfo.ClassType
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.classfileparser.ClassInfo.RelType
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.scanner.ScanSpec.ScanSpecPathMatch
Returns an array containing the constants of this enum type, in the order they are declared.
verbose - Static variable in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
If set to true, print info while scanning
verbose() - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Switch on verbose mode (prints debug info to System.out).
verbose(boolean) - Method in class io.github.lukehutch.fastclasspathscanner.FastClasspathScanner
Switch on verbose mode if verbosity == true.

W

WeblogicClassLoaderHandler - Class in io.github.lukehutch.fastclasspathscanner.classpath.classloaderhandlers
 
WeblogicClassLoaderHandler() - Constructor for class io.github.lukehutch.fastclasspathscanner.classpath.classloaderhandlers.WeblogicClassLoaderHandler
 
A C D E F G H I J L M O P R S T V W 
Skip navigation links

Copyright © 2016. All rights reserved.