A B C D E F G H I J L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(AnnotationInfo) - Method in interface io.github.classgraph.AnnotationInfoList.AnnotationInfoFilter
-
Whether or not to allow an
AnnotationInfo
list item through the filter. - accept(ClassInfo) - Method in interface io.github.classgraph.ClassInfoList.ClassInfoFilter
-
Whether or not to allow a
ClassInfo
list item through the filter. - accept(FieldInfo) - Method in interface io.github.classgraph.FieldInfoList.FieldInfoFilter
-
Whether or not to allow an
FieldInfo
list item through the filter. - accept(MethodInfo) - Method in interface io.github.classgraph.MethodInfoList.MethodInfoFilter
-
Whether or not to allow an
MethodInfo
list item through the filter. - accept(ModuleInfo) - Method in interface io.github.classgraph.ModuleInfoList.ModuleInfoFilter
-
Whether or not to allow an
ModuleInfo
list item through the filter. - accept(PackageInfo) - Method in interface io.github.classgraph.PackageInfoList.PackageInfoFilter
-
Whether or not to allow an
PackageInfo
list item through the filter. - accept(Resource) - Method in interface io.github.classgraph.ResourceList.ResourceFilter
-
Whether or not to allow a
Resource
list item through the filter. - accept(Resource, byte[]) - Method in interface io.github.classgraph.ResourceList.ByteArrayConsumer
-
Consume the complete content of a
Resource
as a byte array. - accept(Resource, InputStream) - Method in interface io.github.classgraph.ResourceList.InputStreamConsumer
-
Consume a
Resource
as anInputStream
. - accept(Resource, ByteBuffer) - Method in interface io.github.classgraph.ResourceList.ByteBufferConsumer
-
Consume a
Resource
as aByteBuffer
. - acquire() - Method in class nonapi.io.github.classgraph.recycler.Recycler
-
Acquire on object instance of type T, either by reusing a previously recycled instance if possible, or if there are no currently-unused instances, by allocating a new instance.
- acquireRecycleOnClose() - Method in class nonapi.io.github.classgraph.recycler.Recycler
-
Acquire a Recyclable wrapper around an object instance, which can be used to recycle object instances at the end of a try-with-resources block.
- addClassLoader(ClassLoader) - Method in class io.github.classgraph.ClassGraph
-
Add a ClassLoader to the list of ClassLoaders to scan.
- addClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.ScanSpec
-
Add a ClassLoader to the list of ClassLoaders to scan.
- addClasspathElement(String, ClassLoader, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Add a classpath element relative to a base file.
- addClasspathElementObject(Object, ClassLoader, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Add classpath elements from an object obtained from reflection.
- addClasspathElements(String, ClassLoader[], LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Add classpath elements, separated by the system path separator character.
- addClasspathElements(String, ClassLoader, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Add classpath elements, separated by the system path separator character.
- addClasspathElements(ClasspathOrder) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Add all classpath elements in another ClasspathElementOrder after the elements in this order.
- addedClassLoaders - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If non-null, specifies manually-added classloaders that should be searched after the context classloader(s).
- addedModuleLayers - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If non-null, specifies manually-added ModuleLayers that should be searched after the visible ModuleLayers.
- addElapsedTime() - Method in class nonapi.io.github.classgraph.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.
- additionalClassPathEntriesToScan - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
"Class-Path" entries encountered in the manifest file.
- addModuleLayer(Object) - Method in class io.github.classgraph.ClassGraph
-
Add a ModuleLayer to the list of ModuleLayers to scan.
- addModuleLayer(Object) - Method in class nonapi.io.github.classgraph.ScanSpec
-
Add a ModuleLayer to the list of ModuleLayers to scan.
- addToBlacklist(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList
- addToBlacklist(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListLeafname
-
Add to the blacklist.
- addToBlacklist(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListPrefix
-
Add to the blacklist.
- addToBlacklist(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListWholeString
-
Add to the blacklist.
- addToWhitelist(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList
- addToWhitelist(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListLeafname
-
Add to the whitelist.
- addToWhitelist(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListPrefix
-
Add to the whitelist.
- addToWhitelist(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListWholeString
-
Add to the whitelist.
- addWorkUnit(T) - Method in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
Add a unit of work.
- addWorkUnits(Collection<T>) - Method in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
Add multiple units of work.
- advance(int) - Method in class nonapi.io.github.classgraph.types.Parser
-
Advance numChars character positions.
- ANCESTOR_OF_WHITELISTED_PATH - nonapi.io.github.classgraph.ScanSpec.ScanSpecPathMatch
-
Path is an ancestor of a whitelisted path.
- AnnotationClassRef - Class in io.github.classgraph
-
Stores the type descriptor of a
Class<?>
, as found in an annotation parameter value. - AnnotationEnumValue - Class in io.github.classgraph
-
Class for wrapping an enum constant value (split into class name and constant name), as used as an annotation parameter value.
- AnnotationInfo - Class in io.github.classgraph
-
Holds metadata about a specific annotation instance on a class, method, method parameter or field.
- AnnotationInfoList - Class in io.github.classgraph
-
A list of
AnnotationInfo
objects. - AnnotationInfoList.AnnotationInfoFilter - Interface in io.github.classgraph
-
Filter an
AnnotationInfoList
using a predicate mapping anAnnotationInfo
object to a boolean, producing anotherAnnotationInfoList
for all items in the list for which the predicate is true. - AnnotationParameterValue - Class in io.github.classgraph
-
A wrapper used to pair annotation parameter names with annotation parameter values.
- AnnotationParameterValueList - Class in io.github.classgraph
-
A list of
AnnotationParameterValue
objects. - AntClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Ant ClassLoader.
- AntClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.AntClassLoaderHandler
- ANY - io.github.classgraph.TypeArgument.Wildcard
-
The '?' wildcard
- appendToToken(char) - Method in class nonapi.io.github.classgraph.types.Parser
-
Append the given character to the token buffer.
- appendToToken(String) - Method in class nonapi.io.github.classgraph.types.Parser
-
Append the given string to the token buffer.
- ArrayTypeSignature - Class in io.github.classgraph
-
An array type signature.
- asMap() - Method in class io.github.classgraph.AnnotationParameterValueList
- asMap() - Method in class io.github.classgraph.MethodInfoList
- asMap() - Method in class io.github.classgraph.ResourceList
- AT_WHITELISTED_CLASS_PACKAGE - nonapi.io.github.classgraph.ScanSpec.ScanSpecPathMatch
-
Path is the package of a specifically-whitelisted class.
- AT_WHITELISTED_PATH - nonapi.io.github.classgraph.ScanSpec.ScanSpecPathMatch
-
Path is whitelisted.
- AutoCloseableExecutorService - Class in nonapi.io.github.classgraph.concurrency
-
A ThreadPoolExecutor that can be used in a try-with-resources block.
- AutoCloseableExecutorService(int) - Constructor for class nonapi.io.github.classgraph.concurrency.AutoCloseableExecutorService
-
A ThreadPoolExecutor that can be used in a try-with-resources block.
- available() - Method in class io.github.classgraph.Resource.InputStreamResourceCloser
B
- BaseTypeSignature - Class in io.github.classgraph
-
A type signature for a base type (byte, char, double, float, int, long, short, boolean, or void).
- blacklist - Variable in class nonapi.io.github.classgraph.WhiteBlackList
-
Blacklisted items (whole-string match)
- blacklistClasses(String...) - Method in class io.github.classgraph.ClassGraph
-
Specifically blacklist one or more specific classes, preventing them from being scanned even if they are in a whitelisted package.
- blacklistClasspathElementsContainingResourcePath(String...) - Method in class io.github.classgraph.ClassGraph
-
Blacklist classpath elements based on resource paths.
- blacklistGlobs - Variable in class nonapi.io.github.classgraph.WhiteBlackList
-
Blacklist glob strings.
- blacklistIsEmpty() - Method in class nonapi.io.github.classgraph.WhiteBlackList
- blacklistJars(String...) - Method in class io.github.classgraph.ClassGraph
-
Blacklist one or more jars, preventing them from being scanned.
- blacklistLibOrExtJars(String...) - Method in class io.github.classgraph.ClassGraph
-
Blacklist one or more jars in a JRE/JDK "lib/" or "ext/" directory, preventing them from being scanned.
- blacklistModules(String...) - Method in class io.github.classgraph.ClassGraph
-
Blacklist one or more modules, preventing them from being scanned.
- blacklistPackages(String...) - Method in class io.github.classgraph.ClassGraph
-
Prevent the scanning of one or more specific packages and their sub-packages.
- blacklistPaths(String...) - Method in class io.github.classgraph.ClassGraph
-
Prevent the scanning of one or more specific paths and their sub-directories / nested paths.
- blacklistPatterns - Variable in class nonapi.io.github.classgraph.WhiteBlackList
-
Blacklist regexp patterns.
- blacklistPrefixes - Variable in class nonapi.io.github.classgraph.WhiteBlackList
-
Blacklisted items (prefix match)
- buf - Variable in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Bytes read from the beginning of the classfile.
- byteBuffer - Variable in class io.github.classgraph.Resource
- byteBufferToByteArray() - Method in class io.github.classgraph.Resource
- byteBufferToInputStream() - Method in class io.github.classgraph.Resource
- byteBufferToInputStream(ByteBuffer) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
-
Produce an
InputStream
that is able to read from aByteBuffer
.
C
- canRead(File) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
- check() - Method in class nonapi.io.github.classgraph.concurrency.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 nonapi.io.github.classgraph.concurrency.InterruptionChecker
- CLASS_LOADER_HANDLERS - Static variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
-
Default ClassLoaderHandlers.
- classfileIsSpecificallyWhitelisted(String) - Method in class nonapi.io.github.classgraph.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.
- classfilePathToClassName(String) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
-
Convert a classfile path to the corresponding class name.
- classfilePathWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Classfile white/blacklist (path to classfiles, with separator '/', ending in ".class").
- classFilesOnly() - Method in class io.github.classgraph.ResourceList
- classForNameOrNull(String) - Static method in class nonapi.io.github.classgraph.utils.ReflectionUtils
-
Call Class.forName(className), but return null if any exception is thrown.
- ClassGraph - Class in io.github.classgraph
-
Uber-fast, ultra-lightweight Java classpath and module path scanner.
- ClassGraph() - Constructor for class io.github.classgraph.ClassGraph
-
Construct a ClassGraph instance.
- ClassGraph.ClasspathElementFilter - Interface in io.github.classgraph
-
Add a classpath element filter.
- ClassGraph.FailureHandler - Interface in io.github.classgraph
-
A callback used to handle failure during an asynchronous scan.
- ClassGraph.ScanResultProcessor - Interface in io.github.classgraph
-
A callback used to process the result of a successful asynchronous scan.
- ClassInfo - Class in io.github.classgraph
-
Holds metadata about a class encountered during a scan.
- ClassInfoList - Class in io.github.classgraph
-
A list of
ClassInfo
objects, which stores both reachable classes (obtained through a given class relationship, either by direct relationship or through an indirect path), and directly related classes (classes reachable through a direct relationship only). - ClassInfoList.ClassInfoFilter - Interface in io.github.classgraph
-
Filter a
ClassInfoList
using a predicate mapping aClassInfo
object to a boolean, producing anotherClassInfoList
for all items in the list for which the predicate is true. - ClassLoaderAndModuleFinder - Class in nonapi.io.github.classgraph.classpath
-
A class to find the unique ordered classpath elements.
- ClassLoaderAndModuleFinder(ScanSpec, LogNode) - Constructor for class nonapi.io.github.classgraph.classpath.ClassLoaderAndModuleFinder
-
A class to find the unique ordered classpath elements.
- ClassLoaderHandler - Interface in nonapi.io.github.classgraph.classloaderhandler
-
A ClassLoader handler.
- ClassLoaderHandler.DelegationOrder - Enum in nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
The ClassLoader class..
- ClassLoaderHandlerRegistry - Class in nonapi.io.github.classgraph.classloaderhandler
-
The registry for ClassLoaderHandler classes.
- ClassLoaderHandlerRegistry() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
- ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry - Class in nonapi.io.github.classgraph.classloaderhandler
-
A list of fully-qualified ClassLoader class names paired with the ClassLoaderHandler that can handle them.
- ClassLoaderHandlerRegistryEntry(Class<? extends ClassLoaderHandler>) - Constructor for class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
- ClassLoaderHandlerRegistryEntry(ClassLoaderHandler) - Constructor for class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
- classNameToClassfilePath(String) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
-
Convert a class name to the corresponding classfile path.
- classNameToClassfilePath(String) - Static method in class nonapi.io.github.classgraph.WhiteBlackList
-
Convert a class name to a classfile path.
- classOrPackageIsBlacklisted(String) - Method in class nonapi.io.github.classgraph.ScanSpec
-
Returns true if the class is specifically blacklisted, or is within a blacklisted package.
- classOrPackageIsSpecificallyWhitelisted(String) - Method in class nonapi.io.github.classgraph.ScanSpec
-
Returns true if the class is specifically whitelisted, or is within a whitelisted package.
- classPackagePathWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Path to white/blacklisted classes (with separator '/').
- classPackageWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Package containing white/blacklisted classes (with separator '.').
- classpathContentsLastModifiedTime() - Method in class io.github.classgraph.ScanResult
-
Find the maximum last-modified timestamp of any whitelisted file/directory/jarfile encountered during the scan.
- classpathContentsModifiedSinceScan() - Method in class io.github.classgraph.ScanResult
-
Determine whether the classpath contents have been modified since the last scan.
- classpathElementFilters - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If non-null, a list of filter operations to apply to classpath elements.
- classpathElementResourcePathWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Classpath element resource path white/blacklist.
- ClasspathFinder - Class in nonapi.io.github.classgraph.classpath
-
A class to find the unique ordered classpath elements.
- ClasspathFinder(ScanSpec, Map<String, ClassLoader[]>, NestedJarHandler, LogNode) - Constructor for class nonapi.io.github.classgraph.classpath.ClasspathFinder
-
A class to find the unique ordered classpath elements.
- ClasspathOrder - Class in nonapi.io.github.classgraph.classpath
-
A class to find the unique ordered classpath elements.
- ClassRefOrTypeVariableSignature - Class in io.github.classgraph
-
A class type or type variable.
- ClassRefOrTypeVariableSignature() - Constructor for class io.github.classgraph.ClassRefOrTypeVariableSignature
- ClassRefTypeSignature - Class in io.github.classgraph
-
A class reference type signature (called "ClassTypeSignature" in the classfile documentation).
- ClassTypeSignature - Class in io.github.classgraph
-
A class type signature (called "ClassSignature" in the classfile documentation).
- classWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Class white/blacklist (fully-qualified class names, with separator '.').
- clear() - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
-
Clear the map.
- close() - Method in class io.github.classgraph.ModuleReaderProxy
-
Calls ModuleReader#close().
- close() - Method in class io.github.classgraph.Resource
-
Close the underlying InputStream, or release/unmap the underlying ByteBuffer.
- close() - Method in class io.github.classgraph.Resource.InputStreamResourceCloser
- close() - Method in class io.github.classgraph.ResourceList
-
Close all the
Resource
objects in thisResourceList
. - close() - Method in class io.github.classgraph.ScanResult
-
Free any temporary files created by extracting jars or files from within jars.
- close() - Method in class nonapi.io.github.classgraph.concurrency.AutoCloseableExecutorService
-
Shut down thread pool on close().
- close() - Method in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
Ensure that there are no work units still uncompleted.
- close() - Method in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
- close() - Method in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
- close() - Method in class nonapi.io.github.classgraph.fastzipfilereader.RecyclableInflater
- close() - Method in class nonapi.io.github.classgraph.recycler.RecycleOnClose
-
Recycle an instance.
- close() - Method in class nonapi.io.github.classgraph.recycler.Recycler
-
Free all unused instances.
- close(LogNode) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
Close zipfiles, modules, and recyclers, and delete temporary files.
- compareTo(AnnotationEnumValue) - Method in class io.github.classgraph.AnnotationEnumValue
- compareTo(AnnotationInfo) - Method in class io.github.classgraph.AnnotationInfo
- compareTo(AnnotationParameterValue) - Method in class io.github.classgraph.AnnotationParameterValue
- compareTo(ClassInfo) - Method in class io.github.classgraph.ClassInfo
-
Compare based on class name.
- compareTo(FieldInfo) - Method in class io.github.classgraph.FieldInfo
-
Sort in order of class name then field name
- compareTo(MethodInfo) - Method in class io.github.classgraph.MethodInfo
-
Sort in order of class name, method name, then type descriptor.
- compareTo(ModuleInfo) - Method in class io.github.classgraph.ModuleInfo
- compareTo(ModuleRef) - Method in class io.github.classgraph.ModuleRef
- compareTo(PackageInfo) - Method in class io.github.classgraph.PackageInfo
- compareTo(Resource) - Method in class io.github.classgraph.Resource
- compareTo(FastZipEntry) - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
Sort in decreasing order of version number, then lexicographically increasing order of unversioned entry path.
- compressedSize - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The compressed size of the zip entry, in bytes.
- containsName(String) - Method in class io.github.classgraph.AnnotationParameterValueList
- containsName(String) - Method in class io.github.classgraph.MethodInfoList
- create(InputStream) - Static method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Create a new InputStream adapter.
- create(ByteBuffer) - Static method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Create a new ByteBuffer adapter.
- createURLClassLoaderFromPathString(String) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
-
Create a custom URLClassLoader from a classpath path string.
- curr - Variable in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
The current position in the buffer.
- CURR_DIR_PATH - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
-
The current directory path (only reads the current directory once, the first time this field is accessed, so will not reflect subsequent changes to the current directory).
- currToken() - Method in class nonapi.io.github.classgraph.types.Parser
-
Get the current token, and reset the token to empty.
D
- deserializeObject(Class<T>, String) - Static method in class nonapi.io.github.classgraph.json.JSONDeserializer
-
Deserialize JSON to a new object graph, with the root object of the specified expected type.
- deserializeToField(Object, String, String) - Static method in class nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.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.
- directOnly() - Method in class io.github.classgraph.AnnotationInfoList
-
returns the list of direct annotations, excluding meta-annotations.
- directOnly() - Method in class io.github.classgraph.ClassInfoList
-
Get the list of classes that were directly related, as opposed to reachable through multiple steps.
- dirWhitelistMatchStatus(String) - Method in class nonapi.io.github.classgraph.ScanSpec
-
Returns true if the given directory path is a descendant of a blacklisted path, or an ancestor or descendant of a whitelisted path.
- disableDirScanning() - Method in class io.github.classgraph.ClassGraph
-
Disables the scanning of directories.
- disableJarScanning() - Method in class io.github.classgraph.ClassGraph
-
Disables the scanning of jarfiles.
- disableModuleScanning() - Method in class io.github.classgraph.ClassGraph
-
Disables the scanning of modules.
- disableNestedJarScanning() - Method in class io.github.classgraph.ClassGraph
-
Disables the scanning of nested jarfiles (jarfiles within jarfiles).
- disableRuntimeInvisibleAnnotations - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, don't scan runtime-invisible annotations (only scan annotations with RetentionPolicy.RUNTIME).
- disableRuntimeInvisibleAnnotations() - Method in class io.github.classgraph.ClassGraph
-
Causes only runtime visible annotations to be scanned (causes runtime invisible annotations to be ignored).
E
- enableAllInfo() - Method in class io.github.classgraph.ClassGraph
-
Enables the scanning of all classes, fields, methods, annotations, and static final field constant initializer values, and ignores all visibility modifiers, so that both public and non-public classes, fields and methods are all scanned.
- enableAnnotationInfo - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, enables the saving of annotation info (for class, field, method or method parameter annotations) during the scan.
- enableAnnotationInfo() - Method in class io.github.classgraph.ClassGraph
-
Enables the saving of annotation info (for class, field, method and method parameter annotations) during the scan.
- enableClassInfo - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, scan classfile bytecodes, producing
ClassInfo
objects. - enableClassInfo() - Method in class io.github.classgraph.ClassGraph
-
Enables the scanning of classfiles, producing
ClassInfo
objects in theScanResult
. - enableExternalClasses - Variable in class nonapi.io.github.classgraph.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.classgraph.ClassGraph
-
Causes ClassGraph to return 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.
- enableFieldInfo - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, enables the saving of field info during the scan.
- enableFieldInfo() - Method in class io.github.classgraph.ClassGraph
-
Enables the saving of field info during the scan.
- enableMethodInfo - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, enables the saving of method info during the scan.
- enableMethodInfo() - Method in class io.github.classgraph.ClassGraph
-
Enables the saving of method info during the scan.
- enableStaticFinalFieldConstantInitializerValues - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Enable the storing of constant initializer values for static final fields in ClassInfo objects.
- enableStaticFinalFieldConstantInitializerValues() - Method in class io.github.classgraph.ClassGraph
-
Enables the saving of static final field constant initializer values.
- enableSystemJarsAndModules - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, system jarfiles (rt.jar) and system packages and modules (java.*, jre.*, etc.) should be scanned .
- enableSystemJarsAndModules() - Method in class io.github.classgraph.ClassGraph
-
Enables the scanning of system packages (
"java.*"
,"javax.*"
,"javafx.*"
,"jdk.*"
,"oracle.*"
,"sun.*"
) -- these are not scanned by default for speed. - enableSystemPackages() - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.enableSystemJarsAndModules()
instead. - entryName - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The zip entry path.
- entryNameUnversioned - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The unversioned entry name (i.e.
- equals(Object) - Method in class io.github.classgraph.AnnotationClassRef
- equals(Object) - Method in class io.github.classgraph.AnnotationEnumValue
- equals(Object) - Method in class io.github.classgraph.AnnotationInfo
- equals(Object) - Method in class io.github.classgraph.AnnotationParameterValue
- equals(Object) - Method in class io.github.classgraph.ArrayTypeSignature
- equals(Object) - Method in class io.github.classgraph.BaseTypeSignature
- equals(Object) - Method in class io.github.classgraph.ClassInfo
-
Use class name for equals().
- equals(Object) - Method in class io.github.classgraph.ClassRefTypeSignature
- equals(Object) - Method in class io.github.classgraph.ClassTypeSignature
- equals(Object) - Method in class io.github.classgraph.FieldInfo
-
Use class name and field name for equals().
- equals(Object) - Method in class io.github.classgraph.MethodInfo
-
Test class name, method name and type descriptor for equals().
- equals(Object) - Method in class io.github.classgraph.MethodTypeSignature
- equals(Object) - Method in class io.github.classgraph.ModuleInfo
- equals(Object) - Method in class io.github.classgraph.ModuleRef
- equals(Object) - Method in class io.github.classgraph.PackageInfo
- equals(Object) - Method in class io.github.classgraph.Resource
- equals(Object) - Method in class io.github.classgraph.TypeArgument
- equals(Object) - Method in class io.github.classgraph.TypeParameter
- equals(Object) - Method in class io.github.classgraph.TypeVariableSignature
- equals(Object) - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
- equals(Object) - Method in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
- equals(Object) - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
- equalsIgnoringTypeParams(TypeSignature) - Method in class io.github.classgraph.ArrayTypeSignature
- equalsIgnoringTypeParams(TypeSignature) - Method in class io.github.classgraph.BaseTypeSignature
- equalsIgnoringTypeParams(TypeSignature) - Method in class io.github.classgraph.ClassRefTypeSignature
- equalsIgnoringTypeParams(TypeSignature) - Method in class io.github.classgraph.TypeSignature
-
Compare base types, ignoring generic type parameters.
- equalsIgnoringTypeParams(TypeSignature) - Method in class io.github.classgraph.TypeVariableSignature
- EquinoxClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Eclipse Equinox ClassLoader.
- EquinoxClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
- EquinoxContextFinderClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Eclipse Equinox ContextFinder ClassLoader.
- EquinoxContextFinderClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.EquinoxContextFinderClassLoaderHandler
- escapeJSONString(String) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Escape a string to be surrounded in double quotes in JSON.
- exclude(ClassInfoList) - Method in class io.github.classgraph.ClassInfoList
-
Find the set difference between this
ClassInfoList
and anotherClassInfoList
, i.e. - executionException(Exception) - Method in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
-
Stop all threads that share this InterruptionChecker due to an exception being thrown in one of them.
- expect(char) - Method in class nonapi.io.github.classgraph.types.Parser
-
Expect the next character.
- EXTENDS - io.github.classgraph.TypeArgument.Wildcard
-
extends
- extendScanningUpwardsToExternalClasses - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, when classes have superclasses, implemented interfaces or annotations that are external classes, those classes are also scanned.
- extendsSuperclass(String) - Method in class io.github.classgraph.ClassInfo
F
- FALLBACK_CLASS_LOADER_HANDLER - Static variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
-
The fallback ClassLoaderHandler.
- FallbackClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Fallback ClassLoaderHandler.
- FallbackClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.FallbackClassLoaderHandler
- FastPathResolver - Class in nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.utils.FastPathResolver
- FastZipEntry - Class in nonapi.io.github.classgraph.fastzipfilereader
-
A zip entry within a
LogicalZipFile
. - FastZipEntry(LogicalZipFile, long, String, boolean, long, long, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
- FelixClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Custom Class Loader Handler for OSGi Felix ClassLoader.
- FelixClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
- FieldInfo - Class in io.github.classgraph
-
Holds metadata about fields of a class encountered during a scan.
- FieldInfoList - Class in io.github.classgraph
-
A list of
FieldInfo
objects. - FieldInfoList.FieldInfoFilter - Interface in io.github.classgraph
-
Filter an
FieldInfoList
using a predicate mapping anFieldInfo
object to a boolean, producing anotherFieldInfoList
for all items in the list for which the predicate is true. - FILECHANNEL_FILE_SIZE_THRESHOLD - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
-
The minimum filesize at which it becomes more efficient to read a file with a memory-mapped file channel rather than an InputStream.
- FileUtils - Class in nonapi.io.github.classgraph.utils
-
File utilities.
- FileUtils() - Constructor for class nonapi.io.github.classgraph.utils.FileUtils
- filter(AnnotationInfoList.AnnotationInfoFilter) - Method in class io.github.classgraph.AnnotationInfoList
-
Find the subset of the
AnnotationInfo
objects in this list for which the given filter predicate is true. - filter(ClassInfoList.ClassInfoFilter) - Method in class io.github.classgraph.ClassInfoList
-
Find the subset of this
ClassInfoList
for which the given filter predicate is true. - filter(FieldInfoList.FieldInfoFilter) - Method in class io.github.classgraph.FieldInfoList
-
Find the subset of the
FieldInfo
objects in this list for which the given filter predicate is true. - filter(MethodInfoList.MethodInfoFilter) - Method in class io.github.classgraph.MethodInfoList
-
Find the subset of the
MethodInfo
objects in this list for which the given filter predicate is true. - filter(ModuleInfoList.ModuleInfoFilter) - Method in class io.github.classgraph.ModuleInfoList
-
Find the subset of the
ModuleInfo
objects in this list for which the given filter predicate is true. - filter(PackageInfoList.PackageInfoFilter) - Method in class io.github.classgraph.PackageInfoList
-
Find the subset of the
PackageInfo
objects in this list for which the given filter predicate is true. - filter(ResourceList.ResourceFilter) - Method in class io.github.classgraph.ResourceList
-
Find the subset of the
Resource
objects in this list for which the given filter predicate is true. - filterClasspathElements(ClassGraph.ClasspathElementFilter) - Method in class io.github.classgraph.ClassGraph
-
Add a classpath element filter.
- filterClasspathElements(ClassGraph.ClasspathElementFilter) - Method in class nonapi.io.github.classgraph.ScanSpec
-
Add a classpath element filter.
- findDuplicatePaths() - Method in class io.github.classgraph.ResourceList
- flush() - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Flush out the log to stderr, and clear the log contents.
- forceClose() - Method in class nonapi.io.github.classgraph.recycler.Recycler
-
Force-close this
Recycler
, by forcibly moving any instances that have been acquired but not yet recycled into the unused instances list, then callingRecycler.close()
to close anyAutoCloseable
instances and discard all instances. - forEachByteArray(ResourceList.ByteArrayConsumer) - Method in class io.github.classgraph.ResourceList
-
Fetch the content of each
Resource
in thisResourceList
as a byte array, pass the byte array to the givenResourceList.ByteArrayConsumer
, then close the underlying InputStream or release the underlying ByteBuffer by callingResource.close()
. - forEachByteArray(ResourceList.ByteArrayConsumer, boolean) - Method in class io.github.classgraph.ResourceList
-
Fetch the content of each
Resource
in thisResourceList
as a byte array, pass the byte array to the givenResourceList.ByteArrayConsumer
, then close the underlying InputStream or release the underlying ByteBuffer by callingResource.close()
. - forEachByteBuffer(ResourceList.ByteBufferConsumer) - Method in class io.github.classgraph.ResourceList
-
Read each
Resource
in thisResourceList
as aByteBuffer
, pass theByteBuffer
to the givenResourceList.InputStreamConsumer
, then release theByteBuffer
after theResourceList.ByteBufferConsumer
returns, by callingResource.close()
. - forEachByteBuffer(ResourceList.ByteBufferConsumer, boolean) - Method in class io.github.classgraph.ResourceList
-
Read each
Resource
in thisResourceList
as aByteBuffer
, pass theByteBuffer
to the givenResourceList.InputStreamConsumer
, then release theByteBuffer
after theResourceList.ByteBufferConsumer
returns, by callingResource.close()
. - forEachInputStream(ResourceList.InputStreamConsumer) - Method in class io.github.classgraph.ResourceList
-
Fetch an
InputStream
for eachResource
in thisResourceList
, pass theInputStream
to the givenResourceList.InputStreamConsumer
, then close theInputStream
after theResourceList.InputStreamConsumer
returns, by callingResource.close()
. - forEachInputStream(ResourceList.InputStreamConsumer, boolean) - Method in class io.github.classgraph.ResourceList
-
Fetch an
InputStream
for eachResource
in thisResourceList
, pass theInputStream
to the givenResourceList.InputStreamConsumer
, then close theInputStream
after theResourceList.InputStreamConsumer
returns, by callingResource.close()
. - fromJSON(String) - Static method in class io.github.classgraph.ScanResult
-
Deserialize a ScanResult from previously-serialized JSON.
G
- generateGraphVizDotFile() - Method in class io.github.classgraph.ClassInfoList
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- generateGraphVizDotFile(float, float) - Method in class io.github.classgraph.ClassInfoList
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- generateGraphVizDotFile(float, float, boolean, boolean, boolean, boolean, boolean) - Method in class io.github.classgraph.ClassInfoList
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- generateGraphVizDotFile(File) - Method in class io.github.classgraph.ClassInfoList
-
Generate a and save a .dot file, which can be fed into GraphViz for layout and visualization of the class graph.
- get() - Method in class nonapi.io.github.classgraph.recycler.RecycleOnClose
- get(String) - Method in class io.github.classgraph.AnnotationParameterValueList
- get(String) - Method in class io.github.classgraph.MethodInfoList
-
Returns a list of all methods matching a given name.
- get(K, LogNode) - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
-
Check if the given key is in the map, and if so, return it.
- getAllAnnotations() - Method in class io.github.classgraph.ScanResult
-
Get all annotation classes found during the scan.
- getAllClasses() - Method in class io.github.classgraph.ScanResult
-
Get all classes, interfaces and annotations found during the scan.
- getAllInterfaces() - Method in class io.github.classgraph.ScanResult
-
Get all interface classes found during the scan (not including annotations, which are also technically interfaces).
- getAllInterfacesAndAnnotations() - Method in class io.github.classgraph.ScanResult
-
Get all interface or annotation classes found during the scan.
- getAllResources() - Method in class io.github.classgraph.ScanResult
- getAllStandardClasses() - Method in class io.github.classgraph.ScanResult
-
Get all standard (non-interface/non-annotation) classes found during the scan.
- getAnnotationDefaultParameterValues() - Method in class io.github.classgraph.ClassInfo
- getAnnotationInfo() - Method in class io.github.classgraph.ClassInfo
-
Get a list of the annotations on this class, or the empty list if none.
- getAnnotationInfo() - Method in class io.github.classgraph.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.classgraph.MethodInfo
-
Get a list of annotations on this method, along with any annotation parameter values.
- getAnnotationInfo() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter annotation info (or null if no annotations).
- getAnnotationInfo() - Method in class io.github.classgraph.ModuleInfo
-
Get any annotations on the
package-info.class
file. - getAnnotationInfo() - Method in class io.github.classgraph.PackageInfo
-
Get any annotations on the
package-info.class
file. - getAnnotationInfo(String) - Method in class io.github.classgraph.ClassInfo
-
Get a the named annotation on this class, or null if the class does not have the named annotation.
- getAnnotationInfo(String) - Method in class io.github.classgraph.FieldInfo
-
Get a the named annotation on this field, or null if the field does not have the named annotation.
- getAnnotationInfo(String) - Method in class io.github.classgraph.MethodInfo
-
Get a the named annotation on this method, or null if the method does not have the named annotation.
- getAnnotationInfo(String) - Method in class io.github.classgraph.MethodParameterInfo
-
Get a the named annotation on this method parameter, or null if the method parameter does not have the named annotation.
- getAnnotationInfo(String) - Method in class io.github.classgraph.ModuleInfo
-
Get a the named annotation on this module, or null if the module does not have the named annotation.
- getAnnotationInfo(String) - Method in class io.github.classgraph.PackageInfo
-
Get a the named annotation on this package, or null if the package does not have the named annotation.
- getAnnotations() - Method in class io.github.classgraph.ClassInfo
-
Get the annotations and meta-annotations on this class.
- getAnnotations() - Method in class io.github.classgraph.ClassInfoList
-
Filter this
ClassInfoList
to include only annotations. - getAnnotationsOnClass(String) - Method in class io.github.classgraph.ScanResult
-
Get annotations on the named class.
- getAsStrings() - Method in class io.github.classgraph.AnnotationParameterValueList
- getBaseClassName() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get the name of the base class.
- getc() - Method in class nonapi.io.github.classgraph.types.Parser
-
Get the next character.
- getChildren() - Method in class io.github.classgraph.PackageInfo
-
The child packages of this package, or the empty list if none.
- getClassBound() - Method in class io.github.classgraph.TypeParameter
-
Get the type parameter class bound.
- getClassesImplementing() - Method in class io.github.classgraph.ClassInfo
- getClassesImplementing(String) - Method in class io.github.classgraph.ScanResult
-
Get all classes that implement (or have superclasses that implement) the named interface (or one of its subinterfaces).
- getClassesWithAnnotation() - Method in class io.github.classgraph.ClassInfo
- getClassesWithAnnotation(String) - Method in class io.github.classgraph.ScanResult
-
Get classes with the named class annotation or meta-annotation.
- getClassesWithFieldAnnotation() - Method in class io.github.classgraph.ClassInfo
- getClassesWithFieldAnnotation(String) - Method in class io.github.classgraph.ScanResult
-
Get classes that have a field with an annotation of the named type.
- getClassesWithMethodAnnotation() - Method in class io.github.classgraph.ClassInfo
- getClassesWithMethodAnnotation(String) - Method in class io.github.classgraph.ScanResult
-
Get classes that have a method with an annotation of the named type.
- getClassInfo() - Method in class io.github.classgraph.AnnotationClassRef
- getClassInfo() - Method in class io.github.classgraph.AnnotationInfo
- getClassInfo() - Method in class io.github.classgraph.AnnotationParameterValue
- getClassInfo() - Method in class io.github.classgraph.ArrayTypeSignature
- getClassInfo() - Method in class io.github.classgraph.BaseTypeSignature
- getClassInfo() - Method in class io.github.classgraph.ClassInfo
- getClassInfo() - Method in class io.github.classgraph.ClassRefTypeSignature
- getClassInfo() - Method in class io.github.classgraph.ClassTypeSignature
- getClassInfo() - Method in class io.github.classgraph.FieldInfo
- getClassInfo() - Method in class io.github.classgraph.MethodInfo
- getClassInfo() - Method in class io.github.classgraph.MethodTypeSignature
- getClassInfo() - Method in class io.github.classgraph.ModuleInfo
-
Get the
ClassInfo
objects for all classes that are members of this package. - getClassInfo() - Method in class io.github.classgraph.PackageInfo
-
Get the
ClassInfo
objects for all classes that are members of this package. - getClassInfo() - Method in class io.github.classgraph.TypeArgument
- getClassInfo() - Method in class io.github.classgraph.TypeParameter
- getClassInfo(String) - Method in class io.github.classgraph.ModuleInfo
-
Get the
ClassInfo
object for the named class in this module, or null if the class was not found in this module. - getClassInfo(String) - Method in class io.github.classgraph.PackageInfo
-
Get the
ClassInfo
object for the named class in this package, or null if the class was not found in this module. - getClassInfo(String) - Method in class io.github.classgraph.ScanResult
-
Get the
ClassInfo
object for the named class, or null if no class of the requested name was found in a whitelisted/non-blacklisted package during the scan. - getClassInfoRecursive() - Method in class io.github.classgraph.PackageInfo
-
Get the
ClassInfo
objects for all classes that are members of this package or a sub-package. - getClassLoader() - Method in class io.github.classgraph.ModuleRef
- getClassLoaderAndModuleFinder() - Method in class nonapi.io.github.classgraph.classpath.ClasspathFinder
- getClassName() - Method in class io.github.classgraph.AnnotationClassRef
- getClassName() - Method in class io.github.classgraph.AnnotationEnumValue
- getClassName() - Method in class io.github.classgraph.AnnotationInfo
-
Return the name of the annotation class, for
AnnotationInfo.getClassInfo()
. - getClassName() - Method in class io.github.classgraph.AnnotationParameterValue
- getClassName() - Method in class io.github.classgraph.ArrayTypeSignature
- getClassName() - Method in class io.github.classgraph.BaseTypeSignature
- getClassName() - Method in class io.github.classgraph.ClassInfo
- getClassName() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get the fully qualified class name (used by
ClassRefTypeSignature.getClassInfo()
andClassRefTypeSignature.loadClass()
. - getClassName() - Method in class io.github.classgraph.ClassTypeSignature
- getClassName() - Method in class io.github.classgraph.FieldInfo
-
Returns the name of the declaring class, so that super.getClassInfo() returns the
ClassInfo
object for the declaring class. - getClassName() - Method in class io.github.classgraph.MethodInfo
-
Returns the declaring class name, so that super.getClassInfo() returns the
ClassInfo
object for the declaring class. - getClassName() - Method in class io.github.classgraph.MethodTypeSignature
- getClassName() - Method in class io.github.classgraph.TypeArgument
- getClassName() - Method in class io.github.classgraph.TypeParameter
- getClassName() - Method in class io.github.classgraph.TypeVariableSignature
-
Return definingClassName, so that getClassInfo() returns the
ClassInfo
object for the containing class. - getClassNamesFromTypeDescriptors(Set<String>) - Method in class io.github.classgraph.AnnotationClassRef
- getClassNamesFromTypeDescriptors(Set<String>) - Method in class io.github.classgraph.ClassInfo
-
Get the names of any classes referenced in this class' type descriptor, or the type descriptors of fields, methods or annotations.
- getClassNamesFromTypeDescriptors(Set<String>) - Method in class io.github.classgraph.FieldInfo
-
Get the names of any classes in the type descriptor or type signature.
- getClassNamesFromTypeDescriptors(Set<String>) - Method in class io.github.classgraph.MethodInfo
-
Get the names of any classes in the type descriptor or type signature.
- getClasspath() - Method in class io.github.classgraph.ClassGraph
-
Returns the list of all unique File objects representing directories or zip/jarfiles on the classpath, in classloader resolution order, in the form of a classpath path string.
- getClasspath() - Method in class io.github.classgraph.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.
- getClasspathElementFile() - Method in class io.github.classgraph.ClassInfo
- getClasspathElementFile() - Method in class io.github.classgraph.Resource
- getClasspathElementURL() - Method in class io.github.classgraph.ClassInfo
- getClasspathElementURL() - Method in class io.github.classgraph.Resource
- getClasspathFiles() - Method in class io.github.classgraph.ClassGraph
-
Returns the list of all unique File objects representing directories or zip/jarfiles on the classpath, in classloader resolution order.
- getClasspathFiles() - Method in class io.github.classgraph.ScanResult
-
Returns the list of File objects for unique classpath elements (directories or jarfiles), in classloader resolution order.
- getClasspathOrder() - Method in class nonapi.io.github.classgraph.classpath.ClasspathFinder
- getClasspathURLs() - Method in class io.github.classgraph.ClassGraph
-
Returns the list of all unique URL objects representing directories, zip/jarfiles or modules on the classpath, in classloader resolution order.
- getClasspathURLs() - Method in class io.github.classgraph.ScanResult
-
Returns the list of unique classpath element paths as URLs, in classloader resolution order.
- getConstantInitializerValue() - Method in class io.github.classgraph.FieldInfo
-
Returns the constant initializer value of a constant final field.
- getConstructorInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible constructors declared by this class, or by its interfaces or superclasses.
- getContextClassLoaders() - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderAndModuleFinder
- getDeclaredConstructorInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible constructors declared by this class, but not by its interfaces or superclasses.
- getDeclaredFieldInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on all visible fields declared by this class, but not by its superclasses.
- getDeclaredFieldInfo(String) - Method in class io.github.classgraph.ClassInfo
-
Returns information on the named field declared by the class, but not by its superclasses.
- getDeclaredMethodAndConstructorInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible methods and constructors declared by this class, but not by its interfaces or superclasses.
- getDeclaredMethodInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible methods declared by this class, but not by its interfaces or superclasses, that are not constructors.
- getDeclaredMethodInfo(String) - Method in class io.github.classgraph.ClassInfo
-
Returns information on the method(s) or constructor(s) of the given name declared by this class, but not by its interfaces or superclasses.
- getDefaultParameterValues() - Method in class io.github.classgraph.AnnotationInfo
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.AntClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in interface nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxContextFinderClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.FallbackClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.JPMSClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.OSGiDefaultClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.ParentLastDelegationOrderTestClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.URLClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.WeblogicClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
- getDelegationOrder(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereTraditionalClassLoaderHandler
- getDescriptor() - Method in class io.github.classgraph.ModuleRef
- getElementTypeSignature() - Method in class io.github.classgraph.ArrayTypeSignature
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.AntClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in interface nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandler
-
If this ClassLoader delegates directly to an embedded classloader instance, return it here, otherwise return null.
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxContextFinderClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.FallbackClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.JPMSClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.OSGiDefaultClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.ParentLastDelegationOrderTestClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.URLClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.WeblogicClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
- getEmbeddedClassLoader(ClassLoader) - Method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereTraditionalClassLoaderHandler
- getEntries() - Method in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
Get the zipfile entries.
- getEnums() - Method in class io.github.classgraph.ClassInfoList
-
Filter this
ClassInfoList
to include onlyEnum
classes. - getFieldAnnotations() - Method in class io.github.classgraph.ClassInfo
- getFieldInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on all visible fields declared by this class, or by its superclasses.
- getFieldInfo(String) - Method in class io.github.classgraph.ClassInfo
-
Returns information on the named filed declared by this class, or by its superclasses.
- getFieldVal(Object, String, boolean) - Static method in class nonapi.io.github.classgraph.utils.ReflectionUtils
-
Get the value of the named field in the class of the given object or any of its superclasses.
- getFile() - Method in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
Get the
File
for the outermost jar file of thisPhysicalZipFile
. - getFullyQualifiedClassName() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get the name of the class, formed from the base name and any suffixes (suffixes are for inner class nesting, and are separated by '$'), but without any type arguments.
- getFullyQualifiedDefiningMethodName() - Method in class io.github.classgraph.ClassInfo
- getIdentifierToken(Parser) - Static method in class nonapi.io.github.classgraph.types.TypeUtils
-
Parse a Java identifier part (between separators and other non-alphanumeric characters).
- getIdentifierToken(Parser, char, char) - Static method in class nonapi.io.github.classgraph.types.TypeUtils
-
Parse a Java identifier with the given separator ('.' or '/').
- getIfPresent(K) - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
-
Get the singleton for a given key, if it is present in the map, otherwise return null.
- getImplementedInterfaces() - Method in class io.github.classgraph.ClassInfoList
-
Filter this
ClassInfoList
to include only implemented interfaces, i.e. - getInflater() - Method in class nonapi.io.github.classgraph.fastzipfilereader.RecyclableInflater
-
Get the
Inflater
instance. - getInnerClasses() - Method in class io.github.classgraph.ClassInfo
- getInterfaceBounds() - Method in class io.github.classgraph.TypeParameter
-
Get the type parameter interface bound(s).
- getInterfaces() - Method in class io.github.classgraph.ClassInfo
- getInterfaces() - Method in class io.github.classgraph.ClassInfoList
-
Filter this
ClassInfoList
to include only interfaces that are not annotations. - getInterfaces(String) - Method in class io.github.classgraph.ScanResult
-
Get all interfaces implemented by the named class or by one of its superclasses, if this is a standard class, or the superinterfaces extended by this interface, if this is an interface.
- getInterfacesAndAnnotations() - Method in class io.github.classgraph.ClassInfoList
-
Filter this
ClassInfoList
to include only interfaces and annotations (annotations are interfaces, and can be implemented). - getJreLibOrExtJars() - Static method in class nonapi.io.github.classgraph.classpath.SystemJarFinder
- getJreRtJarPath() - Static method in class nonapi.io.github.classgraph.classpath.SystemJarFinder
- getLayer() - Method in class io.github.classgraph.ModuleRef
- getLength() - Method in class io.github.classgraph.Resource
- getLocation() - Method in class io.github.classgraph.ModuleInfo
-
The module location.
- getLocation() - Method in class io.github.classgraph.ModuleRef
- getLocationFile() - Method in class io.github.classgraph.ModuleRef
- getLocationStr() - Method in class io.github.classgraph.ModuleRef
- getMethodAndConstructorInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible constructors declared by this class, or by its interfaces or superclasses.
- getMethodAnnotations() - Method in class io.github.classgraph.ClassInfo
- getMethodInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible methods declared by this class, or by its interfaces or superclasses, that are not constructors.
- getMethodInfo() - Method in class io.github.classgraph.MethodParameterInfo
- getMethodInfo(String) - Method in class io.github.classgraph.ClassInfo
-
Returns information on the method(s) or constructor(s) of the given name declared by this class, but not by its interfaces or superclasses.
- getModifiers() - Method in class io.github.classgraph.ClassInfo
- getModifiers() - Method in class io.github.classgraph.FieldInfo
-
Returns the modifier bits for the field.
- getModifiers() - Method in class io.github.classgraph.MethodInfo
-
Returns the modifier bits for the method.
- getModifiers() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter modifiers.
- getModifiersStr() - Method in class io.github.classgraph.ClassInfo
- getModifiersStr() - Method in class io.github.classgraph.MethodInfo
-
Get the method modifiers as a String, e.g.
- getModifiersStr() - Method in class io.github.classgraph.MethodParameterInfo
-
Get the method parameter modifiers as a String, e.g.
- getModifierStr() - Method in class io.github.classgraph.FieldInfo
-
Get the field modifiers as a string, e.g.
- getModuleInfo() - Method in class io.github.classgraph.ScanResult
-
Get all modules found during the scan.
- getModuleInfo(String) - Method in class io.github.classgraph.ScanResult
-
Get the
ModuleInfo
object for the named module, or null if no module of the requested name was found during the scan. - getModuleRef() - Method in class io.github.classgraph.ClassInfo
- getModuleRef() - Method in class io.github.classgraph.ModuleInfo
-
The
ModuleRef
for this module. - getModuleRef() - Method in class io.github.classgraph.Resource
- getModules() - Method in class io.github.classgraph.ClassGraph
-
Returns
ModuleRef
references for all the visible modules. - getModules() - Method in class io.github.classgraph.ScanResult
- getName() - Method in class io.github.classgraph.AnnotationClassRef
- getName() - Method in class io.github.classgraph.AnnotationEnumValue
- getName() - Method in class io.github.classgraph.AnnotationInfo
- getName() - Method in class io.github.classgraph.AnnotationParameterValue
- getName() - Method in class io.github.classgraph.ClassInfo
- getName() - Method in class io.github.classgraph.FieldInfo
- getName() - Method in class io.github.classgraph.MethodInfo
-
Returns the name of the method.
- getName() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter name.
- getName() - Method in class io.github.classgraph.ModuleInfo
-
The module name (
"<unnamed>"
for the unnamed module). - getName() - Method in class io.github.classgraph.ModuleRef
- getName() - Method in class io.github.classgraph.PackageInfo
-
The package name ("" for the root package).
- getName() - Method in class io.github.classgraph.TypeParameter
-
Get the type parameter identifier.
- getName() - Method in class io.github.classgraph.TypeVariableSignature
-
Get the name of the type variable.
- getNames() - Method in class io.github.classgraph.AnnotationParameterValueList
- getNonSystemModuleRefs() - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderAndModuleFinder
- getNumDimensions() - Method in class io.github.classgraph.ArrayTypeSignature
- getOrder() - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Get the order of classpath elements.
- getOuterClasses() - Method in class io.github.classgraph.ClassInfo
- getPackage(String, Map<String, PackageInfo>) - Static method in class io.github.classgraph.PackageInfo
-
Get the
PackageInfo
object for the named package, also creatingPackageInfo
objects for any needed parent packages. - getPackageInfo() - Method in class io.github.classgraph.ModuleInfo
-
Get the
PackageInfo
objects for all packages that are members of this module. - getPackageInfo() - Method in class io.github.classgraph.ScanResult
-
Get all packages found during the scan.
- getPackageInfo(String) - Method in class io.github.classgraph.ModuleInfo
-
Get the
PackageInfo
object for the named packagein this module, or null if the package was not found in this module. - getPackageInfo(String) - Method in class io.github.classgraph.ScanResult
-
Get the
PackageInfo
object for the named package, or null if no package of the requested name was found during the scan. - getPackageName() - Method in class io.github.classgraph.ClassInfo
- getPackages() - Method in class io.github.classgraph.ModuleRef
- getParameterInfo() - Method in class io.github.classgraph.MethodInfo
-
Get the available information on method parameters.
- getParameterValues() - Method in class io.github.classgraph.AnnotationInfo
- getParent() - Method in class io.github.classgraph.PackageInfo
-
The parent package of this package, or null if this is the root package.
- getPath() - Method in class io.github.classgraph.Resource
- getPath() - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
Get the path to this zip entry, using "!/" as a separator between the parent logical zipfile and the entry name.
- getPath() - Method in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
Get the path for this
PhysicalZipFile
, which is the file path, if it is file-backed, or a compound nested jar path, if it is memory-backed. - getPath() - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
-
Get the path to this zipfile slice, e.g.
- getPathRelativeToClasspathElement() - Method in class io.github.classgraph.Resource
- getPaths() - Method in class io.github.classgraph.ResourceList
- getPathsRelativeToClasspathElement() - Method in class io.github.classgraph.ResourceList
- getPosition() - Method in class nonapi.io.github.classgraph.types.Parser
- getPositionInfo() - Method in class nonapi.io.github.classgraph.types.Parser
- getProperty(String) - Static method in class nonapi.io.github.classgraph.utils.VersionFinder
-
Get a system property (returning null if a SecurityException was thrown).
- getProperty(String, String) - Static method in class nonapi.io.github.classgraph.utils.VersionFinder
-
Get a system property (returning null if a SecurityException was thrown).
- getRawVersion() - Method in class io.github.classgraph.ModuleRef
-
Get the raw version string of the module, or null if the module did not provide one.
- getReference() - Method in class io.github.classgraph.ModuleRef
- getResource() - Method in class io.github.classgraph.ClassInfo
- getResourcesMatchingPattern(Pattern) - Method in class io.github.classgraph.ScanResult
- getResourcesWithExtension(String) - Method in class io.github.classgraph.ScanResult
- getResourcesWithLeafName(String) - Method in class io.github.classgraph.ScanResult
- getResourcesWithPath(String) - Method in class io.github.classgraph.ScanResult
- getResultType() - Method in class io.github.classgraph.MethodTypeSignature
-
Get the result type for the method.
- getSimpleName() - Method in class io.github.classgraph.ClassInfo
- getSingleMethod(String) - Method in class io.github.classgraph.MethodInfoList
-
Returns a single method with the given name, or null if not found.
- getStandardClasses() - Method in class io.github.classgraph.ClassInfoList
-
Filter this
ClassInfoList
to include only standard classes (classes that are not interfaces or annotations). - getState() - Method in class nonapi.io.github.classgraph.types.Parser
-
Get the "state object" from the parser (can be used to parse state between parser functions).
- getStaticFieldVal(Class<?>, String, boolean) - Static method in class nonapi.io.github.classgraph.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.classgraph.ClassInfo
-
Get the subclasses of this class, sorted in order of name.
- getSubclasses(String) - Method in class io.github.classgraph.ScanResult
-
Get all subclasses of the named superclass.
- getSubsequence(int, int) - Method in class nonapi.io.github.classgraph.types.Parser
-
Return a subsequence of the input string.
- getSubstring(int, int) - Method in class nonapi.io.github.classgraph.types.Parser
-
Return a substring of the input string.
- getSuffixes() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get any suffixes of the class (typically nested inner class names).
- getSuffixTypeArguments() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get any type arguments for any suffixes of the class, one list per suffix.
- getSuperclass() - Method in class io.github.classgraph.ClassInfo
-
Get the single direct superclass of this class, or null if none.
- getSuperclasses() - Method in class io.github.classgraph.ClassInfo
-
Get all superclasses of this class, in ascending order in the class hierarchy.
- getSuperclasses(String) - Method in class io.github.classgraph.ScanResult
-
Get superclasses of the named subclass.
- getSuperclassSignature() - Method in class io.github.classgraph.ClassTypeSignature
-
Get the type signature for the superclass (possibly null in the case of
Object
, since it doesn't have a superclass). - getSuperinterfaceSignatures() - Method in class io.github.classgraph.ClassTypeSignature
-
Get the type signatures of any superinterfaces
- getSystemModuleRefs() - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderAndModuleFinder
- getThrowsSignatures() - Method in class io.github.classgraph.MethodTypeSignature
-
Get the throws type(s) for the method.
- getType() - Method in class io.github.classgraph.BaseTypeSignature
- getTypeArguments() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get any type arguments of the base class.
- getTypeDescriptor() - Method in class io.github.classgraph.FieldInfo
-
Returns the parsed type descriptor for the field, if available.
- getTypeDescriptor() - Method in class io.github.classgraph.MethodInfo
-
Returns the parsed type descriptor for the method, which will not include type parameters.
- getTypeDescriptor() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter type descriptor.
- getTypeParameters() - Method in class io.github.classgraph.ClassTypeSignature
- getTypeSignature() - Method in class io.github.classgraph.ClassInfo
- getTypeSignature() - Method in class io.github.classgraph.FieldInfo
-
Returns the parsed type signature for the field, if available.
- getTypeSignature() - Method in class io.github.classgraph.MethodInfo
-
Returns the parsed type signature for the method, possibly including type parameters.
- getTypeSignature() - Method in class io.github.classgraph.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.classgraph.TypeArgument
-
Get the type signature associated with the wildcard (or null, if the wildcard is ANY).
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.classgraph.FieldInfo
-
Returns the type signature for the field, possibly including type parameters.
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.classgraph.MethodInfo
-
Returns the parsed type signature for the method, possibly including type parameters.
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter type signature, or if not available, method type descriptor.
- getTypeStr() - Method in class io.github.classgraph.BaseTypeSignature
- getURL() - Method in class io.github.classgraph.Resource
- getURLs() - Method in class io.github.classgraph.ResourceList
- getValue() - Method in class io.github.classgraph.AnnotationParameterValue
- getValueName() - Method in class io.github.classgraph.AnnotationEnumValue
- getVersion() - Static method in class io.github.classgraph.ClassGraph
-
Get the version number of ClassGraph.
- getVersion() - Static method in class nonapi.io.github.classgraph.utils.VersionFinder
- getWildcard() - Method in class io.github.classgraph.TypeArgument
-
Get the type wildcard, which is one of {NONE, ANY, EXTENDS, SUPER}.
- globToPattern(String) - Static method in class nonapi.io.github.classgraph.WhiteBlackList
-
Convert a spec with a '*' glob character into a regular expression.
H
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.AntClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in interface nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxContextFinderClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.FallbackClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.JPMSClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.OSGiDefaultClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.ParentLastDelegationOrderTestClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.URLClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.WeblogicClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
- handle(ScanSpec, ClassLoader, ClasspathOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereTraditionalClassLoaderHandler
- handledClassLoaderNames - Variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
The names of handled ClassLoaders.
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.AntClassLoaderHandler
- handledClassLoaders() - Method in interface nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandler
-
The fully-qualified names of handled classloader classes.
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxContextFinderClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.FallbackClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.JPMSClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.OSGiDefaultClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.ParentLastDelegationOrderTestClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.URLClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.WeblogicClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
- handledClassLoaders() - Method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereTraditionalClassLoaderHandler
- HAS_BLACKLISTED_PATH_PREFIX - nonapi.io.github.classgraph.ScanSpec.ScanSpecPathMatch
-
Path starts with (or is) a blacklisted path prefix.
- HAS_WHITELISTED_PATH_PREFIX - nonapi.io.github.classgraph.ScanSpec.ScanSpecPathMatch
-
Path starts with a whitelisted path prefix.
- hasAnnotation(String) - Method in class io.github.classgraph.ClassInfo
- hasAnnotation(String) - Method in class io.github.classgraph.FieldInfo
- hasAnnotation(String) - Method in class io.github.classgraph.MethodInfo
- hasAnnotation(String) - Method in class io.github.classgraph.MethodParameterInfo
- hasAnnotation(String) - Method in class io.github.classgraph.ModuleInfo
- hasAnnotation(String) - Method in class io.github.classgraph.PackageInfo
- hasBody() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method has a body (i.e.
- hasDeclaredField(String) - Method in class io.github.classgraph.ClassInfo
- hasDeclaredFieldAnnotation(String) - Method in class io.github.classgraph.ClassInfo
- hasDeclaredMethod(String) - Method in class io.github.classgraph.ClassInfo
- hasDeclaredMethodAnnotation(String) - Method in class io.github.classgraph.ClassInfo
- hasDeclaredMethodParameterAnnotation(String) - Method in class io.github.classgraph.ClassInfo
- hasField(String) - Method in class io.github.classgraph.ClassInfo
- hasFieldAnnotation(String) - Method in class io.github.classgraph.ClassInfo
- hashCode() - Method in class io.github.classgraph.AnnotationClassRef
- hashCode() - Method in class io.github.classgraph.AnnotationEnumValue
- hashCode() - Method in class io.github.classgraph.AnnotationInfo
- hashCode() - Method in class io.github.classgraph.AnnotationParameterValue
- hashCode() - Method in class io.github.classgraph.ArrayTypeSignature
- hashCode() - Method in class io.github.classgraph.BaseTypeSignature
- hashCode() - Method in class io.github.classgraph.ClassInfo
-
Use hash code of class name.
- hashCode() - Method in class io.github.classgraph.ClassRefTypeSignature
- hashCode() - Method in class io.github.classgraph.ClassTypeSignature
- hashCode() - Method in class io.github.classgraph.FieldInfo
-
Use hash code of class name and field name.
- hashCode() - Method in class io.github.classgraph.MethodInfo
-
Use hash code of class name, method name and type descriptor.
- hashCode() - Method in class io.github.classgraph.MethodTypeSignature
- hashCode() - Method in class io.github.classgraph.ModuleInfo
- hashCode() - Method in class io.github.classgraph.ModuleRef
- hashCode() - Method in class io.github.classgraph.PackageInfo
- hashCode() - Method in class io.github.classgraph.Resource
- hashCode() - Method in class io.github.classgraph.TypeArgument
- hashCode() - Method in class io.github.classgraph.TypeParameter
- hashCode() - Method in class io.github.classgraph.TypeVariableSignature
- hashCode() - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
- hashCode() - Method in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
- hashCode() - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
- hasMethod(String) - Method in class io.github.classgraph.ClassInfo
- hasMethodAnnotation(String) - Method in class io.github.classgraph.ClassInfo
- hasMethodParameterAnnotation(String) - Method in class io.github.classgraph.ClassInfo
- hasMore() - Method in class nonapi.io.github.classgraph.types.Parser
- hasParameterAnnotation(String) - Method in class io.github.classgraph.MethodInfo
- HierarchicalTypeSignature - Class in io.github.classgraph
-
A Java type signature.
- HierarchicalTypeSignature() - Constructor for class io.github.classgraph.HierarchicalTypeSignature
I
- Id - Annotation Type in nonapi.io.github.classgraph.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.
- ignoreClassVisibility - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, ignore class visibility.
- ignoreClassVisibility() - Method in class io.github.classgraph.ClassGraph
-
Causes class visibility to be ignored, enabling private, package-private and protected classes to be scanned.
- ignoreFieldVisibility - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, ignore field visibility.
- ignoreFieldVisibility() - Method in class io.github.classgraph.ClassGraph
-
Causes field visibility to be ignored, enabling private, package-private and protected fields to be scanned.
- ignoreMethodVisibility - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, ignore method visibility.
- ignoreMethodVisibility() - Method in class io.github.classgraph.ClassGraph
-
Causes method visibility to be ignored, enabling private, package-private and protected methods to be scanned.
- ignoreParentClassLoaders - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, do not fetch paths from parent classloaders.
- ignoreParentClassLoaders() - Method in class io.github.classgraph.ClassGraph
-
Ignore parent classloaders (i.e.
- ignoreParentModuleLayers - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, do not scan module layers that are the parent of other module layers.
- ignoreParentModuleLayers() - Method in class io.github.classgraph.ClassGraph
-
Ignore parent module layers (i.e.
- implementsInterface(String) - Method in class io.github.classgraph.ClassInfo
- includeClasspathElement(String) - Method in interface io.github.classgraph.ClassGraph.ClasspathElementFilter
- inflaterRecycler - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
A recycler for
Inflater
instances. - initializeLoadedClasses - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, classes loaded with Class.forName() are initialized before passing class references to MatchProcessors.
- initializeLoadedClasses() - Method in class io.github.classgraph.ClassGraph
-
Causes classes loaded using
ClassInfo.loadClass()
to be are initialized after class loading (the default is to not initialize classes). - inputStream - Variable in class io.github.classgraph.Resource
- InputStreamOrByteBufferAdapter - Class in nonapi.io.github.classgraph.utils
-
Buffer class that can wrap either an InputStream or a ByteBuffer, depending on which is available.
- InputStreamResourceCloser(Resource, InputStream) - Constructor for class io.github.classgraph.Resource.InputStreamResourceCloser
- inputStreamToByteArray() - Method in class io.github.classgraph.Resource
- inputStreamToByteBuffer() - Method in class io.github.classgraph.Resource
- instantiate(LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
Instantiate a ClassLoaderHandler, or return null if the class could not be instantiated.
- interrupt() - Method in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
-
Interrupt all threads that share this InterruptionChecker.
- InterruptionChecker - Class in nonapi.io.github.classgraph.concurrency
-
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 nonapi.io.github.classgraph.concurrency.InterruptionChecker
- intersect(ClassInfoList...) - Method in class io.github.classgraph.ClassInfoList
-
Find the intersection of this
ClassInfoList
with one or more others. - invokeDefaultMethod(Class<?>, String, Class<?>, ClassLoader, boolean) - Static method in class nonapi.io.github.classgraph.utils.ReflectionUtils
-
Invoke the named default interface method.
- invokeMethod(Object, String, boolean) - Static method in class nonapi.io.github.classgraph.utils.ReflectionUtils
-
Invoke the named method in the given object or its superclasses.
- invokeMethod(Object, String, Class<?>, Object, boolean) - Static method in class nonapi.io.github.classgraph.utils.ReflectionUtils
-
Invoke the named method in the given object or its superclasses.
- invokeStaticMethod(Class<?>, String, boolean) - Static method in class nonapi.io.github.classgraph.utils.ReflectionUtils
-
Invoke the named static method.
- invokeStaticMethod(Class<?>, String, Class<?>, Object, boolean) - Static method in class nonapi.io.github.classgraph.utils.ReflectionUtils
-
Invoke the named static method.
- io.github.classgraph - package io.github.classgraph
- isAbstract() - Method in class io.github.classgraph.ClassInfo
- isAnnotation() - Method in class io.github.classgraph.ClassInfo
- isAnonymousInnerClass() - Method in class io.github.classgraph.ClassInfo
- isBlacklisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList
- isBlacklisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListLeafname
-
Check if the requested string is blacklisted.
- isBlacklisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListPrefix
-
Check if the requested string has a blacklisted prefix.
- isBlacklisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListWholeString
-
Check if the requested string is blacklisted.
- isBridge() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is a bridge method.
- isClassfile(String) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
- isConstructor() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is a constructor.
- isDefault() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this is a default method (i.e.
- isDeflated - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
True if the zip entry is deflated; false if the zip entry is stored.
- isEnum() - Method in class io.github.classgraph.ClassInfo
- isExternalClass() - Method in class io.github.classgraph.ClassInfo
- isFinal() - Method in class io.github.classgraph.ClassInfo
- isFinal() - Method in class io.github.classgraph.FieldInfo
-
Returns true if this field is final.
- isFinal() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is final.
- isImplementedInterface() - Method in class io.github.classgraph.ClassInfo
-
Return 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).
- isInherited() - Method in class io.github.classgraph.AnnotationInfo
- isInnerClass() - Method in class io.github.classgraph.ClassInfo
- isInterface() - Method in class io.github.classgraph.ClassInfo
- isInterfaceOrAnnotation() - Method in class io.github.classgraph.ClassInfo
- isJREJar - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
If true, this is a JRE jar.
- isMultiReleaseJar - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
If true, this is a multi-release jar.
- isNative() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is a native method.
- isOuterClass() - Method in class io.github.classgraph.ClassInfo
- isPublic() - Method in class io.github.classgraph.ClassInfo
- isPublic() - Method in class io.github.classgraph.FieldInfo
-
Returns true if this field is public.
- isPublic() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is public.
- isSpecificallyWhitelisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList
- isSpecificallyWhitelistedAndNotBlacklisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList
- isStandardClass() - Method in class io.github.classgraph.ClassInfo
- isStatic() - Method in class io.github.classgraph.ClassInfo
- isStatic() - Method in class io.github.classgraph.FieldInfo
-
Returns true if this field is static.
- isStatic() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is static.
- isSynchronized() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is synchronized.
- isSynthetic() - Method in class io.github.classgraph.ClassInfo
- isSystemModule() - Method in class io.github.classgraph.ModuleRef
- isTransient() - Method in class io.github.classgraph.FieldInfo
-
Returns true if this field is a transient field.
- isVarArgs() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is a varargs method.
- isWhitelisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList
- isWhitelisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListLeafname
-
Check if the requested string is whitelisted.
- isWhitelisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListPrefix
-
Check if the requested string has a whitelisted prefix.
- isWhitelisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListWholeString
-
Check if the requested string is whitelisted.
- isWhitelistedAndNotBlacklisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList
- isWhitelistedAndNotBlacklisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListLeafname
-
Check if the requested string is whitelisted and not blacklisted.
- isWhitelistedAndNotBlacklisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListPrefix
-
Check if the requested string has a whitelisted/non-blacklisted prefix.
- isWhitelistedAndNotBlacklisted(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListWholeString
-
Check if the requested string is whitelisted and not blacklisted.
- isWhitelistedAndNotBlacklisted(WhiteBlackList.WhiteBlackListLeafname) - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
J
- JarUtils - Class in nonapi.io.github.classgraph.utils
-
Jarfile utilities.
- JarUtils() - Constructor for class nonapi.io.github.classgraph.utils.JarUtils
- jarWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Jar white/blacklist (leafname only, ending in ".jar").
- JAVA_MAJOR_VERSION - Static variable in class nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.utils.VersionFinder
-
Java version string
- JBossClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the JBoss ClassLoader.
- JBossClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
- join(String, Iterable<?>) - Static method in class nonapi.io.github.classgraph.utils.Join
-
A replacement for Java 8's String.join().
- join(String, Object...) - Static method in class nonapi.io.github.classgraph.utils.Join
-
A replacement for Java 8's String.join().
- Join - Class in nonapi.io.github.classgraph.utils
-
A replacement for Java 8's String.join() that will allow compilation on Java 7.
- Join() - Constructor for class nonapi.io.github.classgraph.utils.Join
- JPMSClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
A placeloader ClassLoaderHandler that matches Java 9+ classloaders, but does not attempt to extract URLs from them (module scanning uses a different mechanism from classpath scanning).
- JPMSClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.JPMSClassLoaderHandler
- JSONDeserializer - Class in nonapi.io.github.classgraph.json
-
Fast, lightweight Java object to JSON serializer, and JSON to Java object deserializer.
- JSONDeserializer() - Constructor for class nonapi.io.github.classgraph.json.JSONDeserializer
- JSONSerializer - Class in nonapi.io.github.classgraph.json
-
Fast, lightweight Java object to JSON serializer, and JSON to Java object deserializer.
- JSONSerializer() - Constructor for class nonapi.io.github.classgraph.json.JSONSerializer
- JSONUtils - Class in nonapi.io.github.classgraph.json
-
Utils for Java serialization and deserialization.
- JSONUtils() - Constructor for class nonapi.io.github.classgraph.json.JSONUtils
L
- leafName(String) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
-
Returns the leafname of a path, after first stripping off everything after the first '!', if present.
- length - Variable in class io.github.classgraph.Resource
- libOrExtJarWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
lib/ext jar white/blacklist (leafname only, ending in ".jar").
- Linux - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Linux
- list() - Method in class io.github.classgraph.ModuleReaderProxy
-
Get the list of resources accessible to a ModuleReader.
- load() - Method in class io.github.classgraph.Resource
-
Load a classpath resource and return its content as a byte array.
- load(LogNode) - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
Load the content of the zip entry, and return it as a byte array.
- loadAsString(LogNode) - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
Load the content of the zip entry, and return it as a String (converting from UTF-8 byte format).
- loadClass() - Method in class io.github.classgraph.AnnotationClassRef
-
Loads the referenced class, returning a
Class<?>
reference for the referenced class. - loadClass() - Method in class io.github.classgraph.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object. - loadClass() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Load the referenced class, if not already loaded, returning a
Class<?>
reference for the referenced class. - loadClass(boolean) - Method in class io.github.classgraph.AnnotationClassRef
-
Loads the referenced class, returning a
Class<?>
reference for the referenced class. - loadClass(boolean) - Method in class io.github.classgraph.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object. - loadClass(boolean) - Method in class io.github.classgraph.ClassRefTypeSignature
-
Load the referenced class, if not already loaded, returning a
Class<?>
reference for the referenced class. - loadClass(Class<T>) - Method in class io.github.classgraph.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object, casting it to the requested interface or superclass type. - loadClass(Class<T>, boolean) - Method in class io.github.classgraph.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object, casting it to the requested interface or superclass type. - loadClass(String, boolean) - Method in class io.github.classgraph.ScanResult
-
Load a class given a class name.
- loadClass(String, Class<T>, boolean) - Method in class io.github.classgraph.ScanResult
-
Load a class given a class name.
- loadClassAndGetField() - Method in class io.github.classgraph.FieldInfo
-
Load the class this field is associated with, and get the
Field
reference for this field. - loadClassAndGetMethod() - Method in class io.github.classgraph.MethodInfo
-
Load the class this method is associated with, and get the
Method
reference for this method. - loadClassAndInstantiate() - Method in class io.github.classgraph.AnnotationInfo
-
Load the
Annotation
class corresponding to thisAnnotationInfo
object, by callinggetClassInfo().loadClass()
, then create a new instance of the annotation, with the annotation parameter values obtained from thisAnnotationInfo
object. - loadClassAndReturnEnumValue() - Method in class io.github.classgraph.AnnotationEnumValue
-
Loads the enum class, instantiates the enum constants for the class, and returns the enum constant value represented by this
AnnotationEnumValue
. - loadClassAndReturnEnumValue(boolean) - Method in class io.github.classgraph.AnnotationEnumValue
-
Loads the enum class, instantiates the enum constants for the class, and returns the enum constant value represented by this
AnnotationEnumValue
. - loadClasses() - Method in class io.github.classgraph.ClassInfoList
-
Convert this list of
ClassInfo
objects to a list ofClass<?>
objects. - loadClasses(boolean) - Method in class io.github.classgraph.ClassInfoList
-
Convert this list of
ClassInfo
objects to a list ofClass<?>
objects. - loadClasses(Class<T>) - Method in class io.github.classgraph.ClassInfoList
-
Convert this list of
ClassInfo
objects to a list ofClass<?>
objects, casting each item in the list to the requested superclass or interface type. - loadClasses(Class<T>, boolean) - Method in class io.github.classgraph.ClassInfoList
-
Convert this list of
ClassInfo
objects to a list ofClass<?>
objects, casting each item in the list to the requested superclass or interface type. - log(String) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry.
- log(String, long) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry.
- log(String, long, Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry.
- log(String, String) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, String, long) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, String, long, Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, String, Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry.
- log(Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry.
- log(Collection<String>) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a series of log entries.
- log(LogNode) - Method in class nonapi.io.github.classgraph.ScanSpec
- LOG_IN_REALTIME - Static variable in class nonapi.io.github.classgraph.utils.LogNode
-
If this is set to true, log entries are output in realtime, as well as added to the LogNode tree.
- LogicalZipFile - Class in nonapi.io.github.classgraph.fastzipfilereader
-
A logical zipfile, which represents a zipfile contained within a
ZipFileSlice
of aPhysicalZipFile
. - logJavaInfo(LogNode) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
-
Log the Java version and the JRE paths that were found.
- LogNode - Class in nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.utils.LogNode
-
Create a toplevel log node.
M
- MacOSX - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Mac OS X
- mark(int) - Method in class io.github.classgraph.Resource.InputStreamResourceCloser
- markSupported() - Method in class io.github.classgraph.Resource.InputStreamResourceCloser
- MAX_BUFFER_SIZE - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
-
The maximum size of a file buffer array.
- MethodInfo - Class in io.github.classgraph
-
Holds metadata about methods of a class encountered during a scan.
- MethodInfoList - Class in io.github.classgraph
-
A list of
MethodInfo
objects. - MethodInfoList.MethodInfoFilter - Interface in io.github.classgraph
-
Filter an
MethodInfoList
using a predicate mapping anMethodInfo
object to a boolean, producing anotherMethodInfoList
for all items in the list for which the predicate is true. - MethodParameterInfo - Class in io.github.classgraph
-
Information on the parameters of a method.
- MethodTypeSignature - Class in io.github.classgraph
-
A method type signature (called "MethodSignature" in the classfile documentation).
- ModuleInfo - Class in io.github.classgraph
-
Holds metadata about a package encountered during a scan.
- ModuleInfoList - Class in io.github.classgraph
-
A list of
ModuleInfo
objects. - ModuleInfoList.ModuleInfoFilter - Interface in io.github.classgraph
-
Filter an
ModuleInfoList
using a predicate mapping anModuleInfo
object to a boolean, producing anotherModuleInfoList
for all items in the list for which the predicate is true. - ModuleReaderProxy - Class in io.github.classgraph
-
A ModuleReader proxy, written using reflection to preserve backwards compatibility with JDK 7 and 8.
- ModuleRef - Class in io.github.classgraph
-
A ModuleReference proxy, written using reflection to preserve backwards compatibility with JDK 7 and 8.
- ModuleRef(Object, Object) - Constructor for class io.github.classgraph.ModuleRef
- moduleRefToModuleReaderProxyRecyclerMap - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
A singleton map from a
ModuleRef
to aModuleReaderProxy
recycler for the module. - moduleWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Module white/blacklist (with separator '.').
N
- NestedJarHandler - Class in nonapi.io.github.classgraph.fastzipfilereader
-
Open and read jarfiles, which may be nested within other jarfiles.
- NestedJarHandler(ScanSpec, LogNode) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
A handler for nested jars.
- nestedPathToLogicalZipFileAndPackageRootMap - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
A singleton map from nested jarfile path to a tuple of the logical zipfile for the path, and the package root within the logical zipfile.
- newInstance() - Method in class nonapi.io.github.classgraph.recycler.Recycler
-
Create a new instance.
- newInstance(K, LogNode) - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
-
Construct a new singleton instance.
- newThread(Runnable) - Method in class nonapi.io.github.classgraph.concurrency.SimpleThreadFactory
- next() - Method in class nonapi.io.github.classgraph.types.Parser
-
Advance one character without returning the value of the character.
- nonapi.io.github.classgraph - package nonapi.io.github.classgraph
- nonapi.io.github.classgraph.classloaderhandler - package nonapi.io.github.classgraph.classloaderhandler
- nonapi.io.github.classgraph.classpath - package nonapi.io.github.classgraph.classpath
- nonapi.io.github.classgraph.concurrency - package nonapi.io.github.classgraph.concurrency
- nonapi.io.github.classgraph.fastzipfilereader - package nonapi.io.github.classgraph.fastzipfilereader
- nonapi.io.github.classgraph.json - package nonapi.io.github.classgraph.json
- nonapi.io.github.classgraph.recycler - package nonapi.io.github.classgraph.recycler
- nonapi.io.github.classgraph.types - package nonapi.io.github.classgraph.types
- nonapi.io.github.classgraph.utils - package nonapi.io.github.classgraph.utils
- nonClassFilesOnly() - Method in class io.github.classgraph.ResourceList
- NONE - io.github.classgraph.TypeArgument.Wildcard
-
No wildcard.
- normalizePackageOrClassName(String) - Static method in class nonapi.io.github.classgraph.WhiteBlackList
-
Remove initial and final '.' characters, if any.
- normalizePath(String) - Static method in class nonapi.io.github.classgraph.WhiteBlackList
-
Remove initial and final '/' characters, if any.
- normalizePath(String, boolean) - Static method in class nonapi.io.github.classgraph.utils.FastPathResolver
-
Parse percent encoding, e.g.
- NOT_WITHIN_WHITELISTED_PATH - nonapi.io.github.classgraph.ScanSpec.ScanSpecPathMatch
-
Path is not whitelisted and not blacklisted.
O
- onFailure(Throwable) - Method in interface io.github.classgraph.ClassGraph.FailureHandler
-
Called on scanning failure during an asynchronous scan.
- open() - Method in class io.github.classgraph.ModuleRef
-
Open the module, returning a
ModuleReaderProxy
. - open() - Method in class io.github.classgraph.Resource
-
Open an
InputStream
for a classpath resource. - open() - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
Open the data of the zip entry as an
InputStream
, inflating the data if the entry is deflated. - open(String) - Method in class io.github.classgraph.ModuleReaderProxy
-
Use the proxied ModuleReader to open the named resource as an InputStream.
- OS - Static variable in class nonapi.io.github.classgraph.utils.VersionFinder
-
The operating system type.
- OSGiDefaultClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Handle the OSGi DefaultClassLoader.
- OSGiDefaultClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.OSGiDefaultClassLoaderHandler
- overrideClassLoaders - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If non-null, this list of ClassLoaders will be searched instead of the visible/context ClassLoader(s).
- overrideClassLoaders(ClassLoader...) - Method in class io.github.classgraph.ClassGraph
-
Completely override (and ignore) system ClassLoaders and the java.class.path system property.
- overrideClassLoaders(ClassLoader...) - Method in class nonapi.io.github.classgraph.ScanSpec
-
Completely override the list of ClassLoaders to scan.
- overrideClasspath - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If non-null, specifies a classpath to override the default one.
- overrideClasspath(Iterable<?>) - Method in class io.github.classgraph.ClassGraph
-
Override the automatically-detected classpath with a custom path.
- overrideClasspath(Object...) - Method in class io.github.classgraph.ClassGraph
-
Override the automatically-detected classpath with a custom path.
- overrideClasspath(String) - Method in class io.github.classgraph.ClassGraph
-
Override the automatically-detected classpath with a custom path, with path elements separated by File.pathSeparatorChar.
- overrideClasspath(String) - Method in class nonapi.io.github.classgraph.ScanSpec
-
Override the automatically-detected classpath with a custom search path.
- overrideModuleLayers - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If non-null, this list of ModuleLayers will be searched instead of the visible ModuleLayers.
- overrideModuleLayers(Object...) - Method in class io.github.classgraph.ClassGraph
-
Completely override (and ignore) the visible ModuleLayers, and instead scan the requested ModuleLayers.
- overrideModuleLayers(Object...) - Method in class nonapi.io.github.classgraph.ScanSpec
-
Completely override (and ignore) the visible ModuleLayers, and instead scan the requested ModuleLayers.
P
- PackageInfo - Class in io.github.classgraph
-
Holds metadata about a package encountered during a scan.
- PackageInfoList - Class in io.github.classgraph
-
A list of
PackageInfo
objects. - PackageInfoList.PackageInfoFilter - Interface in io.github.classgraph
-
Filter an
PackageInfoList
using a predicate mapping anPackageInfo
object to a boolean, producing anotherPackageInfoList
for all items in the list for which the predicate is true. - packageNameToPath(String) - Static method in class nonapi.io.github.classgraph.WhiteBlackList
-
Convert a package name to a path.
- packagePrefixWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Package prefix white/blacklist, for recursive scanning (with separator '.', ending in '.').
- packageWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Package white/blacklist (with separator '.').
- PARENT_FIRST - nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandler.DelegationOrder
-
Delegate to parent before handling in child.
- PARENT_LAST - nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandler.DelegationOrder
-
Handle classloading in child before delegating to parent.
- ParentLastDelegationOrderTestClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
ClassLoaderHandler that is used to test PARENT_LAST delegation order.
- ParentLastDelegationOrderTestClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.ParentLastDelegationOrderTestClassLoaderHandler
- ParseException(Parser, String) - Constructor for exception nonapi.io.github.classgraph.types.Parser.ParseException
-
A parsing exception.
- Parser - Class in nonapi.io.github.classgraph.types
-
A generic PEG parser.
- Parser(String) - Constructor for class nonapi.io.github.classgraph.types.Parser
-
Construct a parser.
- Parser.ParseException - Exception in nonapi.io.github.classgraph.types
-
A parsing exception.
- pathElementsToPathStr(Iterable<?>) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
-
Get a set of path elements as a string, from an array of objects (e.g.
- pathElementsToPathStr(Object...) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
-
Get a set of path elements as a string, from an array of objects (e.g.
- pathPrefixWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Path prefix white/blacklist, for recursive scanning (with separator '/', ending in '/').
- pathToPackageName(String) - Static method in class nonapi.io.github.classgraph.WhiteBlackList
-
Convert a path to a package name.
- pathWhiteBlackList - Variable in class nonapi.io.github.classgraph.ScanSpec
-
Path white/blacklist (with separator '/').
- peek() - Method in class nonapi.io.github.classgraph.types.Parser
- peekExpect(char) - Method in class nonapi.io.github.classgraph.types.Parser
-
Get the next character, throwing a
Parser.ParseException
if the next character is not the expected character. - peekMatches(String) - Method in class nonapi.io.github.classgraph.types.Parser
-
Peek operator that can look ahead several characters.
- performScan - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, performing a scan.
- physicalZipFile - Variable in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
-
The underlying physical zipfile.
- PhysicalZipFile - Class in nonapi.io.github.classgraph.fastzipfilereader
-
A physical zipfile, which is mmap'd using a
FileChannel
. - processScanResult(ScanResult) - Method in interface io.github.classgraph.ClassGraph.ScanResultProcessor
-
Process the result of an asynchronous scan after scanning has completed.
- processWorkUnit(T, WorkQueue<T>) - Method in interface nonapi.io.github.classgraph.concurrency.WorkQueue.WorkUnitProcessor
R
- read() - Method in class io.github.classgraph.Resource.InputStreamResourceCloser
- read() - Method in class io.github.classgraph.Resource
-
Open a
ByteBuffer
for a classpath resource. - read(byte[]) - Method in class io.github.classgraph.Resource.InputStreamResourceCloser
- read(byte[], int, int) - Method in class io.github.classgraph.Resource.InputStreamResourceCloser
- read(byte[], int, int) - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Copy up to len bytes into the byte array, starting at the given offset.
- read(String) - Method in class io.github.classgraph.ModuleReaderProxy
-
Use the proxied ModuleReader to open the named resource as a ByteBuffer.
- readAllBytesAsArray(InputStream, long) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
-
Read all the bytes in an
InputStream
as a byte array. - readAllBytesAsString(InputStream, long) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
-
Read all the bytes in an
InputStream
as a String. - readInitialChunk() - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Read an initial chunk of the file into the buffer.
- readInt() - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
- readInt(int) - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Read an int from the buffer at a specific absolute offset before the current read point.
- readLong() - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
- readLong(int) - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Read a long from the buffer at a specific offset before the current read point.
- readString(int, boolean, boolean) - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Reads the "modified UTF8" format defined in the Java classfile spec, optionally replacing '/' with '.', and optionally removing the prefix "L" and the suffix ";".
- readUnsignedByte() - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Read an unsigned byte from the buffer.
- readUnsignedByte(int) - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Read an unsigned byte from the buffer at a specific absolute offset before the current read point.
- readUnsignedShort() - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
- readUnsignedShort(int) - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Read an unsigned short from the buffer at a specific absolute offset before the current read point.
- RecyclableInflater - Class in nonapi.io.github.classgraph.fastzipfilereader
- RecyclableInflater() - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.RecyclableInflater
- recycle(T) - Method in class nonapi.io.github.classgraph.recycler.Recycler
-
Recycle an object for reuse by a subsequent call to
Recycler.acquire()
. - RecycleOnClose<T,E extends Exception> - Class in nonapi.io.github.classgraph.recycler
-
An AutoCloseable wrapper for a recyclable object instance.
- Recycler<T,E extends Exception> - Class in nonapi.io.github.classgraph.recycler
-
Recycler for instances of type T, where instantiating this type may throw checked exception E.
- Recycler() - Constructor for class nonapi.io.github.classgraph.recycler.Recycler
- RecyclerExceptionless<T> - Class in nonapi.io.github.classgraph.recycler
-
Recycler for instances of type T, where creating an instance of this type does not throw a checked exception.
- RecyclerExceptionless() - Constructor for class nonapi.io.github.classgraph.recycler.RecyclerExceptionless
- ReferenceTypeSignature - Class in io.github.classgraph
-
A type signature for a reference type.
- ReferenceTypeSignature() - Constructor for class io.github.classgraph.ReferenceTypeSignature
- ReflectionUtils - Class in nonapi.io.github.classgraph.utils
-
Reflection utility methods that can be used by ClassLoaderHandlers.
- ReflectionUtils() - Constructor for class nonapi.io.github.classgraph.utils.ReflectionUtils
- release(ByteBuffer) - Method in class io.github.classgraph.ModuleReaderProxy
-
Release a
ByteBuffer
allocated by callingModuleReaderProxy.read(String)
. - removeTemporaryFilesAfterScan - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, nested jarfiles (jarfiles within jarfiles) that are extracted during scanning are removed from their temporary directory (e.g.
- removeTemporaryFilesAfterScan() - Method in class io.github.classgraph.ClassGraph
-
Remove temporary files, including nested jarfiles (jarfiles within jarfiles, which have to be extracted during scanning in order to be read) from their temporary directory as soon as the scan has completed.
- reset() - Method in class io.github.classgraph.Resource.InputStreamResourceCloser
- reset() - Method in class nonapi.io.github.classgraph.fastzipfilereader.RecyclableInflater
-
Called when an
Inflater
instance is recycled, to reset the inflater so it can accept new input. - reset() - Method in interface nonapi.io.github.classgraph.recycler.Resettable
-
Reset a recycleable object (called when the object is recycled).
- Resettable - Interface in nonapi.io.github.classgraph.recycler
-
An interface for recycleable objects that need to be reset when
RecycleOnClose.close()
is called to recycle the object. - resolve() - Method in class io.github.classgraph.TypeVariableSignature
-
Look up a type variable (e.g.
- resolve(String) - Static method in class nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.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.
- Resource - Class in io.github.classgraph
-
A classpath or module path resource (i.e.
- Resource() - Constructor for class io.github.classgraph.Resource
- Resource.InputStreamResourceCloser - Class in io.github.classgraph
-
Class for closing the parent
Resource
when anInputStream
opened on the resource is closed. - ResourceList - Class in io.github.classgraph
-
An AutoCloseable list of AutoCloseable
Resource
objects. - ResourceList.ByteArrayConsumer - Interface in io.github.classgraph
-
A
FunctionalInterface
for consuming the contents of aResource
as a byte array. - ResourceList.ByteBufferConsumer - Interface in io.github.classgraph
- ResourceList.InputStreamConsumer - Interface in io.github.classgraph
- ResourceList.ResourceFilter - Interface in io.github.classgraph
-
Filter a
ResourceList
using a predicate mapping aResource
object to a boolean, producing anotherResourceList
for all items in the list for which the predicate is true. - runWorkQueue(Collection<U>, ExecutorService, int, WorkQueue.WorkUnitProcessor<U>, InterruptionChecker, LogNode) - Static method in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
Start a work queue on the elements in the provided collection, blocking until all work units have been completed.
S
- sanitizeEntryPath(String) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
-
Sanitize relative paths against "zip slip" vulnerability.
- scan() - Method in class io.github.classgraph.ClassGraph
-
Scans the classpath, blocking until the scan is complete.
- scan(int) - Method in class io.github.classgraph.ClassGraph
-
Scans the classpath with the requested number of threads, blocking until the scan is complete.
- scan(ExecutorService, int) - Method in class io.github.classgraph.ClassGraph
-
Scans the classpath using the requested
ExecutorService
and the requested degree of parallelism, blocking until the scan is complete. - scanAsync(ExecutorService, int) - Method in class io.github.classgraph.ClassGraph
-
Asynchronously scans the classpath for matching files, returning a
Future<ScanResult>
. - scanAsync(ExecutorService, int, ClassGraph.ScanResultProcessor, ClassGraph.FailureHandler) - Method in class io.github.classgraph.ClassGraph
-
Asynchronously scans the classpath, calling a
ClassGraph.ScanResultProcessor
callback on success or aClassGraph.FailureHandler
callback on failure. - scanDirs - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, scan directories.
- scanJars - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, scan jarfiles.
- scanModules - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, scan modules.
- scanNestedJars - Variable in class nonapi.io.github.classgraph.ScanSpec
-
If true, scan nested jarfiles (jarfiles within jarfiles).
- ScanResult - Class in io.github.classgraph
-
The result of a scan.
- ScanSpec - Class in nonapi.io.github.classgraph
-
Parses the scanning specification that was passed to the ClassGraph constructor, and finds all ClassLoaders.
- ScanSpec() - Constructor for class nonapi.io.github.classgraph.ScanSpec
-
Constructor for deserialization.
- ScanSpec.ScanSpecPathMatch - Enum in nonapi.io.github.classgraph
-
Whether a path is a descendant of a blacklisted path, or an ancestor or descendant of a whitelisted path.
- serializeFromField(Object, String, int, boolean) - Static method in class nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.json.JSONSerializer
-
Recursively serialize the named field of an object, skipping transient and final fields.
- serializeObject(Object) - Static method in class nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.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 nonapi.io.github.classgraph.json.JSONSerializer
-
Recursively serialize an Object (or array, list, map or set of objects) to JSON, skipping transient and final fields.
- setPosition(int) - Method in class nonapi.io.github.classgraph.types.Parser
-
Set the position of the parser within the string.
- setScanResult(ScanResult) - Method in class io.github.classgraph.MethodParameterInfo
- setState(Object) - Method in class nonapi.io.github.classgraph.types.Parser
-
Set the "state object" from the parser (can be used to parse state between parser functions).
- SimpleThreadFactory - Class in nonapi.io.github.classgraph.concurrency
-
Simple implementation of a thread factory.
- SimpleThreadFactory(String, boolean) - Constructor for class nonapi.io.github.classgraph.concurrency.SimpleThreadFactory
-
Constructor.
- SingletonMap<K,V> - Class in nonapi.io.github.classgraph.concurrency
-
A map from keys to singleton instances.
- SingletonMap() - Constructor for class nonapi.io.github.classgraph.concurrency.SingletonMap
- skip(int) - Method in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Skip the given number of bytes in the input stream.
- skip(long) - Method in class io.github.classgraph.Resource.InputStreamResourceCloser
- skipWhitespace() - Method in class nonapi.io.github.classgraph.types.Parser
-
Skip whitespace starting at the current position.
- smartPathSplit(String) - Static method in class nonapi.io.github.classgraph.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.
- sortPrefixes() - Method in class nonapi.io.github.classgraph.ScanSpec
-
Sort prefixes to ensure correct whitelist/blacklist evaluation (see Issue #167).
- sortPrefixes() - Method in class nonapi.io.github.classgraph.WhiteBlackList
-
Need to sort prefixes to ensure correct whitelist/blacklist evaluation (see Issue #167).
- SUPER - io.github.classgraph.TypeArgument.Wildcard
-
super
- SystemJarFinder - Class in nonapi.io.github.classgraph.classpath
-
A class to find rt.jar and any JRE "lib/" or "ext/" jars.
- SystemJarFinder() - Constructor for class nonapi.io.github.classgraph.classpath.SystemJarFinder
T
- TEMP_FILENAME_LEAF_SEPARATOR - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
The separator between random temp filename part and leafname.
- toJSON() - Method in class io.github.classgraph.ScanResult
-
Serialize a ScanResult to minified (un-indented) JSON.
- toJSON(int) - Method in class io.github.classgraph.ScanResult
-
Serialize a ScanResult to JSON.
- toString() - Method in class io.github.classgraph.AnnotationClassRef
- toString() - Method in class io.github.classgraph.AnnotationEnumValue
- toString() - Method in class io.github.classgraph.AnnotationInfo
- toString() - Method in class io.github.classgraph.AnnotationParameterValue
- toString() - Method in class io.github.classgraph.ArrayTypeSignature
- toString() - Method in class io.github.classgraph.BaseTypeSignature
- toString() - Method in class io.github.classgraph.ClassInfo
- toString() - Method in class io.github.classgraph.ClassInfoList
- toString() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Return the class type as a string.
- toString() - Method in class io.github.classgraph.ClassTypeSignature
- toString() - Method in class io.github.classgraph.FieldInfo
- toString() - Method in class io.github.classgraph.MethodInfo
-
Get a string representation of the method.
- toString() - Method in class io.github.classgraph.MethodParameterInfo
- toString() - Method in class io.github.classgraph.MethodTypeSignature
- toString() - Method in class io.github.classgraph.ModuleInfo
- toString() - Method in class io.github.classgraph.ModuleRef
- toString() - Method in class io.github.classgraph.PackageInfo
- toString() - Method in class io.github.classgraph.Resource
-
Return a string representation of the resource's location (as a URL string).
- toString() - Method in class io.github.classgraph.ResourceList
- toString() - Method in class io.github.classgraph.TypeArgument
- toString() - Method in class io.github.classgraph.TypeParameter
- toString() - Method in class io.github.classgraph.TypeVariableSignature
- toString() - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
- toString() - Method in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
- toString() - Method in class nonapi.io.github.classgraph.types.Parser
- toString() - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Build the log output.
- toString() - Method in class nonapi.io.github.classgraph.WhiteBlackList
- toStringWithTypeBound() - Method in class io.github.classgraph.TypeVariableSignature
-
Returns the type variable along with its type bound, if available (e.g.
- TypeArgument - Class in io.github.classgraph
-
A type argument.
- TypeArgument.Wildcard - Enum in io.github.classgraph
-
A type wildcard.
- TypeParameter - Class in io.github.classgraph
-
A type parameter.
- TypeSignature - Class in io.github.classgraph
-
A type signature for a reference type or base type.
- TypeSignature() - Constructor for class io.github.classgraph.TypeSignature
- TypeUtils - Class in nonapi.io.github.classgraph.types
-
Utilities for parsing Java type descriptors and type signatures.
- TypeUtils() - Constructor for class nonapi.io.github.classgraph.types.TypeUtils
- TypeVariableSignature - Class in io.github.classgraph
-
A type variable signature.
U
- uncompressedSize - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The uncompressed size of the zip entry, in bytes.
- union(ClassInfoList...) - Method in class io.github.classgraph.ClassInfoList
-
Find the union of this
ClassInfoList
with one or more others. - Unknown - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Unknown
- URLClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
ClassLoaderHandler that is able to extract the URLs from a URLClassLoader.
- URLClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.URLClassLoaderHandler
- URLPathEncoder - Class in nonapi.io.github.classgraph.utils
-
A simple URL path encoder.
- URLPathEncoder() - Constructor for class nonapi.io.github.classgraph.utils.URLPathEncoder
- urlPathToURL(String) - Static method in class nonapi.io.github.classgraph.utils.URLPathEncoder
-
Convert a URL path to a URL.
- used - Variable in class nonapi.io.github.classgraph.utils.InputStreamOrByteBufferAdapter
-
Bytes used in the buffer.
V
- valueOf(String) - Static method in enum io.github.classgraph.TypeArgument.Wildcard
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandler.DelegationOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum nonapi.io.github.classgraph.ScanSpec.ScanSpecPathMatch
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.classgraph.TypeArgument.Wildcard
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandler.DelegationOrder
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
-
Get all singletons in the map.
- values() - Static method in enum nonapi.io.github.classgraph.ScanSpec.ScanSpecPathMatch
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verbose() - Method in class io.github.classgraph.ClassGraph
-
Switches on verbose logging to System.err.
- version - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The version code (>= 9), or 8 for the base layer or a non-versioned jar (whether JDK 7 or 8 compatible).
- VersionFinder - Class in nonapi.io.github.classgraph.utils
-
Finds the version number of ClassGraph, and the version of the JDK.
- VersionFinder() - Constructor for class nonapi.io.github.classgraph.utils.VersionFinder
- VersionFinder.OperatingSystem - Enum in nonapi.io.github.classgraph.utils
-
The operating system type.
W
- WeblogicClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Weblogic ClassLoaders.
- WeblogicClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.WeblogicClassLoaderHandler
- WebsphereLibertyClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
WebsphereLibertyClassLoaderHandler.
- WebsphereLibertyClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
- WebsphereTraditionalClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Handle the WebSphere traditonal ClassLoaders.
- WebsphereTraditionalClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.WebsphereTraditionalClassLoaderHandler
- WhiteBlackList - Class in nonapi.io.github.classgraph
-
A class storing whitelist or blacklist criteria.
- WhiteBlackList() - Constructor for class nonapi.io.github.classgraph.WhiteBlackList
-
Constructor for deserialization.
- WhiteBlackList.WhiteBlackListLeafname - Class in nonapi.io.github.classgraph
-
Whitelist/blacklist for prefix strings.
- WhiteBlackList.WhiteBlackListPrefix - Class in nonapi.io.github.classgraph
-
Whitelist/blacklist for prefix strings.
- WhiteBlackList.WhiteBlackListWholeString - Class in nonapi.io.github.classgraph
-
Whitelist/blacklist for whole-strings matches.
- WhiteBlackListLeafname() - Constructor for class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListLeafname
- WhiteBlackListPrefix() - Constructor for class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListPrefix
- WhiteBlackListWholeString() - Constructor for class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListWholeString
- whitelist - Variable in class nonapi.io.github.classgraph.WhiteBlackList
-
Whitelisted items (whole-string match)
- whitelistAndBlacklistAreEmpty() - Method in class nonapi.io.github.classgraph.WhiteBlackList
- whitelistClasses(String...) - Method in class io.github.classgraph.ClassGraph
-
Scan one or more specific classes, without scanning other classes in the same package unless the package is itself whitelisted.
- whitelistClasspathElementsContainingResourcePath(String...) - Method in class io.github.classgraph.ClassGraph
-
Whitelist classpath elements based on resource paths.
- whitelistGlobs - Variable in class nonapi.io.github.classgraph.WhiteBlackList
-
Whitelist glob strings.
- whitelistHasPrefix(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListLeafname
-
Prefix tests are invalid for jar leafnames.
- whitelistHasPrefix(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListPrefix
-
Prefix-of-prefix is invalid.
- whitelistHasPrefix(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList.WhiteBlackListWholeString
-
Check if the requested string is a prefix of a whitelisted string.
- whitelistHasPrefix(String) - Method in class nonapi.io.github.classgraph.WhiteBlackList
- whitelistIsEmpty() - Method in class nonapi.io.github.classgraph.WhiteBlackList
- whitelistJars(String...) - Method in class io.github.classgraph.ClassGraph
-
Whitelist one or more jars.
- whitelistLibOrExtJars(String...) - Method in class io.github.classgraph.ClassGraph
-
Whitelist one or more jars in a JRE/JDK "lib/" or "ext/" directory (these directories are not scanned unless
ClassGraph.enableSystemPackages()
is called, by association with the JRE/JDK). - whitelistModules(String...) - Method in class io.github.classgraph.ClassGraph
-
Whitelist one or more modules to scan.
- whitelistPackages(String...) - Method in class io.github.classgraph.ClassGraph
-
Scan one or more specific packages and their sub-packages.
- whitelistPackagesNonRecursive(String...) - Method in class io.github.classgraph.ClassGraph
-
Scan one or more specific packages, without recursively scanning sub-packages unless they are themselves whitelisted.
- whitelistPaths(String...) - Method in class io.github.classgraph.ClassGraph
-
Scan one or more specific paths, and their sub-directories or nested paths.
- whitelistPathsNonRecursive(String...) - Method in class io.github.classgraph.ClassGraph
-
Scan one or more specific paths, without recursively scanning sub-directories or nested paths unless they are themselves whitelisted.
- whitelistPatterns - Variable in class nonapi.io.github.classgraph.WhiteBlackList
-
Whitelist regexp patterns.
- whitelistPrefixes - Variable in class nonapi.io.github.classgraph.WhiteBlackList
-
Whitelisted items (prefix match)
- Windows - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Windows
- WorkQueue<T> - Class in nonapi.io.github.classgraph.concurrency
-
A parallel work queue.
- WorkQueue.WorkUnitProcessor<T> - Interface in nonapi.io.github.classgraph.concurrency
-
A work unit processor.
Z
- ZipFileSlice - Class in nonapi.io.github.classgraph.fastzipfilereader
-
A zipfile slice (a sub-range of bytes within a PhysicalZipFile.
All Classes All Packages