FastClasspathScanner |
FastClasspathScanner.addClassLoader(ClassLoader classLoader) |
Add a ClassLoader to the list of ClassLoaders to scan.
|
FastClasspathScanner |
FastClasspathScanner.alwaysScanClasspathElementRoot() |
Allows you to scan default packages (with package name "") without scanning sub-packages unless they are
whitelisted.
|
FastClasspathScanner |
FastClasspathScanner.alwaysScanClasspathElementRoot(boolean alwaysScanClasspathElementRoot) |
Allows you to scan default packages (with package name "") without scanning sub-packages unless they are
whitelisted.
|
FastClasspathScanner |
FastClasspathScanner.createClassLoaderForMatchingClasses() |
If this method is called, a new URLClassLoader is created for all classes found on the
classpath that match whitelist criteria.
|
FastClasspathScanner |
FastClasspathScanner.disableRecursiveScanning() |
Disable recursive scanning.
|
FastClasspathScanner |
FastClasspathScanner.disableRecursiveScanning(boolean disableRecursiveScanning) |
If true, disable recursive scanning.
|
FastClasspathScanner |
FastClasspathScanner.enableExternalClasses() |
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.
|
FastClasspathScanner |
FastClasspathScanner.enableExternalClasses(boolean enableExternalClasses) |
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.
|
FastClasspathScanner |
FastClasspathScanner.enableFieldAnnotationIndexing() |
Enables field annotation indexing, which allows you to call
ScanResult#getNamesOfClassesWithFieldAnnotation(annotation).
|
FastClasspathScanner |
FastClasspathScanner.enableFieldAnnotationIndexing(boolean enableFieldAnnotationIndexing) |
If enableFieldAnnotationIndexing is true, enables field annotation indexing, which allows you to call
ScanResult#getNamesOfClassesWithFieldAnnotation(annotation).
|
FastClasspathScanner |
FastClasspathScanner.enableFieldInfo() |
Enables the saving of field info during the scan.
|
FastClasspathScanner |
FastClasspathScanner.enableFieldInfo(boolean enableFieldInfo) |
If enableFieldInfo is true, enables the saving of field info during the scan.
|
FastClasspathScanner |
FastClasspathScanner.enableMethodAnnotationIndexing() |
Enables method annotation indexing, which allows you to call
ScanResult#getNamesOfClassesWithMethodAnnotation(annotation).
|
FastClasspathScanner |
FastClasspathScanner.enableMethodAnnotationIndexing(boolean enableMethodAnnotationIndexing) |
If enableMethodAnnotationIndexing is true, enables method annotation indexing, which allows you to call
ScanResult#getNamesOfClassesWithMethodAnnotation(annotation).
|
FastClasspathScanner |
FastClasspathScanner.enableMethodInfo() |
Enables the saving of method info during the scan.
|
FastClasspathScanner |
FastClasspathScanner.enableMethodInfo(boolean enableMethodInfo) |
If enableMethodInfo is true, enables the saving of method info during the scan.
|
FastClasspathScanner |
FastClasspathScanner.filterClasspathElements(FastClasspathScanner.ClasspathElementFilter classpathElementFilter) |
Add a classpath element filter.
|
FastClasspathScanner |
FastClasspathScanner.ignoreFieldVisibility() |
This method causes FastClasspathScanner to ignore field visibility, enabling it to see private,
package-private and protected fields.
|
FastClasspathScanner |
FastClasspathScanner.ignoreFieldVisibility(boolean ignoreFieldVisibility) |
If ignoreFieldVisibility is true, causes FastClasspathScanner to ignore field visibility, enabling it to see
private, package-private and protected fields.
|
FastClasspathScanner |
FastClasspathScanner.ignoreMethodVisibility() |
This method causes FastClasspathScanner to ignore method visibility, enabling it to see private,
package-private and protected methods.
|
FastClasspathScanner |
FastClasspathScanner.ignoreMethodVisibility(boolean ignoreMethodVisibility) |
If ignoreMethodVisibility is true, causes FastClasspathScanner to ignore method visibility, enabling it to
see private, package-private and protected methods.
|
FastClasspathScanner |
FastClasspathScanner.ignoreParentClassLoaders() |
Ignore parent classloaders (i.e.
|
FastClasspathScanner |
FastClasspathScanner.ignoreParentClassLoaders(boolean ignoreParentClassLoaders) |
Ignore parent classloaders (i.e.
|
FastClasspathScanner |
FastClasspathScanner.initializeLoadedClasses(boolean initializeLoadedClasses) |
If initializeLoadedClasses is true, classes loaded with Class.forName() are initialized before passing class
references to MatchProcessors.
|
FastClasspathScanner |
FastClasspathScanner.matchAllAnnotationClasses(ClassMatchProcessor annotationClassMatchProcessor) |
Calls the provided ClassMatchProcessor for all annotation classes (annotation definitions) found in
whitelisted packages on the classpath.
|
FastClasspathScanner |
FastClasspathScanner.matchAllClasses(ClassMatchProcessor classMatchProcessor) |
Calls the provided ClassMatchProcessor for all standard classes, interfaces and annotations found in
whitelisted packages on the classpath.
|
FastClasspathScanner |
FastClasspathScanner.matchAllInterfaceClasses(ClassMatchProcessor interfaceClassMatchProcessor) |
Calls the provided ClassMatchProcessor for all interface classes (interface definitions) found in whitelisted
packages on the classpath.
|
FastClasspathScanner |
FastClasspathScanner.matchAllStandardClasses(ClassMatchProcessor standardClassMatchProcessor) |
Calls the provided ClassMatchProcessor for all standard classes (i.e.
|
<T> FastClasspathScanner |
FastClasspathScanner.matchClassesImplementing(Class<T> implementedInterface,
ImplementingClassMatchProcessor<T> interfaceMatchProcessor) |
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.
|
FastClasspathScanner |
FastClasspathScanner.matchClassesWithAnnotation(Class<?> annotation,
ClassAnnotationMatchProcessor classAnnotationMatchProcessor) |
Calls the provided ClassAnnotationMatchProcessor if classes are found on the classpath that have the
specified annotation.
|
FastClasspathScanner |
FastClasspathScanner.matchClassesWithFieldAnnotation(Class<? extends Annotation> annotation,
FieldAnnotationMatchProcessor fieldAnnotationMatchProcessor) |
Calls the provided FieldAnnotationMatchProcessor if classes are found on the classpath that have one or more
fields with the specified annotation.
|
FastClasspathScanner |
FastClasspathScanner.matchClassesWithMethodAnnotation(Class<? extends Annotation> annotation,
MethodAnnotationMatchProcessor methodAnnotationMatchProcessor) |
Calls the provided MethodAnnotationMatchProcessor if classes are found on the classpath that have one or more
methods with the specified annotation.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenameExtension(String extensionToMatch,
FileMatchContentsProcessor fileMatchContentsProcessor) |
Calls the given FileMatchProcessor if files are found on the classpath that have the given file extension.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenameExtension(String extensionToMatch,
FileMatchContentsProcessorWithContext fileMatchContentsProcessorWithContext) |
Calls the given FileMatchProcessorWithContext if files are found on the classpath that have the given file
extension.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenameExtension(String extensionToMatch,
FileMatchProcessor fileMatchProcessor) |
Calls the given FileMatchProcessor if files are found on the classpath that have the given file extension.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenameExtension(String extensionToMatch,
FileMatchProcessorWithContext fileMatchProcessorWithContext) |
Calls the given FileMatchProcessorWithContext if files are found on the classpath that have the given file
extension.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenameExtension(String extensionToMatch,
FilenameMatchProcessor filenameMatchProcessor) |
Calls the given FilenameMatchProcessor if files are found on the classpath that have the given file
extension.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePath(String relativePathToMatch,
FileMatchContentsProcessor fileMatchContentsProcessor) |
Calls the given FileMatchContentsProcessor if files are found on the classpath that exactly match the given
relative path.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePath(String relativePathToMatch,
FileMatchContentsProcessorWithContext fileMatchContentsProcessorWithContext) |
Calls the given FileMatchContentsProcessorWithContext if files are found on the classpath that exactly match
the given relative path.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePath(String relativePathToMatch,
FileMatchProcessor fileMatchProcessor) |
Calls the given FileMatchProcessor if files are found on the classpath that exactly match the given relative
path.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePath(String relativePathToMatch,
FileMatchProcessorWithContext fileMatchProcessorWithContext) |
Calls the given FileMatchProcessorWithContext if files are found on the classpath that exactly match the
given relative path.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePath(String relativePathToMatch,
FilenameMatchProcessor filenameMatchProcessor) |
Calls the given FilenameMatchProcessor if files are found on the classpath that exactly match the given
relative path.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePathLeaf(String pathLeafToMatch,
FileMatchContentsProcessor fileMatchContentsProcessor) |
Calls the given FileMatchContentsProcessor if files are found on the classpath that exactly match the given
path leafname.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePathLeaf(String pathLeafToMatch,
FileMatchContentsProcessorWithContext fileMatchContentsProcessorWithContext) |
Calls the given FileMatchContentsProcessorWithContext if files are found on the classpath that exactly match
the given path leafname.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePathLeaf(String pathLeafToMatch,
FileMatchProcessor fileMatchProcessor) |
Calls the given FileMatchProcessor if files are found on the classpath that exactly match the given path
leafname.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePathLeaf(String pathLeafToMatch,
FileMatchProcessorWithContext fileMatchProcessorWithContext) |
Calls the given FileMatchProcessorWithContext if files are found on the classpath that exactly match the
given path leafname.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePathLeaf(String pathLeafToMatch,
FilenameMatchProcessor filenameMatchProcessor) |
Calls the given FilenameMatchProcessor if files are found on the classpath that exactly match the given path
leafname.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePattern(String pathRegexp,
FileMatchContentsProcessor fileMatchContentsProcessor) |
Calls the given FileMatchContentsProcessor if files are found on the classpath with the given regexp pattern
in their path.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePattern(String pathRegexp,
FileMatchContentsProcessorWithContext fileMatchContentsProcessorWithContext) |
Calls the given FileMatchContentsProcessorWithContext if files are found on the classpath with the given
regexp pattern in their path.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePattern(String pathRegexp,
FileMatchProcessor fileMatchProcessor) |
Calls the given FileMatchProcessor if files are found on the classpath with the given regexp pattern in their
path.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePattern(String pathRegexp,
FileMatchProcessorWithContext fileMatchProcessorWithContext) |
Calls the given FileMatchProcessorWithContext if files are found on the classpath with the given regexp
pattern in their path.
|
FastClasspathScanner |
FastClasspathScanner.matchFilenamePattern(String pathRegexp,
FilenameMatchProcessor filenameMatchProcessor) |
Calls the given FilenameMatchProcessor if files are found on the classpath with the given regexp pattern in
their path.
|
FastClasspathScanner |
FastClasspathScanner.matchStaticFinalFieldNames(String[] fullyQualifiedStaticFinalFieldNames,
StaticFinalFieldMatchProcessor staticFinalFieldMatchProcessor) |
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.
|
FastClasspathScanner |
FastClasspathScanner.matchStaticFinalFieldNames(String fullyQualifiedStaticFinalFieldName,
StaticFinalFieldMatchProcessor staticFinalFieldMatchProcessor) |
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.
|
FastClasspathScanner |
FastClasspathScanner.matchStaticFinalFieldNames(Set<String> fullyQualifiedStaticFinalFieldNames,
StaticFinalFieldMatchProcessor staticFinalFieldMatchProcessor) |
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.
|
<T> FastClasspathScanner |
FastClasspathScanner.matchSubclassesOf(Class<T> superclass,
SubclassMatchProcessor<T> subclassMatchProcessor) |
Calls the provided SubclassMatchProcessor if classes are found on the classpath that extend the specified
superclass.
|
<T> FastClasspathScanner |
FastClasspathScanner.matchSubinterfacesOf(Class<T> superinterface,
SubinterfaceMatchProcessor<T> subinterfaceMatchProcessor) |
Calls the provided SubinterfaceMatchProcessor if an interface that extends a given superinterface is found on
the classpath.
|
FastClasspathScanner |
FastClasspathScanner.overrideClassLoaders(ClassLoader... overrideClassLoaders) |
Completely override (and ignore) system ClassLoaders and the java.class.path system property.
|
FastClasspathScanner |
FastClasspathScanner.overrideClasspath(Iterable<?> overrideClasspathElements) |
Override the automatically-detected classpath with a custom path.
|
FastClasspathScanner |
FastClasspathScanner.overrideClasspath(Object... overrideClasspathElements) |
Override the automatically-detected classpath with a custom path.
|
FastClasspathScanner |
FastClasspathScanner.overrideClasspath(String overrideClasspath) |
Override the automatically-detected classpath with a custom path, with path elements separated by
File.pathSeparatorChar.
|
FastClasspathScanner |
FastClasspathScanner.registerClassLoaderHandler(Class<? extends ClassLoaderHandler> classLoaderHandlerClass) |
Register an extra ClassLoaderHandler.
|
FastClasspathScanner |
FastClasspathScanner.removeTemporaryFilesAfterScan(boolean removeTemporaryFilesAfterScan) |
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.
|
FastClasspathScanner |
FastClasspathScanner.setAnnotationVisibility(RetentionPolicy annotationVisibility) |
Set annotation visibility (to match the annotation retention policy).
|
FastClasspathScanner |
FastClasspathScanner.strictWhitelist() |
Deprecated.
|
FastClasspathScanner |
FastClasspathScanner.strictWhitelist(boolean strictWhitelist) |
Deprecated.
|
FastClasspathScanner |
FastClasspathScanner.stripZipSFXHeaders() |
Manually strip the self extracting executable header from zipfiles (i.e.
|
FastClasspathScanner |
FastClasspathScanner.suppressMatchProcessorExceptions() |
Causes exceptions thrown inside MatchProcessors to not be re-thrown, wrapped in a MatchProcessorException, at
the end of a synchronous scan.
|
FastClasspathScanner |
FastClasspathScanner.suppressMatchProcessorExceptions(boolean suppressMatchProcessorExceptions) |
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().
|
FastClasspathScanner |
FastClasspathScanner.verbose() |
Switches on verbose mode for debugging purposes.
|
FastClasspathScanner |
FastClasspathScanner.verbose(boolean verbose) |
Switches on verbose mode for debugging purposes if verbose == true.
|