Index

A B C D E F G H I J L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accept - Variable in class nonapi.io.github.classgraph.scanspec.AcceptReject
Accepted items (whole-string match).
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, byte[]) - Method in interface io.github.classgraph.ResourceList.ByteArrayConsumerThrowsIOException
Consume the complete content of a Resource as a byte array, possibly throwing IOException.
accept(Resource, InputStream) - Method in interface io.github.classgraph.ResourceList.InputStreamConsumer
Consume a Resource as an InputStream.
accept(Resource, InputStream) - Method in interface io.github.classgraph.ResourceList.InputStreamConsumerThrowsIOException
Consume the complete content of a Resource as a byte array, possibly throwing IOException.
accept(Resource, ByteBuffer) - Method in interface io.github.classgraph.ResourceList.ByteBufferConsumer
Consume a Resource as a ByteBuffer, possibly throwing IOException.
accept(Resource, ByteBuffer) - Method in interface io.github.classgraph.ResourceList.ByteBufferConsumerThrowsIOException
Consume the complete content of a Resource as a byte array.
acceptAndRejectAreEmpty() - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Check if the accept and reject are empty.
acceptClasses(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 accepted.
acceptClasspathElementsContainingResourcePath(String...) - Method in class io.github.classgraph.ClassGraph
Accept classpath elements based on resource paths.
acceptGlobs - Variable in class nonapi.io.github.classgraph.scanspec.AcceptReject
Accept glob strings.
acceptHasPrefix(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Check if a string is a prefix of an accepted string.
acceptHasPrefix(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectLeafname
Prefix tests are invalid for jar leafnames -- throws IllegalArgumentException.
acceptHasPrefix(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectPrefix
Prefix-of-prefix is invalid -- throws IllegalArgumentException.
acceptHasPrefix(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectWholeString
Check if the requested string is a prefix of an accepted string.
acceptIsEmpty() - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Check if the accept is empty.
acceptJars(String...) - Method in class io.github.classgraph.ClassGraph
Accept one or more jars.
acceptLibOrExtJars(String...) - Method in class io.github.classgraph.ClassGraph
Accept one or more jars in a JRE/JDK "lib/" or "ext/" directory (these directories are not scanned unless ClassGraph.enableSystemJarsAndModules() is called, by association with the JRE/JDK).
acceptModules(String...) - Method in class io.github.classgraph.ClassGraph
Accept one or more modules for scanning.
acceptPackages(String...) - Method in class io.github.classgraph.ClassGraph
Scan one or more specific packages and their sub-packages.
acceptPackagesNonRecursive(String...) - Method in class io.github.classgraph.ClassGraph
Scan one or more specific packages, without recursively scanning sub-packages unless they are themselves accepted.
acceptPaths(String...) - Method in class io.github.classgraph.ClassGraph
Scan one or more specific paths, and their sub-directories or nested paths.
acceptPathsNonRecursive(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 accepted.
acceptPatterns - Variable in class nonapi.io.github.classgraph.scanspec.AcceptReject
Accept regexp patterns.
acceptPrefixes - Variable in class nonapi.io.github.classgraph.scanspec.AcceptReject
Accepted items (prefix match), as a sorted list.
acceptPrefixesSet - Variable in class nonapi.io.github.classgraph.scanspec.AcceptReject
Accepted items (prefix match), as a set.
AcceptReject - Class in nonapi.io.github.classgraph.scanspec
A class storing accept or reject criteria.
AcceptReject() - Constructor for class nonapi.io.github.classgraph.scanspec.AcceptReject
Deserialization constructor.
AcceptReject(char) - Constructor for class nonapi.io.github.classgraph.scanspec.AcceptReject
Constructor for deserialization.
AcceptReject.AcceptRejectLeafname - Class in nonapi.io.github.classgraph.scanspec
Accept/reject for leaf matches.
AcceptReject.AcceptRejectPrefix - Class in nonapi.io.github.classgraph.scanspec
Accept/reject for prefix strings.
AcceptReject.AcceptRejectWholeString - Class in nonapi.io.github.classgraph.scanspec
Accept/reject for whole-strings matches.
AcceptRejectLeafname() - Constructor for class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectLeafname
Deserialization constructor.
AcceptRejectLeafname(char) - Constructor for class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectLeafname
Instantiates a new accept/reject for leaf matches.
AcceptRejectPrefix() - Constructor for class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectPrefix
Deserialization constructor.
AcceptRejectPrefix(char) - Constructor for class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectPrefix
Instantiate a new accept/reject for prefix strings.
AcceptRejectWholeString() - Constructor for class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectWholeString
Deserialization constructor.
AcceptRejectWholeString(char) - Constructor for class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectWholeString
Instantiate a new accept/reject for whole-string matches.
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.
add(int, AnnotationInfo) - Method in class io.github.classgraph.AnnotationInfoList
 
add(int, AnnotationParameterValue) - Method in class io.github.classgraph.AnnotationParameterValueList
 
add(int, ClassInfo) - Method in class io.github.classgraph.ClassInfoList
 
add(int, FieldInfo) - Method in class io.github.classgraph.FieldInfoList
 
add(int, T) - Method in class io.github.classgraph.InfoList
 
add(int, T) - Method in class io.github.classgraph.MappableInfoList
 
add(int, MethodInfo) - Method in class io.github.classgraph.MethodInfoList
 
add(int, ModuleInfo) - Method in class io.github.classgraph.ModuleInfoList
 
add(int, PackageInfo) - Method in class io.github.classgraph.PackageInfoList
 
add(int, Resource) - Method in class io.github.classgraph.ResourceList
 
add(ClassLoader, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
Add a ClassLoader to the ClassLoader order at the current position.
add(AnnotationInfo) - Method in class io.github.classgraph.AnnotationInfoList
 
add(AnnotationParameterValue) - Method in class io.github.classgraph.AnnotationParameterValueList
 
add(ClassInfo) - Method in class io.github.classgraph.ClassInfoList
 
add(FieldInfo) - Method in class io.github.classgraph.FieldInfoList
 
add(T) - Method in class io.github.classgraph.InfoList
 
add(T) - Method in class io.github.classgraph.MappableInfoList
 
add(MethodInfo) - Method in class io.github.classgraph.MethodInfoList
 
add(ModuleInfo) - Method in class io.github.classgraph.ModuleInfoList
 
add(PackageInfo) - Method in class io.github.classgraph.PackageInfoList
 
add(Resource) - Method in class io.github.classgraph.ResourceList
 
addAll(int, Collection) - Method in class io.github.classgraph.AnnotationInfoList
 
addAll(int, Collection) - Method in class io.github.classgraph.AnnotationParameterValueList
 
addAll(int, Collection) - Method in class io.github.classgraph.ClassInfoList
 
addAll(int, Collection) - Method in class io.github.classgraph.FieldInfoList
 
addAll(int, Collection) - Method in class io.github.classgraph.InfoList
 
addAll(int, Collection) - Method in class io.github.classgraph.MappableInfoList
 
addAll(int, Collection) - Method in class io.github.classgraph.MethodInfoList
 
addAll(int, Collection) - Method in class io.github.classgraph.ModuleInfoList
 
addAll(int, Collection) - Method in class io.github.classgraph.PackageInfoList
 
addAll(int, Collection) - Method in class io.github.classgraph.ResourceList
 
addAll(Collection) - Method in class io.github.classgraph.AnnotationInfoList
 
addAll(Collection) - Method in class io.github.classgraph.AnnotationParameterValueList
 
addAll(Collection) - Method in class io.github.classgraph.ClassInfoList
 
addAll(Collection) - Method in class io.github.classgraph.FieldInfoList
 
addAll(Collection) - Method in class io.github.classgraph.InfoList
 
addAll(Collection) - Method in class io.github.classgraph.MappableInfoList
 
addAll(Collection) - Method in class io.github.classgraph.MethodInfoList
 
addAll(Collection) - Method in class io.github.classgraph.ModuleInfoList
 
addAll(Collection) - Method in class io.github.classgraph.PackageInfoList
 
addAll(Collection) - Method in class io.github.classgraph.ResourceList
 
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.ScanSpec
Add a ClassLoader to the list of ClassLoaders to scan.
addClasspathEntries(List, ClassLoader, ScanSpec, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
Add classpath entries, separated by the system path separator character.
addClasspathEntry(Object, ClassLoader, ScanSpec, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
Add a classpath element relative to a base file.
addClasspathEntryObject(Object, ClassLoader, ScanSpec, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
Add classpath entries from an object obtained from reflection.
addClasspathOverride(Object) - Method in class nonapi.io.github.classgraph.scanspec.ScanSpec
Override the automatically-detected classpath with a custom path.
addClasspathPathStr(String, ClassLoader, ScanSpec, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
Add classpath entries, separated by the system path separator character.
addedClassLoaders - Variable in class nonapi.io.github.classgraph.scanspec.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.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.
addExports - Variable in class io.github.classgraph.ModulePathInfo
The module exports directives added on the commandline using the --add-exports switch, as an ordered set of strings in the format <source-module>/<package>=<target-module>(,<target-module>)*, in the order they were listed on the commandline.
addExportsManifestEntryValue - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
The value of the "Add-Exports" manifest entry, if present in the manifest, else null.
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.ScanSpec
Add a ModuleLayer to the list of ModuleLayers to scan.
addModules - Variable in class io.github.classgraph.ModulePathInfo
The modules added to the module path on the commandline using the --add-modules switch, as an ordered set of module names, in the order they were listed on the commandline.
addOpens - Variable in class io.github.classgraph.ModulePathInfo
The module opens directives added on the commandline using the --add-opens switch, as an ordered set of strings in the format <source-module>/<package>=<target-module>(,<target-module>)*, in the order they were listed on the commandline.
addOpensManifestEntryValue - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
The value of the "Add-Opens" manifest entry, if present in the manifest, else null.
addReads - Variable in class io.github.classgraph.ModulePathInfo
The module reads directives added on the commandline using the --add-reads switch, as an ordered set of strings in the format <source-module>=<target-module>, in the order they were listed on the commandline.
addToAccept(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectLeafname
Add to the accept.
addToAccept(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectPrefix
Add to the accept.
addToAccept(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectWholeString
Add to the accept.
addToAccept(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Add to the accept.
addToReject(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectLeafname
Add to the reject.
addToReject(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectPrefix
Add to the reject.
addToReject(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectWholeString
Add to the reject.
addToReject(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Add to the reject.
addTypeAnnotation(AnnotationInfo) - Method in class io.github.classgraph.HierarchicalTypeSignature
Add a type annotation.
addTypeAnnotation(List, AnnotationInfo) - Method in class io.github.classgraph.ArrayTypeSignature
 
addTypeAnnotation(List, AnnotationInfo) - Method in class io.github.classgraph.BaseTypeSignature
 
addTypeAnnotation(List, AnnotationInfo) - Method in class io.github.classgraph.ClassRefTypeSignature
 
addTypeAnnotation(List, AnnotationInfo) - Method in class io.github.classgraph.ClassTypeSignature
 
addTypeAnnotation(List, AnnotationInfo) - Method in class io.github.classgraph.HierarchicalTypeSignature
Add a type annotation.
addTypeAnnotation(List, AnnotationInfo) - Method in class io.github.classgraph.MethodTypeSignature
 
addTypeAnnotation(List, AnnotationInfo) - Method in class io.github.classgraph.TypeArgument
 
addTypeAnnotation(List, AnnotationInfo) - Method in class io.github.classgraph.TypeParameter
 
addTypeAnnotation(List, AnnotationInfo) - Method in class io.github.classgraph.TypeSignature
Add a type annotation to this type.
addTypeAnnotation(List, AnnotationInfo) - Method in class io.github.classgraph.TypeVariableSignature
 
addWorkUnit(T) - Method in class nonapi.io.github.classgraph.concurrency.WorkQueue
Add a unit of work.
addWorkUnits(Collection) - 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.
afterExecute(Runnable, Throwable) - Method in class nonapi.io.github.classgraph.concurrency.AutoCloseableExecutorService
Catch exceptions from both submit() and execute(), and call InterruptionChecker.interrupt() to interrupt all threads.
allowedURLSchemes - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
URL schemes that are allowed in classpath elements (not counting the optional "jar:" prefix and/or "file:", which are automatically allowed).
ANCESTOR_OF_ACCEPTED_PATH - Enum constant in enum nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
Path is an ancestor of an accepted 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 - Variable in class io.github.classgraph.ClassMemberInfo
The annotation on the class member, if any.
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() - Constructor for class io.github.classgraph.AnnotationInfoList
Construct a new modifiable empty list of AnnotationInfo objects.
AnnotationInfoList(int) - Constructor for class io.github.classgraph.AnnotationInfoList
Construct a new modifiable empty list of AnnotationInfo objects, given a size hint.
AnnotationInfoList(AnnotationInfoList) - Constructor for class io.github.classgraph.AnnotationInfoList
Construct a new modifiable empty AnnotationInfoList, given an initial list of AnnotationInfo objects.
AnnotationInfoList.AnnotationInfoFilter - Interface in io.github.classgraph
Filter an AnnotationInfoList using a predicate mapping an AnnotationInfo object to a boolean, producing another AnnotationInfoList 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.
AnnotationParameterValueList() - Constructor for class io.github.classgraph.AnnotationParameterValueList
Construct a new modifiable empty list of AnnotationParameterValue objects.
AnnotationParameterValueList(int) - Constructor for class io.github.classgraph.AnnotationParameterValueList
Construct a new modifiable empty list of AnnotationParameterValue objects, given a size hint.
AnnotationParameterValueList(Collection) - Constructor for class io.github.classgraph.AnnotationParameterValueList
Construct a new modifiable empty AnnotationParameterValueList, given an initial list of AnnotationParameterValue objects.
ANY - Enum constant in enum io.github.classgraph.TypeArgument.Wildcard
The '?'
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.
arr - Variable in class nonapi.io.github.classgraph.fileslice.ArraySlice
The wrapped byte array.
ArrayClassInfo - Class in io.github.classgraph
Holds metadata about an array class.
ArraySlice - Class in nonapi.io.github.classgraph.fileslice
A byte array slice.
ArraySlice(byte[], boolean, long, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fileslice.ArraySlice
Constructor for treating a whole array as a slice.
ArrayTypeSignature - Class in io.github.classgraph
An array type signature.
asMap() - Method in class io.github.classgraph.MappableInfoList
Get an index for this list, as a map from the name of each list item (obtained by calling getName() on each list item) to the list item.
asMap() - Method in class io.github.classgraph.MethodInfoList
Get this MethodInfoList as a map from method name to a MethodInfoList of methods with that name.
asMap() - Method in class io.github.classgraph.ResourceList
Return this ResourceList as a map from resource path (obtained from Resource.getPath()) to a ResourceList of Resource objects that have that path.
Assert - Class in nonapi.io.github.classgraph.utils
Assertions.
Assert() - Constructor for class nonapi.io.github.classgraph.utils.Assert
 
AT_ACCEPTED_CLASS_PACKAGE - Enum constant in enum nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
Path is the package of a specifically-accepted class.
AT_ACCEPTED_PATH - Enum constant in enum nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
Path is accepted.
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.
AUTOMATIC_LIB_DIR_PREFIXES - Static variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
Lib dirs whose jars should be added to the classpath automatically (to compensate for some classloaders not explicitly listing these jars as classpath elements).
AUTOMATIC_PACKAGE_ROOT_PREFIXES - Static variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
Automatic classfile prefixes (to compensate for some classloaders not explicitly listing these prefixes as part of the classpath element URL or path).
automaticModuleNameManifestEntryValue - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
The value of the "Automatic-Module-Name" manifest entry, if present in the manifest, else null.
available() - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 

B

BaseTypeSignature - Class in io.github.classgraph
A type signature for a base type (byte, char, double, float, int, long, short, boolean, or void).
blacklistClasses(String...) - Method in class io.github.classgraph.ClassGraph
Deprecated.
blacklistClasspathElementsContainingResourcePath(String...) - Method in class io.github.classgraph.ClassGraph
blacklistJars(String...) - Method in class io.github.classgraph.ClassGraph
Deprecated.
blacklistLibOrExtJars(String...) - Method in class io.github.classgraph.ClassGraph
blacklistModules(String...) - Method in class io.github.classgraph.ClassGraph
Deprecated.
blacklistPackages(String...) - Method in class io.github.classgraph.ClassGraph
Deprecated.
blacklistPaths(String...) - Method in class io.github.classgraph.ClassGraph
Deprecated.
BSD - Enum constant in enum nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
BSD.
buf() - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
Buf.
bufferTo(int) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
Ensure that the given number of bytes have been read into the buffer from the beginning of the slice.
bundleClassPathManifestEntryValue - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
The value of the "Bundle-ClassPath" manifest entry, if present in the manifest, else null.
byteBuffer - Variable in class io.github.classgraph.Resource
The byte buffer, or null.

C

canHandle(Class, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
Call the static method canHandle(ClassLoader) for the associated ClassLoaderHandler.
canRead(File) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Check if a File exists and can be read.
canRead(Path) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Check if a Path exists and can be read.
canReadAndIsDir(File) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Check if a File exists, is a directory, and can be read.
canReadAndIsDir(Path) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Check if a Path exists, is a directory, and can be read.
canReadAndIsFile(File) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Check if a File exists, is a regular file, and can be read.
canReadAndIsFile(Path) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Check if a Path exists, is a regular file, and can be read.
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
Check for interruption and return interruption status.
checkCanReadAndIsDir(File) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Check if a File exists, is a directory, and can be read.
checkCanReadAndIsFile(File) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Check if a File exists, is a regular file, and can be read.
checkCanReadAndIsFile(Path) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Check if a Path exists, is a regular file, and can be read.
CIRCUMVENT_ENCAPSULATION - Static variable in class io.github.classgraph.ClassGraph
If you are running on JDK 16+, the JDK enforces strong encapsulation, and ClassGraph may be unable to read the classpath from your classloader if the classloader does not make the classpath available via a public method or field.
CLASS - Enum constant in enum nonapi.io.github.classgraph.types.TypeUtils.ModifierType
The modifier bits apply to a class.
CLASS_LOADER_HANDLERS - Static variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
Default ClassLoaderHandlers.
classAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Class accept/reject criteria (fully-qualified class names, with separator '.').
classfileIsSpecificallyAccepted(String) - Method in class nonapi.io.github.classgraph.scanspec.ScanSpec
Returns true if the given relative path (for a classfile name, including ".class") matches a specifically-accepted (and non-rejected) classfile's relative path.
classfilePathAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Classfile accept/reject criteria (path to classfiles, with separator '/', ending in ".class").
classfilePathToClassName(String) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
Convert a classfile path to the corresponding class name.
ClassfileReader - Class in nonapi.io.github.classgraph.fileslice.reader
A Slice reader that works as either a RandomAccessReader or a SequentialReader.
ClassfileReader(InputStream, Resource) - Constructor for class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
Constructor for reader of module InputStream (which is not deflated).
ClassfileReader(Slice, Resource) - Constructor for class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
Constructor.
classfileResource - Variable in class io.github.classgraph.ClassInfo
The Resource for the classfile of this class.
classFilesOnly() - Method in class io.github.classgraph.ResourceList
Return a new ResourceList consisting of only the resources with the filename extension ".class".
classForNameOrNull(String) - Method in class nonapi.io.github.classgraph.reflection.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.CircumventEncapsulationMethod - Enum in io.github.classgraph
Method to use to attempt to circumvent encapsulation in JDK 16+, in order to get access to a classloader's private classpath.
ClassGraph.ClasspathElementFilter - Interface in io.github.classgraph
Add a classpath element filter.
ClassGraph.ClasspathElementURLFilter - Interface in io.github.classgraph
Add a classpath element URL 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.
ClassGraphClassLoader - Class in io.github.classgraph
ClassLoader for classes found by ClassGraph during scanning.
ClassGraphException - Exception Class in io.github.classgraph
An unchecked exception that is thrown when an error state occurs or an unhandled exception is caught during scanning.
ClassInfo - Class in io.github.classgraph
Holds metadata about a class encountered during a scan.
ClassInfo(String, int, Resource) - Constructor for class io.github.classgraph.ClassInfo
Constructor.
ClassInfoList - Class in io.github.classgraph
A uniquified (deduplicated) 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() - Constructor for class io.github.classgraph.ClassInfoList
Construct a new empty modifiable list of ClassInfo objects.
ClassInfoList(int) - Constructor for class io.github.classgraph.ClassInfoList
Construct a new empty modifiable list of ClassInfo objects, given a size hint.
ClassInfoList(Collection) - Constructor for class io.github.classgraph.ClassInfoList
Construct a new modifiable empty ClassInfoList, given an initial list of ClassInfo objects.
ClassInfoList.ClassInfoFilter - Interface in io.github.classgraph
Filter a ClassInfoList using a predicate mapping a ClassInfo object to a boolean, producing another ClassInfoList for all items in the list for which the predicate is true.
classLoader - Variable in class nonapi.io.github.classgraph.classpath.ClasspathOrder.ClasspathEntry
The classloader the classpath element was obtained from.
ClassLoaderFinder - Class in nonapi.io.github.classgraph.classpath
A class to find the unique ordered classpath elements.
ClassLoaderHandler - Interface in nonapi.io.github.classgraph.classloaderhandler
A ClassLoader handler.
classLoaderHandlerClass - Variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
The ClassLoaderHandler class.
ClassLoaderHandlerRegistry - Class in nonapi.io.github.classgraph.classloaderhandler
The registry for ClassLoaderHandler classes.
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.
ClassLoaderOrder - Class in nonapi.io.github.classgraph.classpath
A class to find all unique classloaders.
ClassLoaderOrder(ReflectionUtils) - Constructor for class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
 
ClassMemberInfo - Class in io.github.classgraph
Holds metadata about class members of a class encountered during a scan.
ClassMemberInfo(String, String, int, String, String, AnnotationInfoList) - Constructor for class io.github.classgraph.ClassMemberInfo
Constructor.
classNameToClassfilePath(String) - Static method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Convert a class name to a classfile path.
classNameToClassfilePath(String) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
Convert a class name to the corresponding classfile path.
classOrPackageIsRejected(String) - Method in class nonapi.io.github.classgraph.scanspec.ScanSpec
Returns true if the class is specifically rejected, or is within a rejected package.
classPackageAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Package containing accept/reject criteriaed classes (with separator '.').
classPackagePathAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Path to accept/reject criteriaed classes (with separator '/').
classpathContentsLastModifiedTime() - Method in class io.github.classgraph.ScanResult
Find the maximum last-modified timestamp of any accepted 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.ScanSpec
If non-null, a list of filter operations to apply to classpath elements.
classpathElementResourcePathAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Classpath element resource path accept/reject criteria.
ClasspathEntry(Object, ClassLoader) - Constructor for class nonapi.io.github.classgraph.classpath.ClasspathOrder.ClasspathEntry
Constructor.
classpathEntryObj - Variable in class nonapi.io.github.classgraph.classpath.ClasspathOrder.ClasspathEntry
The classpath entry object (a String path, Path, URL or URI).
ClasspathFinder - Class in nonapi.io.github.classgraph.classpath
A class to find the unique ordered classpath elements.
ClasspathFinder(ScanSpec, ReflectionUtils, LogNode) - Constructor for class nonapi.io.github.classgraph.classpath.ClasspathFinder
A class to find the unique ordered classpath elements.
classPathManifestEntryValue - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
The value of the "Class-Path" manifest entry, if present in the manifest, else null.
ClasspathOrder - Class in nonapi.io.github.classgraph.classpath
A class to find the unique ordered classpath elements.
ClasspathOrder.ClasspathEntry - Class in nonapi.io.github.classgraph.classpath
A classpath element and the ClassLoader it was obtained from.
classRef - Variable in class io.github.classgraph.AnnotationClassRef
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.AnnotationEnumValue
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.AnnotationInfo
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.AnnotationParameterValue
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.ArrayClassInfo
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.ArrayTypeSignature
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.BaseTypeSignature
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.ClassInfo
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.ClassMemberInfo
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.ClassRefOrTypeVariableSignature
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.ClassRefTypeSignature
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.ClassTypeSignature
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.FieldInfo
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.HierarchicalTypeSignature
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.MethodInfo
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.MethodTypeSignature
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.ReferenceTypeSignature
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.TypeArgument
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.TypeParameter
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.TypeSignature
The class ref, once the class is loaded.
classRef - Variable in class io.github.classgraph.TypeVariableSignature
The class ref, once the class is loaded.
ClassRefOrTypeVariableSignature - Class in io.github.classgraph
A class type or type variable.
ClassRefOrTypeVariableSignature() - Constructor for class io.github.classgraph.ClassRefOrTypeVariableSignature
Constructor.
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).
clear() - Method in class io.github.classgraph.AnnotationInfoList
 
clear() - Method in class io.github.classgraph.AnnotationParameterValueList
 
clear() - Method in class io.github.classgraph.ClassInfoList
 
clear() - Method in class io.github.classgraph.FieldInfoList
 
clear() - Method in class io.github.classgraph.InfoList
 
clear() - Method in class io.github.classgraph.MappableInfoList
 
clear() - Method in class io.github.classgraph.MethodInfoList
 
clear() - Method in class io.github.classgraph.ModuleInfoList
 
clear() - Method in class io.github.classgraph.PackageInfoList
 
clear() - Method in class io.github.classgraph.ResourceList
 
clear() - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
Clear the map.
close() - Method in class io.github.classgraph.CloseableByteBuffer
Release the wrapped ByteBuffer.
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.ResourceList
Close all the Resource objects in this ResourceList.
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
Completion barrier for work queue.
close() - Method in class nonapi.io.github.classgraph.fileslice.FileSlice
Close the slice.
close() - Method in class nonapi.io.github.classgraph.fileslice.PathSlice
Close the slice.
close() - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
close() - Method in class nonapi.io.github.classgraph.fileslice.Slice
 
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() - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
close(LogNode) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
Close zipfiles, modules, and recyclers, and delete temporary files.
CloseableByteBuffer - Class in io.github.classgraph
A wrapper for ByteBuffer that implements the Closeable interface, releasing the ByteBuffer when it is no longer needed.
closeAll() - Static method in class io.github.classgraph.ScanResult
Close all ScanResult instances that have not yet been closed.
closeDirectByteBuffer(ByteBuffer) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
 
closeDirectByteBuffer(ByteBuffer, ReflectionUtils, LogNode) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Close a DirectByteBuffer -- in particular, will unmap a MappedByteBuffer.
CollectionUtils - Class in nonapi.io.github.classgraph.utils
Collection utilities.
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
Compare to.
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.MappableInfoList
Check if this list contains an item with the given name.
containsName(String) - Method in class io.github.classgraph.MethodInfoList
Check whether the list contains a method with the given name.
createCachedAttributesGetter() - Static method in class nonapi.io.github.classgraph.utils.FileUtils
 
currDirPath() - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Get the current directory (only looks at the current directory the first time it is called, then caches this value for future reads).
currPos() - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
Curr pos.
currToken() - Method in class nonapi.io.github.classgraph.types.Parser
Get the current token, and reset the token to empty.

D

declaringClassName - Variable in class io.github.classgraph.ClassMemberInfo
Defining class name.
decodePath(String) - Static method in class nonapi.io.github.classgraph.utils.URLPathEncoder
Unescape a URL segment, and turn it from UTF-8 bytes into a Java string.
delegateTo(ClassLoader, boolean, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
Recursively delegate to another ClassLoader.
derivedAutomaticModuleName(String) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
Derive automatic module name from jar name, using this algorithm.
deserializeObject(Class, 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.
deserializeObject(Class, String, ReflectionUtils) - 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.
deserializeToField(Object, String, String, ReflectionUtils) - 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.
dirAcceptMatchStatus(String) - Method in class nonapi.io.github.classgraph.scanspec.ScanSpec
Returns true if the given directory path is a descendant of a rejected path, or an ancestor or descendant of an accepted path.
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.
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.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).
doPrivileged(Callable) - Method in class nonapi.io.github.classgraph.reflection.ReflectionUtils
Call a method in the AccessController.doPrivileged(PrivilegedAction) context, using reflection, if possible (AccessController is deprecated in JDK 17).

E

emptyList() - Static method in class io.github.classgraph.AnnotationInfoList
Return an unmodifiable empty AnnotationInfoList.
emptyList() - Static method in class io.github.classgraph.AnnotationParameterValueList
Return an unmodifiable empty AnnotationParameterValueList.
emptyList() - Static method in class io.github.classgraph.ClassInfoList
Return an unmodifiable empty ClassInfoList.
emptyList() - Static method in class io.github.classgraph.FieldInfoList
Return an unmodifiable empty FieldInfoList.
emptyList() - Static method in class io.github.classgraph.MethodInfoList
Return an unmodifiable empty MethodInfoList.
emptyList() - Static method in class io.github.classgraph.ResourceList
Return an unmodifiable empty ResourceList.
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.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.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 the ScanResult.
enableExternalClasses - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
If true, allow external classes (classes outside of accepted packages) to be returned in the ScanResult, if they are directly referred to by an accepted 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 accepted packages, but that are directly referred to by classes within accepted packages as a superclass, implemented interface or annotation.
enableFieldInfo - Variable in class nonapi.io.github.classgraph.scanspec.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.
enableInterClassDependencies - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
If true, enables the determination of inter-class dependencies.
enableInterClassDependencies() - Method in class io.github.classgraph.ClassGraph
Enables the determination of inter-class dependencies, which may be read by calling ClassInfo.getClassDependencies(), ScanResult.getClassDependencyMap() or ScanResult.getReverseClassDependencyMap().
enableMemoryMapping - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
If true, use a MappedByteBuffer rather than the FileChannel API to access file content.
enableMemoryMapping() - Method in class io.github.classgraph.ClassGraph
If true, use a MappedByteBuffer rather than the FileChannel API to open files, which may be faster for large classpaths consisting of many large jarfiles, but uses up virtual memory space.
enableMethodInfo - Variable in class nonapi.io.github.classgraph.scanspec.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.
enableMultiReleaseVersions - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
If true, all multi-release versions of a resource are found.
enableMultiReleaseVersions() - Method in class io.github.classgraph.ClassGraph
If true, provide all versions of a multi-release resource using their multi-release path prefix, instead of just the one the running JVM would select.
enableRealtimeLogging() - Method in class io.github.classgraph.ClassGraph
Enables logging by calling ClassGraph.verbose(), and then sets the logger to "realtime logging mode", where log entries are written out immediately to stderr, rather than only after the scan has completed.
enableRemoteJarScanning() - Method in class io.github.classgraph.ClassGraph
Enable classpath elements to be fetched from remote ("http:"/"https:") URLs (or URLs with custom schemes).
enableStaticFinalFieldConstantInitializerValues - Variable in class nonapi.io.github.classgraph.scanspec.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.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.
enableURLScheme(String) - Method in class io.github.classgraph.ClassGraph
Enable classpath elements to be fetched from URL connections with the specified URL scheme (also works for any custom URL schemes that have been defined, as long as they have more than two characters, in order to not conflict with Windows drive letters).
enableURLScheme(String) - Method in class nonapi.io.github.classgraph.scanspec.ScanSpec
Allow a specified URL scheme in classpath elements.
encodePath(String) - Static method in class nonapi.io.github.classgraph.utils.URLPathEncoder
Encode a URL path using percent-encoding. '/' is not encoded.
entries - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
The zipfile entries.
entries() - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
Get the map entries.
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. entryName with "META_INF/versions/{versionInt}/" stripped)
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.AnnotationInfoList
 
equals(Object) - Method in class io.github.classgraph.AnnotationParameterValue
 
equals(Object) - Method in class io.github.classgraph.ArrayClassInfo
 
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.ClassInfoList
 
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.InfoList
 
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.MethodParameterInfo
 
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.ResourceList
 
equals(Object) - Method in class io.github.classgraph.Resource
Equals.
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.classpath.ClasspathOrder.ClasspathEntry
 
equals(Object) - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
 
equals(Object) - Method in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
 
equals(Object) - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
 
equals(Object) - Method in class nonapi.io.github.classgraph.fileslice.ArraySlice
 
equals(Object) - Method in class nonapi.io.github.classgraph.fileslice.FileSlice
 
equals(Object) - Method in class nonapi.io.github.classgraph.fileslice.PathSlice
 
equals(Object) - Method in class nonapi.io.github.classgraph.fileslice.Slice
 
equals(Object) - Method in class nonapi.io.github.classgraph.json.ReferenceEqualityKey
Equals.
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
 
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 another ClassInfoList, i.e.
expect(char) - Method in class nonapi.io.github.classgraph.types.Parser
Expect the next character.
EXTENDS - Enum constant in enum io.github.classgraph.TypeArgument.Wildcard
extends.
extendScanningUpwardsToExternalClasses - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
If true, when classes have superclasses, implemented interfaces or annotations that are external classes, those classes are also scanned.
extendsSuperclass(Class) - Method in class io.github.classgraph.ClassInfo
Checks if this class extends the superclass.
extendsSuperclass(String) - Method in class io.github.classgraph.ClassInfo
Checks if this class extends the named superclass.

F

FALLBACK_HANDLER - Static variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
Fallback ClassLoaderHandler.
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.
FastZipEntry - Class in nonapi.io.github.classgraph.fastzipfilereader
A zip entry within a LogicalZipFile.
FIELD - Enum constant in enum nonapi.io.github.classgraph.types.TypeUtils.ModifierType
The modifier bits apply to a field.
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() - Constructor for class io.github.classgraph.FieldInfoList
Construct a new modifiable empty list of FieldInfo objects.
FieldInfoList(int) - Constructor for class io.github.classgraph.FieldInfoList
Construct a new modifiable empty list of FieldInfo objects, given a size hint.
FieldInfoList(Collection) - Constructor for class io.github.classgraph.FieldInfoList
Construct a new modifiable empty FieldInfoList, given an initial list of FieldInfo objects.
FieldInfoList.FieldInfoFilter - Interface in io.github.classgraph
Filter an FieldInfoList using a predicate mapping an FieldInfo object to a boolean, producing another FieldInfoList for all items in the list for which the predicate is true.
file - Variable in class nonapi.io.github.classgraph.fileslice.FileSlice
The File.
fileAttributes - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
The file attributes for this resource, or 0 if unknown.
FileSlice - Class in nonapi.io.github.classgraph.fileslice
A File slice.
FileSlice(File, boolean, long, NestedJarHandler, LogNode) - Constructor for class nonapi.io.github.classgraph.fileslice.FileSlice
Constructor for toplevel file slice.
FileSlice(File, NestedJarHandler, LogNode) - Constructor for class nonapi.io.github.classgraph.fileslice.FileSlice
Constructor for toplevel file slice.
FileUtils - Class in nonapi.io.github.classgraph.utils
File utilities.
FileUtils.FileAttributesGetter - Interface in nonapi.io.github.classgraph.utils
 
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(Object) - Method in class nonapi.io.github.classgraph.scanspec.ScanSpec
Add a classpath element filter.
filterClasspathElementsByURL(ClassGraph.ClasspathElementURLFilter) - Method in class io.github.classgraph.ClassGraph
Add a classpath element filter.
find(String) - Method in class io.github.classgraph.ModuleReaderProxy
Use the proxied ModuleReader to find the named resource as a URI.
findClass(String) - Method in class io.github.classgraph.ClassGraphClassLoader
 
findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
Call the static method findClassLoaderOrder(ClassLoader, ClassLoaderOrder) for the associated ClassLoaderHandler.
findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
Call the static method findClasspathOrder(ClassLoader, ClasspathOrder) for the associated ClassLoaderHandler.
findDuplicatePaths() - Method in class io.github.classgraph.ResourceList
Find duplicate resource paths within this ResourceList.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.AnnotationInfo
Get ClassInfo objects for any classes referenced in the type descriptor or type signature.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.AnnotationInfoList
Get ClassInfo objects for any classes referenced in this list.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.AnnotationParameterValue
Get ClassInfo objects for any classes referenced in the annotation parameters.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.AnnotationParameterValueList
Get ClassInfo objects for any classes referenced in the methods in this list.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.ArrayClassInfo
Get ClassInfo objects for any classes referenced in the type descriptor or type signature.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.ClassInfo
Get ClassInfo objects for any classes referenced in this class' type descriptor, or the type descriptors of fields, methods or annotations.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.ClassTypeSignature
Get ClassInfo objects for any classes referenced in the type descriptor or type signature.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.FieldInfo
Get ClassInfo objects for any classes referenced in the type descriptor or type signature.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.FieldInfoList
Get ClassInfo objects for any classes referenced in the list.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.MethodInfo
Get ClassInfo objects for any classes referenced in the type descriptor or type signature.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.MethodInfoList
Get ClassInfo objects for any classes referenced in the type descriptor or type signature.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.MethodTypeSignature
Get ClassInfo objects for any classes referenced in the type descriptor or type signature.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.AnnotationClassRef
Get ClassInfo objects for any classes referenced by this object.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.AnnotationEnumValue
Get ClassInfo objects for any classes referenced by this object.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.ClassMemberInfo
Get ClassInfo objects for any classes referenced by this object.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.HierarchicalTypeSignature
Get ClassInfo objects for any classes referenced by this object.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.TypeArgument
Get ClassInfo objects for any classes referenced by this object.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.TypeParameter
Get ClassInfo objects for any classes referenced by this object.
findReferencedClassInfo(Map, Set, LogNode) - Method in class io.github.classgraph.TypeSignature
Get ClassInfo objects for any classes referenced in the type signature.
findReferencedClassNames(Set) - Method in class io.github.classgraph.ArrayTypeSignature
Get the names of any classes referenced in the type signature.
findReferencedClassNames(Set) - Method in class io.github.classgraph.BaseTypeSignature
Get the names of any classes referenced in the type signature.
findReferencedClassNames(Set) - Method in class io.github.classgraph.ClassRefTypeSignature
Get the names of any classes referenced in the type signature.
findReferencedClassNames(Set) - Method in class io.github.classgraph.ClassTypeSignature
Get the names of any classes referenced in the type signature.
findReferencedClassNames(Set) - Method in class io.github.classgraph.MethodTypeSignature
Get the names of any classes referenced in the type signature.
findReferencedClassNames(Set) - Method in class io.github.classgraph.TypeArgument
Get the names of any classes referenced in the type signature.
findReferencedClassNames(Set) - Method in class io.github.classgraph.TypeParameter
Get the names of any classes referenced in the type signature.
findReferencedClassNames(Set) - Method in class io.github.classgraph.TypeSignature
Get the names of any classes referenced in the type signature.
findReferencedClassNames(Set) - Method in class io.github.classgraph.TypeVariableSignature
Get the names of any classes referenced in the type signature.
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 calling Recycler.close() to close any AutoCloseable instances and discard all instances.
forceScanJavaClassPath() - Method in class nonapi.io.github.classgraph.classpath.ModuleFinder
Force scan java class path.
forEachByteArray(ResourceList.ByteArrayConsumer) - Method in class io.github.classgraph.ResourceList
forEachByteArray(ResourceList.ByteArrayConsumer, boolean) - Method in class io.github.classgraph.ResourceList
forEachByteArrayIgnoringIOException(ResourceList.ByteArrayConsumer) - Method in class io.github.classgraph.ResourceList
Fetch the content of each Resource in this ResourceList as a byte array, pass the byte array to the given ResourceList.ByteArrayConsumer, then close the underlying InputStream or release the underlying ByteBuffer by calling Resource.close() for each Resource.
forEachByteArrayThrowingIOException(ResourceList.ByteArrayConsumerThrowsIOException) - Method in class io.github.classgraph.ResourceList
Fetch the content of each Resource in this ResourceList as a byte array, pass the byte array to the given ResourceList.ByteArrayConsumer, then close the underlying InputStream or release the underlying ByteBuffer by calling Resource.close().
forEachByteBuffer(ResourceList.ByteBufferConsumer) - Method in class io.github.classgraph.ResourceList
forEachByteBuffer(ResourceList.ByteBufferConsumer, boolean) - Method in class io.github.classgraph.ResourceList
forEachByteBufferIgnoringIOException(ResourceList.ByteBufferConsumer) - Method in class io.github.classgraph.ResourceList
Read each Resource in this ResourceList as a ByteBuffer, pass the ByteBuffer to the given ResourceList.InputStreamConsumer, then release the ByteBuffer after the ResourceList.ByteBufferConsumer returns, by calling Resource.close() for each Resource.
forEachByteBufferThrowingIOException(ResourceList.ByteBufferConsumerThrowsIOException) - Method in class io.github.classgraph.ResourceList
Read each Resource in this ResourceList as a ByteBuffer, pass the ByteBuffer to the given ResourceList.InputStreamConsumer, then release the ByteBuffer after the ResourceList.ByteBufferConsumer returns, by calling Resource.close().
forEachInputStream(ResourceList.InputStreamConsumer) - Method in class io.github.classgraph.ResourceList
forEachInputStream(ResourceList.InputStreamConsumer, boolean) - Method in class io.github.classgraph.ResourceList
forEachInputStreamIgnoringIOException(ResourceList.InputStreamConsumer) - Method in class io.github.classgraph.ResourceList
Fetch an InputStream for each Resource in this ResourceList, pass the InputStream to the given ResourceList.InputStreamConsumer, then close the InputStream after the ResourceList.InputStreamConsumer returns, by calling Resource.close() for each Resource.
forEachInputStreamThrowingIOException(ResourceList.InputStreamConsumerThrowsIOException) - Method in class io.github.classgraph.ResourceList
Fetch an InputStream for each Resource in this ResourceList, pass the InputStream to the given ResourceList.InputStreamConsumer, then close the InputStream after the ResourceList.InputStreamConsumer returns, by calling Resource.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(float, float, boolean, 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.
generateGraphVizDotFileFromClassDependencies() - Method in class io.github.classgraph.ClassInfoList
generateGraphVizDotFileFromInterClassDependencies() - 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.
generateGraphVizDotFileFromInterClassDependencies(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.
generateGraphVizDotFileFromInterClassDependencies(float, float, 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.
get() - Method in class nonapi.io.github.classgraph.json.ReferenceEqualityKey
Get the wrapped key.
get() - Method in class nonapi.io.github.classgraph.recycler.RecycleOnClose
Get the object instance.
get(String) - Method in class io.github.classgraph.MappableInfoList
Get the list item with the given name, or null if not found.
get(String) - Method in class io.github.classgraph.MethodInfoList
Returns a list of all methods matching a given name.
get(String) - Method in class io.github.classgraph.ResourceList
Returns a list of all resources with the requested path.
get(Path) - Method in interface nonapi.io.github.classgraph.utils.FileUtils.FileAttributesGetter
 
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 the value of SingletonMap.newInstance(Object, LogNode) for that key, or block on the result of SingletonMap.newInstance(Object, LogNode) if another thread is currently creating the new instance.
get(K, LogNode, SingletonMap.NewInstanceFactory) - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
Check if the given key is in the map, and if so, return the value of SingletonMap.newInstance(Object, LogNode) for that key, or block on the result of SingletonMap.newInstance(Object, LogNode) if another thread is currently creating the new instance.
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.
getAllClassesAsMap() - Method in class io.github.classgraph.ScanResult
Get a map from class name to ClassInfo object for all classes, interfaces and annotations found during the scan.
getAllEnums() - Method in class io.github.classgraph.ScanResult
Get all Enum classes 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.
getAllParentClassLoaders() - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
Get the all parent classloaders.
getAllRecords() - Method in class io.github.classgraph.ScanResult
Get all record classes found during the scan (JDK 14+).
getAllResources() - Method in class io.github.classgraph.ScanResult
Get the list of all resources.
getAllResourcesAsMap() - Method in class io.github.classgraph.ScanResult
Get a map from resource path to Resource for all resources (including classfiles and non-classfiles) found in accepted packages.
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
Get the default parameter values for this annotation, if this is an annotation class.
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.ClassMemberInfo
Get a list of annotations on this class member, along with any annotation parameter values, wrapped in AnnotationInfo objects.
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(Class) - Method in class io.github.classgraph.ClassInfo
Get a the non-Repeatable annotation on this class, or null if the class does not have the annotation.
getAnnotationInfo(Class) - Method in class io.github.classgraph.ClassMemberInfo
Get a the non-Repeatable annotation on this class member, or null if the class member does not have the annotation.
getAnnotationInfo(Class) - Method in class io.github.classgraph.MethodParameterInfo
Get a the non-Repeatable annotation on this method, or null if the method parameter does not have the annotation.
getAnnotationInfo(Class) - Method in class io.github.classgraph.ModuleInfo
Get a the annotation on this module, or null if the module does not have the annotation.
getAnnotationInfo(Class) - Method in class io.github.classgraph.PackageInfo
Get a the annotation on this package, or null if the package does not have the annotation.
getAnnotationInfo(String) - Method in class io.github.classgraph.ClassInfo
Get a the named non-Repeatable annotation on this class, or null if the class does not have the named annotation.
getAnnotationInfo(String) - Method in class io.github.classgraph.ClassMemberInfo
Get a the named non-Repeatable annotation on this class member, or null if the class member does not have the named annotation.
getAnnotationInfo(String) - Method in class io.github.classgraph.MethodParameterInfo
Get a the named non-Repeatable annotation on this method, 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.
getAnnotationInfoRepeatable(Class) - Method in class io.github.classgraph.ClassInfo
Get a the Repeatable annotation on this class, or the empty list if the class does not have the annotation.
getAnnotationInfoRepeatable(Class) - Method in class io.github.classgraph.ClassMemberInfo
Get a the Repeatable annotation on this class member, or the empty list if the class member does not have the annotation.
getAnnotationInfoRepeatable(Class) - Method in class io.github.classgraph.MethodParameterInfo
Get a the Repeatable annotation on this method, or the empty list if the method parameter does not have the annotation.
getAnnotationInfoRepeatable(String) - Method in class io.github.classgraph.ClassInfo
Get a the named Repeatable annotation on this class, or the empty list if the class does not have the named annotation.
getAnnotationInfoRepeatable(String) - Method in class io.github.classgraph.ClassMemberInfo
Get a the named Repeatable annotation on this class member, or the empty list if the class member does not have the named annotation.
getAnnotationInfoRepeatable(String) - Method in class io.github.classgraph.MethodParameterInfo
Get a the named Repeatable annotation on this method, or the empty list if the method parameter 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.
getArrayClassInfo() - Method in class io.github.classgraph.ArrayTypeSignature
Return an ArrayClassInfo instance for the array class, cast to its superclass.
getArrayTypeSignature() - Method in class io.github.classgraph.ArrayClassInfo
Get the type signature of the class.
getAssignableTo(ClassInfo) - Method in class io.github.classgraph.ClassInfoList
Filter this ClassInfoList to include only classes that are assignable to the requested class, assignableToClass (i.e. where assignableToClass is a superclass or implemented interface of the list element).
getAsStrings() - Method in class io.github.classgraph.InfoList
Get the String representations of all items in this list, by calling toString() on each item in the list.
getAsStringsWithSimpleNames() - Method in class io.github.classgraph.InfoList
Get the String representations of all items in this list, using only simple names of any named classes, by calling ScanResultObject#toStringWithSimpleNames() if the object is a subclass of ScanResultObject (e.g.
getBaseClassName() - Method in class io.github.classgraph.ClassRefTypeSignature
Get the name of the class, without any suffixes.
getByteBuffer() - Method in class io.github.classgraph.CloseableByteBuffer
 
getc() - Method in class nonapi.io.github.classgraph.types.Parser
Get the next character.
getCause(Throwable) - Static method in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
Get the cause of an ExecutionException.
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.
getClassDependencies() - Method in class io.github.classgraph.ClassInfo
Get the class dependencies.
getClassDependencyMap() - Method in class io.github.classgraph.ScanResult
Get a map from the ClassInfo object for each accepted class to a list of the classes referenced by that class (i.e. returns a map from dependents to dependencies).
getClassesImplementing() - Method in class io.github.classgraph.ClassInfo
Get the classes (and their subclasses) that implement this interface, if this is an interface.
getClassesImplementing(Class) - Method in class io.github.classgraph.ScanResult
Get all classes that implement (or have superclasses that implement) the interface (or one of its subinterfaces).
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).
getClassesWithAllAnnotations(Class...) - Method in class io.github.classgraph.ScanResult
Get classes with all of the specified class annotations or meta-annotation.
getClassesWithAllAnnotations(String...) - Method in class io.github.classgraph.ScanResult
Get classes with all of the named class annotations or meta-annotation.
getClassesWithAnnotation() - Method in class io.github.classgraph.ClassInfo
Get the classes that have this class as an annotation.
getClassesWithAnnotation(Class) - Method in class io.github.classgraph.ScanResult
Get classes with the class annotation or meta-annotation.
getClassesWithAnnotation(String) - Method in class io.github.classgraph.ScanResult
Get classes with the named class annotation or meta-annotation.
getClassesWithAnyAnnotation(Class...) - Method in class io.github.classgraph.ScanResult
Get classes with any of the specified class annotations or meta-annotation.
getClassesWithAnyAnnotation(String...) - Method in class io.github.classgraph.ScanResult
Get classes with any of the named class annotations or meta-annotation.
getClassesWithFieldAnnotation() - Method in class io.github.classgraph.ClassInfo
Get the classes that have this class as a field annotation or meta-annotation.
getClassesWithFieldAnnotation(Class) - Method in class io.github.classgraph.ScanResult
Get classes that have a field with an annotation of the named type.
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
Get all classes that have this class as a method annotation, and their subclasses, if the method is non-private.
getClassesWithMethodAnnotation(Class) - Method in class io.github.classgraph.ScanResult
Get classes that have a method with an annotation of the named type.
getClassesWithMethodAnnotation(String) - Method in class io.github.classgraph.ScanResult
Get classes that have a method with an annotation of the named type.
getClassesWithMethodParameterAnnotation() - Method in class io.github.classgraph.ClassInfo
Get all classes that have this class as a method parameter annotation, and their subclasses, if the method is non-private.
getClassesWithMethodParameterAnnotation(Class) - Method in class io.github.classgraph.ScanResult
Get classes that have a method with a parameter that is annotated with an annotation of the named type.
getClassesWithMethodParameterAnnotation(String) - Method in class io.github.classgraph.ScanResult
Get classes that have a method with a parameter that is annotated with an annotation of the named type.
getClassfileMajorVersion() - Method in class io.github.classgraph.ClassInfo
Get the major version of the classfile format for this class' classfile.
getClassfileMinorVersion() - Method in class io.github.classgraph.ClassInfo
Get the minor version of the classfile format for this class' classfile.
getClassInfo() - Method in class io.github.classgraph.AnnotationClassRef
Get the class info.
getClassInfo() - Method in class io.github.classgraph.AnnotationInfo
Return the ClassInfo object for the annotation class.
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.ClassMemberInfo
Get the ClassInfo object for the class that declares this class member.
getClassInfo() - Method in class io.github.classgraph.ClassRefTypeSignature
Get the ClassInfo object for the referenced class.
getClassInfo() - Method in class io.github.classgraph.ClassTypeSignature
 
getClassInfo() - Method in class io.github.classgraph.MethodTypeSignature
 
getClassInfo() - Method in class io.github.classgraph.ModuleInfo
Get the list of 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 package.
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 an accepted/non-rejected 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
Get the class loader for the module.
getClassLoaderOrder() - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
Get the ClassLoader order.
getClassLoaderOrderRespectingParentDelegation() - Method in class nonapi.io.github.classgraph.classpath.ClasspathFinder
Get the ClassLoader order, respecting parent-first/parent-last delegation order.
getClassName() - Method in class io.github.classgraph.AnnotationClassRef
 
getClassName() - Method in class io.github.classgraph.AnnotationEnumValue
Get the class name.
getClassName() - Method in class io.github.classgraph.AnnotationInfo
Get 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.ClassMemberInfo
Get the name of the class that declares this member.
getClassName() - Method in class io.github.classgraph.ClassRefTypeSignature
 
getClassName() - Method in class io.github.classgraph.ClassTypeSignature
 
getClassName() - Method in class io.github.classgraph.MethodTypeSignature
 
getClassName() - Method in class io.github.classgraph.ClassRefOrTypeVariableSignature
The name of the class (used by ScanResultObject.getClassInfo() to fetch the ClassInfo object for the class).
getClassName() - Method in class io.github.classgraph.HierarchicalTypeSignature
The name of the class (used by ScanResultObject.getClassInfo() to fetch the ClassInfo object for the class).
getClassName() - Method in class io.github.classgraph.ReferenceTypeSignature
The name of the class (used by ScanResultObject.getClassInfo() to fetch the ClassInfo object for the class).
getClassName() - Method in class io.github.classgraph.TypeSignature
The name of the class (used by ScanResultObject.getClassInfo() to fetch the ClassInfo object for the class).
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.
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
Get the File for the classpath element package root dir or jar that this class was found within, or null if this class was found in a module.
getClasspathElementFile() - Method in class io.github.classgraph.Resource
Get the classpath element File.
getClasspathElementURI() - Method in class io.github.classgraph.ClassInfo
Get the URI of the classpath element that this class was found within.
getClasspathElementURI() - Method in class io.github.classgraph.Resource
Get the URI of the classpath element or module that this resource was obtained from.
getClasspathElementURL() - Method in class io.github.classgraph.ClassInfo
Get the URL of the classpath element or module that this class was found within.
getClasspathElementURL() - Method in class io.github.classgraph.Resource
Get the URL of the classpath element or module that this resource was obtained from.
getClasspathEntryUniqueResolvedPaths() - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
Get the unique classpath entry strings.
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
Get the classpath order.
getClasspathURIs() - Method in class io.github.classgraph.ClassGraph
Returns the ordered list of all unique URI objects representing directory/jar classpath elements and modules.
getClasspathURIs() - Method in class io.github.classgraph.ScanResult
Returns an ordered list of unique classpath element and module URIs.
getClasspathURLs() - Method in class io.github.classgraph.ClassGraph
Returns the ordered list of all unique URL objects representing directory/jar classpath elements and modules.
getClasspathURLs() - Method in class io.github.classgraph.ScanResult
Returns an ordered list of unique classpath element and module URLs.
getConstantInitializerValue() - Method in class io.github.classgraph.FieldInfo
Returns the constant initializer value of a field.
getConstructorInfo() - Method in class io.github.classgraph.ClassInfo
Returns information on visible constructors declared by this class, or by its interfaces or superclasses.
getContentAsString() - Method in class io.github.classgraph.Resource
Convenience method to get the content of this Resource as a String.
getContextClassLoaders() - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderFinder
Get the context class loaders.
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
Get the default parameter values.
getDelegateClassGraphClassLoader() - Method in class nonapi.io.github.classgraph.classpath.ClasspathFinder
If one of the classloaders that was found was an existing instance of ClassGraphClassLoader, then delegate to that classloader first rather than trying to load from the ClassGraphClassLoader of the current scan, so that classes are compatible between nested scans (#485).
getDescriptor() - Method in class io.github.classgraph.ModuleRef
Get the module descriptor, i.e.
getElementClassInfo() - Method in class io.github.classgraph.ArrayClassInfo
Get the ClassInfo instance for the array element type.
getElementTypeSignature() - Method in class io.github.classgraph.ArrayClassInfo
Get the type signature of the array elements.
getElementTypeSignature() - Method in class io.github.classgraph.ArrayTypeSignature
Get the type signature of the innermost element type of the array.
getEnumConstantObjects() - Method in class io.github.classgraph.ClassInfo
 
getEnumConstants() - Method in class io.github.classgraph.ClassInfo
 
getEnums() - Method in class io.github.classgraph.ClassInfoList
Filter this ClassInfoList to include only Enum classes.
getExecutionException() - Method in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
Get the ExecutionException that was thrown by a worker, or null if none.
getFieldAnnotations() - Method in class io.github.classgraph.ClassInfo
Get all field annotations.
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(boolean, Object, Field) - Method in class nonapi.io.github.classgraph.reflection.ReflectionUtils
Get the value of the field in the class of the given object or any of its superclasses.
getFieldVal(boolean, Object, String) - Method in class nonapi.io.github.classgraph.reflection.ReflectionUtils
Get the value of the named field in the class of the given object or any of its superclasses.
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
Gets fully-qualified method name (i.e. fully qualified classname, followed by dot, followed by method name) for the defining method, if this is an anonymous inner class.
getIdentifierToken(Parser, boolean, boolean) - Static method in class nonapi.io.github.classgraph.types.TypeUtils
Parse a Java identifier, replacing '/' with '.'.
getImplementedInterfaces() - Method in class io.github.classgraph.ClassInfoList
Filter this ClassInfoList to include only implemented interfaces, i.e. non-annotation interfaces, or annotations that have been implemented by a class.
getInnerClasses() - Method in class io.github.classgraph.ClassInfo
Get the inner classes contained within this class, if this is an outer class.
getInterfaceBounds() - Method in class io.github.classgraph.TypeParameter
Get the type parameter interface bound(s).
getInterfaces() - Method in class io.github.classgraph.ClassInfo
Get the interfaces implemented by this 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.
getInterfaces() - Method in class io.github.classgraph.ClassInfoList
Filter this ClassInfoList to include only interfaces that are not annotations.
getInterfaces(Class) - Method in class io.github.classgraph.ScanResult
Get all interfaces implemented by the class or by one of its superclasses, if the given class is a standard class, or the superinterfaces extended by this interface, if it is an interface.
getInterfaces(String) - Method in class io.github.classgraph.ScanResult
Get all interfaces implemented by the named class or by one of its superclasses, if the named class is a standard class, or the superinterfaces extended by this interface, if it 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
Get the JRE "lib/" and "ext/" jar paths.
getJreRtJarPath() - Static method in class nonapi.io.github.classgraph.classpath.SystemJarFinder
Get the JRE "rt.jar" path.
getLastModified() - Method in class io.github.classgraph.Resource
Get the last modified time for the resource, in milliseconds since the epoch.
getLastModifiedTimeMillis() - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
Get the last modified time in Epoch millis, or 0L if unknown.
getLayer() - Method in class io.github.classgraph.ModuleRef
Get the module layer (of JPMS type ModuleLayer).
getLength() - Method in class io.github.classgraph.Resource
Get the length of the resource.
getLocation() - Method in class io.github.classgraph.ModuleInfo
The module location, or null for modules whose location is unknown.
getLocation() - Method in class io.github.classgraph.ModuleRef
Get the module location, i.e.
getLocationFile() - Method in class io.github.classgraph.ModuleRef
Get the module location as a File, i.e.
getLocationStr() - Method in class io.github.classgraph.ModuleRef
Get the module location as a string, i.e.
getMaxLineNum() - Method in class io.github.classgraph.MethodInfo
The line number of the last non-empty line in the body of this method, or 0 if unknown.
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
Get all method annotations.
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
Get the MethodInfo for the defining method.
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.
getMethodParameterAnnotations() - Method in class io.github.classgraph.ClassInfo
Get all method parameter annotations.
getMinLineNum() - Method in class io.github.classgraph.MethodInfo
The line number of the first non-empty line in the body of this method, or 0 if unknown.
getModifiers() - Method in class io.github.classgraph.ClassInfo
Get the class modifier bits.
getModifiers() - Method in class io.github.classgraph.ClassMemberInfo
Returns the modifier bits for the class member.
getModifiers() - Method in class io.github.classgraph.MethodParameterInfo
Method parameter modifiers.
getModifiersStr() - Method in class io.github.classgraph.ClassInfo
Get the class modifiers as a String.
getModifiersStr() - Method in class io.github.classgraph.ClassMemberInfo
Get the modifiers as a string, e.g.
getModifiersStr() - Method in class io.github.classgraph.FieldInfo
Get the field modifiers as a string, e.g.
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
Deprecated.
getModuleFinder() - Method in class nonapi.io.github.classgraph.classpath.ClasspathFinder
Get the ModuleFinder.
getModuleInfo() - Method in class io.github.classgraph.ClassInfo
Get the ModuleInfo object for the class.
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.
getModulePathInfo() - Method in class io.github.classgraph.ClassGraph
Get the module path info provided on the commandline with --module-path, --add-modules, --patch-module, --add-exports, --add-opens, and --add-reads.
getModulePathInfo() - Method in class io.github.classgraph.ScanResult
Get the module path info provided on the commandline with --module-path, --add-modules, --patch-module, --add-exports, --add-opens, and --add-reads, and also the Add-Exports and Add-Opens entries from jarfile manifest files encountered during scanning.
getModuleRef() - Method in class io.github.classgraph.ClassInfo
Get the module that this class was found within, as a ModuleRef, or null if this class was found in a directory or jar in the classpath.
getModuleRef() - Method in class io.github.classgraph.ModuleInfo
The ModuleRef for this module, or null if this module was obtained from a classpath element on the traditional classpath that contained a module-info.class file.
getModuleRef() - Method in class io.github.classgraph.Resource
Get the The ModuleRef for the module that this Resource was found within.
getModules() - Method in class io.github.classgraph.ClassGraph
Returns ModuleRef references for all the visible modules.
getModules() - Method in class io.github.classgraph.ScanResult
Get ModuleRef references for all visible modules.
getName() - Method in class io.github.classgraph.AnnotationClassRef
Get the name of the referenced class.
getName() - Method in class io.github.classgraph.AnnotationEnumValue
Get the name.
getName() - Method in class io.github.classgraph.AnnotationInfo
Get the name.
getName() - Method in class io.github.classgraph.AnnotationParameterValue
Get the annotation parameter name.
getName() - Method in class io.github.classgraph.ClassInfo
Get the name of the class.
getName() - Method in class io.github.classgraph.ClassMemberInfo
Get the name of the class member.
getName() - Method in interface io.github.classgraph.HasName
Get the name.
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, or "" for the unnamed module.
getName() - Method in class io.github.classgraph.ModuleRef
Get the module name, i.e.
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.InfoList
Get the names of all items in this list, by calling getName() on each item in the list.
getNestedType() - Method in class io.github.classgraph.ArrayTypeSignature
Get the nested type, which is another ArrayTypeSignature with one dimension fewer, if this array has 2 or more dimensions, otherwise this returns the element type.
getNonSystemModuleRefs() - Method in class nonapi.io.github.classgraph.classpath.ModuleFinder
Get the non-system modules as ModuleRef wrappers.
getNumDimensions() - Method in class io.github.classgraph.ArrayClassInfo
Get the number of dimensions of the array.
getNumDimensions() - Method in class io.github.classgraph.ArrayTypeSignature
Get the number of dimensions of the array.
getOrder() - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
Get the order of classpath elements, uniquified and in order.
getOuterClasses() - Method in class io.github.classgraph.ClassInfo
Get the containing outer classes, if this is an inner class.
getPackageInfo() - Method in class io.github.classgraph.ClassInfo
Get the PackageInfo object for the class.
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 package in 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
Get the name of the class' package.
getPackages() - Method in class io.github.classgraph.ModuleRef
Get a list of packages in the module.
getParameterInfo() - Method in class io.github.classgraph.MethodInfo
Get the available information on method parameters.
getParameterValues() - Method in class io.github.classgraph.AnnotationInfo
Get the parameter values.
getParameterValues(boolean) - Method in class io.github.classgraph.AnnotationInfo
Get the parameter values.
getParent() - Method in class io.github.classgraph.PackageInfo
The parent package of this package, or null if this is the root package.
getParentDirPath(String) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Get the parent dir path.
getParentDirPath(String, char) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Get the parent dir path.
getParentZipFileSlice() - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
Get the parent ZipFileslice, or return null if this is a toplevel slice (i.e. if this slice wraps an entire physical zipfile).
getPath() - Method in class io.github.classgraph.Resource
Get the path of this classpath resource relative to the package root.
getPath() - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
Get the path to this zip entry, using "!
getPath() - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
Get the path of this zipfile slice, e.g.
getPathRelativeToClasspathElement() - Method in class io.github.classgraph.Resource
Get the full path of this classpath resource relative to the root of the classpath element.
getPaths() - Method in class io.github.classgraph.ResourceList
Get the paths of all resources in this list relative to the package root.
getPathsRelativeToClasspathElement() - Method in class io.github.classgraph.ResourceList
Get the paths of all resources in this list relative to the root of the classpath element.
getPathWithinParentZipFileSlice() - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
Get the name of the slice (either the entry name/path within the parent zipfile slice, or the path of the physical zipfile if this slice is a toplevel slice (i.e. if this slice wraps an entire physical zipfile).
getPhysicalFile() - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
Get the physical File that this ZipFileSlice is a slice of.
getPosition() - Method in class nonapi.io.github.classgraph.types.Parser
Get the current position.
getPositionInfo() - Method in class nonapi.io.github.classgraph.types.Parser
Get the parsing context as a string, for debugging.
getPosixFilePermissions() - Method in class io.github.classgraph.Resource
Get the POSIX file permissions for the resource.
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.
getReceiverTypeAnnotationInfo() - Method in class io.github.classgraph.MethodTypeSignature
Get type annotations on the explicit receiver parameter, or null if none.
getRecords() - Method in class io.github.classgraph.ClassInfoList
Filter this ClassInfoList to include only record classes.
getReference() - Method in class io.github.classgraph.ModuleRef
Get the module reference (of JPMS type ModuleReference).
getRepeatable(Class) - Method in class io.github.classgraph.AnnotationInfoList
Get the Repeatable annotation with the given class, or the empty list if none found.
getRepeatable(String) - Method in class io.github.classgraph.AnnotationInfoList
Get the Repeatable annotation with the given name, or the empty list if none found.
getResource() - Method in class io.github.classgraph.ClassInfo
The Resource for the classfile of this class.
getResource(String) - Method in class io.github.classgraph.ClassGraphClassLoader
 
getResourceAsStream(String) - Method in class io.github.classgraph.ClassGraphClassLoader
 
getResources(String) - Method in class io.github.classgraph.ClassGraphClassLoader
 
getResourcesMatchingPattern(Pattern) - Method in class io.github.classgraph.ScanResult
Get the list of all resources found in accepted packages that have a path matching the requested regex pattern.
getResourcesMatchingWildcard(String) - Method in class io.github.classgraph.ScanResult
Get the list of all resources found in accepted packages that have a path matching the requested wildcard string.
getResourcesWithExtension(String) - Method in class io.github.classgraph.ScanResult
Get the list of all resources found in accepted packages that have the requested filename extension.
getResourcesWithLeafName(String) - Method in class io.github.classgraph.ScanResult
Get the list of all resources found in accepted packages that have the requested leafname.
getResourcesWithPath(String) - Method in class io.github.classgraph.ScanResult
Get the list of all resources found in accepted packages that have the given path, relative to the package root of the classpath element.
getResourcesWithPathIgnoringAccept(String) - Method in class io.github.classgraph.ScanResult
Get the list of all resources found in any classpath element, whether in accepted packages or not (as long as the resource is not rejected), that have the given path, relative to the package root of the classpath element.
getResourcesWithPathIgnoringWhitelist(String) - Method in class io.github.classgraph.ScanResult
getResultType() - Method in class io.github.classgraph.MethodTypeSignature
Get the result type for the method.
getReverseClassDependencyMap() - Method in class io.github.classgraph.ScanResult
Get the reverse class dependency map, i.e. a map from the ClassInfo object for each dependency class (accepted or not) to a list of the accepted classes that referenced that class as a dependency (i.e. returns a map from dependencies to dependents).
getSimpleName() - Method in class io.github.classgraph.ClassInfo
Get the simple name of the class.
getSingleMethod(String) - Method in class io.github.classgraph.MethodInfoList
Returns a single method with the given name, or null if not found.
getSlice() - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
Lazily get zip entry slice -- this is deferred until zip entry data needs to be read, in order to avoid randomly seeking within zipfile for every entry as the central directory is read.
getSourceFile() - Method in class io.github.classgraph.ClassInfo
Returns the name of the source file this class has been compiled from, such as ClassInfo.java or KClass.kt.
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(boolean, Class, String) - Method in class nonapi.io.github.classgraph.reflection.ReflectionUtils
Get the value of the named 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(Class) - Method in class io.github.classgraph.ScanResult
Get all subclasses of the superclass.
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 all nested suffixes of the class (typically nested inner class names).
getSuffixTypeAnnotationInfo() - Method in class io.github.classgraph.ClassRefTypeSignature
Get a list of lists of type annotations for all nested suffixes of the class, one list per suffix.
getSuffixTypeArguments() - Method in class io.github.classgraph.ClassRefTypeSignature
Get a list of type arguments for all nested 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, not including Object for simplicity, since that is the superclass of all classes.
getSuperclasses(Class) - Method in class io.github.classgraph.ScanResult
Get superclasses of the subclass.
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.ModuleFinder
Get the system modules as ModuleRef wrappers.
getThrownExceptionNames() - Method in class io.github.classgraph.MethodInfo
Returns the exceptions thrown by the method, as an array.
getThrownExceptions() - Method in class io.github.classgraph.MethodInfo
Returns the list of exceptions thrown by the method, as a ClassInfoList.
getThrowsSignatures() - Method in class io.github.classgraph.MethodTypeSignature
Get the throws type(s) for the method.
getType() - Method in class io.github.classgraph.BaseTypeSignature
Get the type.
getTypeAnnotationInfo() - Method in class io.github.classgraph.ArrayTypeSignature
Get a list of AnnotationInfo objects for the type annotations on this array type, or null if none.
getTypeAnnotationInfo() - Method in class io.github.classgraph.HierarchicalTypeSignature
Get a list of AnnotationInfo objects for any type annotations on this type, or null if none.
getTypeAnnotationInfo() - Method in class io.github.classgraph.TypeSignature
Get a list of AnnotationInfo objects for any type annotations on this type, or null if none.
getTypeArguments() - Method in class io.github.classgraph.ClassRefTypeSignature
Get any type arguments of the base class.
getTypeDescriptor() - Method in class io.github.classgraph.ClassInfo
Returns a synthetic type descriptor for the method, created from the class name, superclass name, and implemented interfaces.
getTypeDescriptor() - Method in class io.github.classgraph.ClassMemberInfo
Returns the parsed type descriptor for the class member, which will not include type parameters.
getTypeDescriptor() - Method in class io.github.classgraph.FieldInfo
Returns the parsed type descriptor for the field, which will not include type parameters.
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.
getTypeDescriptorStr() - Method in class io.github.classgraph.ClassMemberInfo
Returns the type descriptor string for the class member, which will not include type parameters.
getTypeParameters() - Method in class io.github.classgraph.ClassTypeSignature
Get the type parameters for the class.
getTypeParameters() - Method in class io.github.classgraph.MethodTypeSignature
Get the type parameters for the method, if this is a generic method.
getTypeSignature() - Method in class io.github.classgraph.ArrayClassInfo
Returns null, because array classes do not have a ClassTypeSignature.
getTypeSignature() - Method in class io.github.classgraph.ClassInfo
Get the parsed type signature for the class.
getTypeSignature() - Method in class io.github.classgraph.ClassMemberInfo
Returns the parsed type signature for the class member, possibly including type parameters.
getTypeSignature() - Method in class io.github.classgraph.FieldInfo
Returns the parsed type signature for the field, possibly including type parameters.
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).
getTypeSignatureChar() - Method in class io.github.classgraph.BaseTypeSignature
Get the type signature char used to represent the type, e.g.
getTypeSignatureOrTypeDescriptor() - Method in class io.github.classgraph.ClassInfo
Returns the parsed type signature for this class, possibly including type parameters.
getTypeSignatureOrTypeDescriptor() - Method in class io.github.classgraph.ClassMemberInfo
Returns the type signature for the class member, possibly including type parameters.
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.
getTypeSignatureOrTypeDescriptorStr() - Method in class io.github.classgraph.ClassMemberInfo
Returns the type signature string for the class member, possibly including type parameters.
getTypeSignatureStr() - Method in class io.github.classgraph.ArrayClassInfo
Get the raw type signature string of the array class, e.g.
getTypeSignatureStr() - Method in class io.github.classgraph.ArrayTypeSignature
Get the raw array type signature string, e.g.
getTypeSignatureStr() - Method in class io.github.classgraph.ClassInfo
Get the type signature string for the class.
getTypeSignatureStr() - Method in class io.github.classgraph.ClassMemberInfo
Returns the type signature string for the class member, possibly including type parameters.
getTypeStr() - Method in class io.github.classgraph.BaseTypeSignature
Get the name of the type as a string.
getURI() - Method in class io.github.classgraph.Resource
Get the URI representing the resource's location.
getURIs() - Method in class io.github.classgraph.ResourceList
Get the URIs of all resources in this list, by calling Resource.getURI() for each item in the list.
getURL() - Method in class io.github.classgraph.Resource
Get the URL representing the resource's location.
getURLs() - Method in class io.github.classgraph.ClassGraphClassLoader
Get classpath URLs.
getURLs() - Method in class io.github.classgraph.ResourceList
Get the URLs of all resources in this list, by calling Resource.getURL() for each item in the list.
getValue() - Method in class io.github.classgraph.AnnotationParameterValue
Get the annotation parameter value.
getValue(String) - Method in class io.github.classgraph.AnnotationParameterValueList
Get the annotation parameter value, by calling AnnotationParameterValue.getValue() on the result of MappableInfoList.get(String), if non-null.
getValueName() - Method in class io.github.classgraph.AnnotationEnumValue
Get the value name.
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
Get the version number of ClassGraph.
getWildcard() - Method in class io.github.classgraph.TypeArgument
Get the type wildcard, which is one of {NONE, ANY, EXTENDS, SUPER}.
globToPattern(String, boolean) - Static method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Convert a spec with a '*' glob character into a regular expression.

H

HAS_ACCEPTED_PATH_PREFIX - Enum constant in enum nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
Path starts with an accepted path prefix.
HAS_REJECTED_PATH_PREFIX - Enum constant in enum nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
Path starts with (or is) a rejected path prefix.
hasAnnotation(Class) - Method in class io.github.classgraph.ClassInfo
Checks whether this class has the annotation.
hasAnnotation(Class) - Method in class io.github.classgraph.ClassMemberInfo
Check if the class member has a given annotation.
hasAnnotation(Class) - Method in class io.github.classgraph.MethodParameterInfo
Check whether this method parameter has the annotation.
hasAnnotation(Class) - Method in class io.github.classgraph.ModuleInfo
Check if this module has the annotation.
hasAnnotation(Class) - Method in class io.github.classgraph.PackageInfo
Check if the package has the annotation.
hasAnnotation(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class has the named annotation.
hasAnnotation(String) - Method in class io.github.classgraph.ClassMemberInfo
Check if the class member has a given named annotation.
hasAnnotation(String) - Method in class io.github.classgraph.MethodParameterInfo
Check whether this method parameter has the named annotation.
hasAnnotation(String) - Method in class io.github.classgraph.ModuleInfo
Check if this module has the named annotation.
hasAnnotation(String) - Method in class io.github.classgraph.PackageInfo
Check if the package has the named annotation.
hasBody() - Method in class io.github.classgraph.MethodInfo
Returns true if this method has a body (i.e. has an implementation in the containing class).
hasDeclaredField(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class has the named declared field.
hasDeclaredFieldAnnotation(Class) - Method in class io.github.classgraph.ClassInfo
Checks whether this class declares a field with the annotation.
hasDeclaredFieldAnnotation(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class declares a field with the named annotation.
hasDeclaredMethod(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class declares a method of the given name.
hasDeclaredMethodAnnotation(Class) - Method in class io.github.classgraph.ClassInfo
Checks whether this class declares a method with the annotation.
hasDeclaredMethodAnnotation(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class declares a method with the named annotation.
hasDeclaredMethodParameterAnnotation(Class) - Method in class io.github.classgraph.ClassInfo
Checks whether this class declares a method with the annotation.
hasDeclaredMethodParameterAnnotation(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class declares a method with the named annotation.
hasField(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class or one of its superclasses has the named field.
hasFieldAnnotation(Class) - Method in class io.github.classgraph.ClassInfo
Checks whether this class or one of its superclasses declares a field with the annotation.
hasFieldAnnotation(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class or one of its superclasses declares a field with the named annotation.
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.AnnotationInfoList
 
hashCode() - Method in class io.github.classgraph.AnnotationParameterValue
 
hashCode() - Method in class io.github.classgraph.ArrayClassInfo
 
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.ClassInfoList
 
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.InfoList
 
hashCode() - Method in class io.github.classgraph.MethodInfo
Use hashcode of class name, method name and type descriptor.
hashCode() - Method in class io.github.classgraph.MethodParameterInfo
 
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.ResourceList
 
hashCode() - Method in class io.github.classgraph.Resource
Hash code.
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.classpath.ClasspathOrder.ClasspathEntry
 
hashCode() - Method in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
 
hashCode() - Method in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
 
hashCode() - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
 
hashCode() - Method in class nonapi.io.github.classgraph.fileslice.ArraySlice
 
hashCode() - Method in class nonapi.io.github.classgraph.fileslice.FileSlice
 
hashCode() - Method in class nonapi.io.github.classgraph.fileslice.PathSlice
 
hashCode() - Method in class nonapi.io.github.classgraph.fileslice.Slice
 
hashCode() - Method in class nonapi.io.github.classgraph.json.ReferenceEqualityKey
Hash code.
hasMethod(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class or one of its superclasses or interfaces declares a method of the given name.
hasMethodAnnotation(Class) - Method in class io.github.classgraph.ClassInfo
Checks whether this class or one of its superclasses or interfaces declares a method with the annotation.
hasMethodAnnotation(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class or one of its superclasses or interfaces declares a method with the named annotation.
hasMethodParameterAnnotation(Class) - Method in class io.github.classgraph.ClassInfo
Checks whether this class or one of its superclasses or interfaces has a method with the annotation.
hasMethodParameterAnnotation(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class or one of its superclasses or interfaces has a method with the named annotation.
hasMore() - Method in class nonapi.io.github.classgraph.types.Parser
Check to see if there are more characters to parse.
HasName - Interface in io.github.classgraph
A named object.
hasParameterAnnotation(Class) - Method in class io.github.classgraph.MethodInfo
Check if this method has a parameter with the annotation.
hasParameterAnnotation(String) - Method in class io.github.classgraph.MethodInfo
Check if this method has a parameter with the named annotation.
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.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.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.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.ScanSpec
If true, do not fetch paths from parent classloaders.
ignoreParentClassLoaders() - Method in class io.github.classgraph.ClassGraph
Ignore parent classloaders (i.e. only obtain paths to scan from classloaders that are not the parent of another classloader).
ignoreParentModuleLayers - Variable in class nonapi.io.github.classgraph.scanspec.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. only scan module layers that are not the parent of another module layer).
implementsInterface(Class) - Method in class io.github.classgraph.ClassInfo
Checks whether this class implements the interface.
implementsInterface(String) - Method in class io.github.classgraph.ClassInfo
Checks whether this class implements the named interface.
includeClasspathElement(String) - Method in interface io.github.classgraph.ClassGraph.ClasspathElementFilter
Whether or not to include a given classpath element in the scan.
includeClasspathElement(URL) - Method in interface io.github.classgraph.ClassGraph.ClasspathElementURLFilter
Whether or not to include a given classpath element in the scan.
inflatedLengthHint - Variable in class nonapi.io.github.classgraph.fileslice.Slice
If the slice is a deflated zip entry, this is the expected uncompressed length, or -1L if unknown.
InfoList<T> - Class in io.github.classgraph
A list of named objects.
initializeLoadedClasses - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Whether to initialize classes when loading them.
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
The input stream, or null.
interrupt() - Method in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
Interrupt all threads that share this InterruptionChecker.
interruptionChecker - Variable in class nonapi.io.github.classgraph.concurrency.AutoCloseableExecutorService
interruptionChecker - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
The interruption checker.
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.
invokeMethod(boolean, Object, String) - Method in class nonapi.io.github.classgraph.reflection.ReflectionUtils
Invoke the named method in the given object or its superclasses.
invokeMethod(boolean, Object, String, Class, Object) - Method in class nonapi.io.github.classgraph.reflection.ReflectionUtils
Invoke the named method in the given object or its superclasses.
invokeStaticMethod(boolean, Class, String) - Method in class nonapi.io.github.classgraph.reflection.ReflectionUtils
Invoke the named method.
invokeStaticMethod(boolean, Class, String, Class, Object) - Method in class nonapi.io.github.classgraph.reflection.ReflectionUtils
Invoke the named method.
io.github.classgraph - package io.github.classgraph
 
isAbstract() - Method in class io.github.classgraph.ClassInfo
Checks if the class is abstract.
isAbstract() - Method in class io.github.classgraph.MethodInfo
Returns true if this method is abstract.
isAccepted(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectLeafname
Check if the requested string is accepted.
isAccepted(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectPrefix
Check if the requested string has an accepted prefix.
isAccepted(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectWholeString
Check if the requested string is accepted.
isAccepted(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Check if a string is accepted.
isAcceptedAndNotRejected(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectLeafname
Check if the requested string is accepted and not rejected.
isAcceptedAndNotRejected(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectPrefix
Check if the requested string has an accepted/non-rejected prefix.
isAcceptedAndNotRejected(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectWholeString
Check if the requested string is accepted and not rejected.
isAcceptedAndNotRejected(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Check if a string is accepted and not rejected.
isAcceptedAndNotRejected(AcceptReject.AcceptRejectLeafname) - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
Check whether this zipfile slice and all of its parent slices are accepted and not rejected in the jarfile accept/reject criteria.
isAnnotation() - Method in class io.github.classgraph.ClassInfo
Checks if the class is an annotation.
isAnnotation(Class) - Static method in class nonapi.io.github.classgraph.utils.Assert
Throw IllegalArgumentException if the class is not an annotation.
isAnonymousInnerClass() - Method in class io.github.classgraph.ClassInfo
Checks if this class is an anonymous inner class.
isArrayClass() - Method in class io.github.classgraph.ClassInfo
Checks if this class is an array class.
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
Check if the path ends with a ".class" extension, ignoring case.
isClosed() - Method in class io.github.classgraph.ScanResult
Returns whether this ScanResult has been closed yet or not.
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. if this is a method in an interface and the method has a body).
isDeflatedZipEntry - Variable in class nonapi.io.github.classgraph.fileslice.Slice
If true, the slice is a deflated zip entry, and needs to be inflated to access the content.
isDir(Path) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
 
isEmpty() - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
Returns true if the map is empty.
isEnum() - Method in class io.github.classgraph.ClassInfo
Checks if is the class is an Enum.
isEnum() - Method in class io.github.classgraph.FieldInfo
Returns true if this field is an enum constant.
isExternalClass - Variable in class io.github.classgraph.ClassInfo
If true, this class is only being referenced by another class' classfile as a superclass / implemented interface / annotation, but this class is not itself an accepted (non-rejected) class, or in a accepted (non-rejected) package.
isExternalClass() - Method in class io.github.classgraph.ClassInfo
Checks if this is an external class.
isFile(Path) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
 
isFinal() - Method in class io.github.classgraph.ClassInfo
Checks if the class is final.
isFinal() - Method in class io.github.classgraph.ClassMemberInfo
Returns true if this class member is final.
isFinal() - Method in class io.github.classgraph.MethodParameterInfo
Returns true if this method parameter is final.
isImplementedInterface() - Method in class io.github.classgraph.ClassInfo
Checks 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
Checks if the annotation is inherited.
isInnerClass() - Method in class io.github.classgraph.ClassInfo
Checks if this class is an inner class.
isInterface() - Method in class io.github.classgraph.ClassInfo
Checks if is the class an interface and is not an annotation.
isInterface(Class) - Static method in class nonapi.io.github.classgraph.utils.Assert
Throw IllegalArgumentException if the class is not an interface.
isInterfaceOrAnnotation() - Method in class io.github.classgraph.ClassInfo
Checks if is an interface or an annotation.
isJREJar - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
If true, this is a JRE jar.
isMandated() - Method in class io.github.classgraph.MethodParameterInfo
Returns true if this method parameter is mandated.
isNative() - Method in class io.github.classgraph.MethodInfo
Returns true if this method is a native method.
isObtainedFromDeserialization() - Method in class io.github.classgraph.ScanResult
Checks if this ScanResult was obtained from JSON by deserialization, by calling ScanResult.fromJSON(String).
isOuterClass() - Method in class io.github.classgraph.ClassInfo
Checks if this class is an outer class.
isPackageVisible() - Method in class io.github.classgraph.ClassInfo
Checks if the class has default (package) visibility.
isPrivate() - Method in class io.github.classgraph.ClassInfo
Checks if the class is private.
isPrivate() - Method in class io.github.classgraph.ClassMemberInfo
Returns true if this class member is private.
isProtected() - Method in class io.github.classgraph.ClassInfo
Checks if the class is protected.
isProtected() - Method in class io.github.classgraph.ClassMemberInfo
Returns true if this class member is protected.
isPublic() - Method in class io.github.classgraph.ClassInfo
Checks if the class is public.
isPublic() - Method in class io.github.classgraph.ClassMemberInfo
Returns true if this class member is public.
isRecord() - Method in class io.github.classgraph.ClassInfo
Checks if is the class is a record (JDK 14+).
isRejected(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectLeafname
Check if the requested string is rejected.
isRejected(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectPrefix
Check if the requested string has a rejected prefix.
isRejected(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject.AcceptRejectWholeString
Check if the requested string is rejected.
isRejected(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Check if a string is rejected.
isScannedClass - Variable in class io.github.classgraph.ClassInfo
Set to true when the class is actually scanned (as opposed to just referenced as a superclass, interface or annotation of a scanned class).
isSpecificallyAccepted(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Check if a string is specifically accepted.
isSpecificallyAcceptedAndNotRejected(String) - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Check if a string is specifically accepted and not rejected.
isStandardClass() - Method in class io.github.classgraph.ClassInfo
Checks if this class is a standard class.
isStatic() - Method in class io.github.classgraph.ClassInfo
Checks if the class is static.
isStatic() - Method in class io.github.classgraph.ClassMemberInfo
Returns true if this class member is static.
isStrict() - Method in class io.github.classgraph.MethodInfo
Returns true if this method is strict.
isSynchronized() - Method in class io.github.classgraph.MethodInfo
Returns true if this method is synchronized.
isSynthetic() - Method in class io.github.classgraph.ClassInfo
Checks if the class is synthetic.
isSynthetic() - Method in class io.github.classgraph.ClassMemberInfo
Returns true if this class member is synthetic.
isSynthetic() - Method in class io.github.classgraph.MethodParameterInfo
Returns true if this method parameter is synthetic.
isSystemModule() - Method in class io.github.classgraph.ModuleRef
Checks if this module is a system module.
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.
iterator() - Method in class io.github.classgraph.AnnotationInfoList
 
iterator() - Method in class io.github.classgraph.AnnotationParameterValueList
 
iterator() - Method in class io.github.classgraph.ClassInfoList
 
iterator() - Method in class io.github.classgraph.FieldInfoList
 
iterator() - Method in class io.github.classgraph.InfoList
 
iterator() - Method in class io.github.classgraph.MappableInfoList
 
iterator() - Method in class io.github.classgraph.MethodInfoList
 
iterator() - Method in class io.github.classgraph.ModuleInfoList
 
iterator() - Method in class io.github.classgraph.PackageInfoList
 
iterator() - Method in class io.github.classgraph.ResourceList
 

J

jarAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Jar accept/reject criteria (leafname only, ending in ".jar").
JarUtils - Class in nonapi.io.github.classgraph.utils
Jarfile utilities.
JAVA_IS_EA_VERSION - Static variable in class nonapi.io.github.classgraph.utils.VersionFinder
Java is EA release -- true for "11-ea", etc.
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_MINOR_VERSION - Static variable in class nonapi.io.github.classgraph.utils.VersionFinder
Java minor version -- 0 for "11.0.4"
JAVA_SUB_VERSION - Static variable in class nonapi.io.github.classgraph.utils.VersionFinder
Java minor version -- 4 for "11.0.4"
JAVA_VERSION - Static variable in class nonapi.io.github.classgraph.utils.VersionFinder
Java version string.
join(StringBuilder, String, String, String, Iterable) - Static method in class nonapi.io.github.classgraph.utils.StringUtils
A replacement for Java 8's String.join().
join(String, Iterable) - Static method in class nonapi.io.github.classgraph.utils.StringUtils
A replacement for Java 8's String.join().
join(String, Object...) - Static method in class nonapi.io.github.classgraph.utils.StringUtils
A replacement for Java 8's String.join().
JSONDeserializer - Class in nonapi.io.github.classgraph.json
Fast, lightweight Java object to JSON serializer, and JSON to Java object deserializer.
JSONSerializer - Class in nonapi.io.github.classgraph.json
Fast, lightweight Java object to JSON serializer, and JSON to Java object deserializer.
JSONUtils - Class in nonapi.io.github.classgraph.json
Utils for Java serialization and deserialization.
JVM_DRIVER - Enum constant in enum io.github.classgraph.ClassGraph.CircumventEncapsulationMethod
Use the JVM-Driver library to try to gain access to private classloader fields or methods in order to determine the classpath.

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 '!'
length - Variable in class io.github.classgraph.Resource
The length, or -1L for unknown.
libOrExtJarAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
lib/ext jar accept/reject criteria (leafname only, ending in ".jar").
Linux - Enum constant in enum 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.
listIterator() - Method in class io.github.classgraph.AnnotationInfoList
 
listIterator() - Method in class io.github.classgraph.AnnotationParameterValueList
 
listIterator() - Method in class io.github.classgraph.ClassInfoList
 
listIterator() - Method in class io.github.classgraph.FieldInfoList
 
listIterator() - Method in class io.github.classgraph.InfoList
 
listIterator() - Method in class io.github.classgraph.MappableInfoList
 
listIterator() - Method in class io.github.classgraph.MethodInfoList
 
listIterator() - Method in class io.github.classgraph.ModuleInfoList
 
listIterator() - Method in class io.github.classgraph.PackageInfoList
 
listIterator() - Method in class io.github.classgraph.ResourceList
 
load() - Method in class io.github.classgraph.Resource
Load a classpath resource and return its content as a byte array.
load() - Method in class nonapi.io.github.classgraph.fileslice.ArraySlice
Load the slice as a byte array.
load() - Method in class nonapi.io.github.classgraph.fileslice.FileSlice
Load the slice as a byte array.
load() - Method in class nonapi.io.github.classgraph.fileslice.PathSlice
Load the slice as a byte array.
load() - Method in class nonapi.io.github.classgraph.fileslice.Slice
Load the slice as a byte array.
loadAsString() - Method in class nonapi.io.github.classgraph.fileslice.Slice
Load the slice as a string.
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.ArrayClassInfo
Obtain a Class<?> reference for the array class named by this ArrayClassInfo object.
loadClass() - Method in class io.github.classgraph.ArrayTypeSignature
Obtain a Class<?> reference for the array class named by this ArrayClassInfo object.
loadClass() - Method in class io.github.classgraph.ClassInfo
Obtain a Class<?> reference for the class named by this ClassInfo 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.ArrayClassInfo
Obtain a Class<?> reference for the array class named by this ArrayClassInfo object.
loadClass(boolean) - Method in class io.github.classgraph.ArrayTypeSignature
Obtain a Class<?> reference for the array class named by this ArrayClassInfo object.
loadClass(boolean) - Method in class io.github.classgraph.ClassInfo
Obtain a Class<?> reference for the class named by this ClassInfo 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) - Method in class io.github.classgraph.ClassInfo
Obtain a Class<?> reference for the class named by this ClassInfo object, casting it to the requested interface or superclass type.
loadClass(Class, boolean) - Method in class io.github.classgraph.ClassInfo
Obtain a Class<?> reference for the class named by this ClassInfo 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, boolean) - Method in class io.github.classgraph.ScanResult
Load a class given a class name.
loadClassAndGetConstructor() - Method in class io.github.classgraph.MethodInfo
Load the class this constructor is associated with, and get the Constructor reference for this constructor.
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 this AnnotationInfo object, by calling getClassInfo().loadClass(), then create a new instance of the annotation, with the annotation parameter values obtained from this AnnotationInfo object, possibly overriding default annotation parameter values obtained from calling AnnotationInfo.getClassInfo() then ClassInfo.getAnnotationDefaultParameterValues().
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 of Class<?> objects.
loadClasses(boolean) - Method in class io.github.classgraph.ClassInfoList
Convert this list of ClassInfo objects to a list of Class<?> objects.
loadClasses(Class) - Method in class io.github.classgraph.ClassInfoList
Convert this list of ClassInfo objects to a list of Class<?> objects, casting each item in the list to the requested superclass or interface type.
loadClasses(Class, boolean) - Method in class io.github.classgraph.ClassInfoList
Convert this list of ClassInfo objects to a list of Class<?> objects, casting each item in the list to the requested superclass or interface type.
loadElementClass() - Method in class io.github.classgraph.ArrayClassInfo
Get a Class<?> reference for the array element type.
loadElementClass() - Method in class io.github.classgraph.ArrayTypeSignature
Get a Class<?> reference for the array element type.
loadElementClass(boolean) - Method in class io.github.classgraph.ArrayClassInfo
Get a Class<?> reference for the array element type.
loadElementClass(boolean) - Method in class io.github.classgraph.ArrayTypeSignature
Get a Class<?> reference for the innermost array element 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) - 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.ScanSpec
Write to log.
LogicalZipFile - Class in nonapi.io.github.classgraph.fastzipfilereader
A logical zipfile, which represents a zipfile contained within a ZipFileSlice of a PhysicalZipFile.
logInRealtime(boolean) - Static method in class nonapi.io.github.classgraph.utils.LogNode
If logInRealtime is true, log entries are output in realtime, as well as added to the LogNode tree.
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 - Enum constant in enum nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
Mac OS X.
makeAccessible(AccessibleObject, ReflectionUtils) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
 
makeTempFile(String, boolean) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
Create a temporary file, and mark it for deletion on exit.
MappableInfoList<T> - Class in io.github.classgraph
A list of named objects that can be indexed by name.
mark(int) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
markSliceAsClosed(Slice) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
Mark a Slice as closed.
markSliceAsOpen(Slice) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
Mark a Slice as open, so it can be closed when the ScanResult is closed.
markSupported() - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
MAX_BUFFER_SIZE - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
The maximum size of a file buffer array.
maxBufferedJarRAMSize - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
The maximum size of an inner (nested) jar that has been deflated (i.e. compressed, not stored) within an outer jar, before it has to be spilled to disk rather than stored in a RAM-backed ByteBuffer when it is deflated, in order for the inner jar's entries to be read.
METHOD - Enum constant in enum nonapi.io.github.classgraph.types.TypeUtils.ModifierType
The modifier bits apply to a method.
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() - Constructor for class io.github.classgraph.MethodInfoList
Construct a new modifiable empty list of MethodInfo objects.
MethodInfoList(int) - Constructor for class io.github.classgraph.MethodInfoList
Construct a new modifiable empty list of MethodInfo objects, given a size hint.
MethodInfoList(Collection) - Constructor for class io.github.classgraph.MethodInfoList
Construct a new modifiable empty MethodInfoList, given an initial collection of MethodInfo objects.
MethodInfoList.MethodInfoFilter - Interface in io.github.classgraph
Filter an MethodInfoList using a predicate mapping an MethodInfo object to a boolean, producing another MethodInfoList 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).
modifiers - Variable in class io.github.classgraph.ClassMemberInfo
Class member modifiers.
modifiersToString(int, TypeUtils.ModifierType, boolean, StringBuilder) - Static method in class nonapi.io.github.classgraph.types.TypeUtils
Convert modifiers into a string representation, e.g.
moduleAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Module accept/reject criteria (with separator '.').
ModuleFinder - Class in nonapi.io.github.classgraph.classpath
A class to find the visible modules.
ModuleFinder(Class[], ScanSpec, boolean, boolean, ReflectionUtils, LogNode) - Constructor for class nonapi.io.github.classgraph.classpath.ModuleFinder
A class to find the visible modules.
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 an ModuleInfo object to a boolean, producing another ModuleInfoList for all items in the list for which the predicate is true.
modulePath - Variable in class io.github.classgraph.ModulePathInfo
The module path provided on the commandline by the --module-path or -p switch, as an ordered set of module names, in the order they were listed on the commandline.
modulePathInfo - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Commandline module path parameters.
ModulePathInfo - Class in io.github.classgraph
Information on the module path.
ModulePathInfo() - Constructor for class io.github.classgraph.ModulePathInfo
 
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, ReflectionUtils) - Constructor for class io.github.classgraph.ModuleRef
Constructor.
moduleRefToModuleReaderProxyRecyclerMap - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
A singleton map from a ModuleRef to a ModuleReaderProxy recycler for the module.
MULTI_RELEASE_PATH_PREFIX - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
"META-INF/versions/".

N

name - Variable in class io.github.classgraph.ClassInfo
The name of the class.
name - Variable in class io.github.classgraph.ClassMemberInfo
The name of the class member.
NARCISSUS - Enum constant in enum io.github.classgraph.ClassGraph.CircumventEncapsulationMethod
Use the Narcissus library to try to gain access to private classloader fields or methods in order to determine the classpath.
nestedJarHandler - Variable in class nonapi.io.github.classgraph.fileslice.Slice
NestedJarHandler - Class in nonapi.io.github.classgraph.fastzipfilereader
Open and read jarfiles, which may be nested within other jarfiles.
NestedJarHandler(ScanSpec, InterruptionChecker, ReflectionUtils) - 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 interface nonapi.io.github.classgraph.concurrency.SingletonMap.NewInstanceFactory
Create a new instance.
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.
NewInstanceException(K, Throwable) - Constructor for exception class nonapi.io.github.classgraph.concurrency.SingletonMap.NewInstanceException
Constructor.
newThread(Runnable) - Method in class nonapi.io.github.classgraph.concurrency.SimpleThreadFactory
New thread.
next() - Method in class nonapi.io.github.classgraph.types.Parser
Advance one character without returning the value of the character.
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.fileslice - package nonapi.io.github.classgraph.fileslice
 
nonapi.io.github.classgraph.fileslice.reader - package nonapi.io.github.classgraph.fileslice.reader
 
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.reflection - package nonapi.io.github.classgraph.reflection
 
nonapi.io.github.classgraph.scanspec - package nonapi.io.github.classgraph.scanspec
 
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
Return a new ResourceList consisting of non-classfile resources only.
NONE - Enum constant in enum io.github.classgraph.ClassGraph.CircumventEncapsulationMethod
Use the reflection API and AccessibleObject.setAccessible(boolean) to try to gain access to private classpath fields or methods in order to determine the classpath.
NONE - Enum constant in enum io.github.classgraph.TypeArgument.Wildcard
No wildcard.
normalizePackageOrClassName(String) - Static method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Remove initial and final '.' characters, if any.
normalizePath(String) - Static method in class nonapi.io.github.classgraph.scanspec.AcceptReject
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. "%20" -> " "; convert '/' or '\\' to SEP; remove trailing separator char if present.
normalizeURLPath(String) - Static method in class nonapi.io.github.classgraph.utils.URLPathEncoder
Normalize a URL path, so that it can be fed into the URL or URI constructor.
NOT_WITHIN_ACCEPTED_PATH - Enum constant in enum nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
Path is not accepted and not rejected.
NullSingletonException(K) - Constructor for exception class nonapi.io.github.classgraph.concurrency.SingletonMap.NullSingletonException
Constructor.

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.fileslice.Slice
Open this Slice as an InputStream.
open(Resource) - Method in class nonapi.io.github.classgraph.fileslice.Slice
Open this Slice as an InputStream.
open(String) - Method in class io.github.classgraph.ModuleReaderProxy
Use the proxied ModuleReader to open the named resource as an InputStream.
openInflaterInputStream(InputStream) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
Wrap an InputStream with an InflaterInputStream, recycling the Inflater instance.
OS - Static variable in class nonapi.io.github.classgraph.utils.VersionFinder
The operating system type.
overrideClassLoaders - Variable in class nonapi.io.github.classgraph.scanspec.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.ScanSpec
Completely override the list of ClassLoaders to scan.
overrideClasspath - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
If non-null, specifies a list of classpath elements (String, URL or URI to use to override the default classpath.
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.
overrideModuleLayers - Variable in class nonapi.io.github.classgraph.scanspec.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.ScanSpec
Completely override (and ignore) the visible ModuleLayers, and instead scan the requested ModuleLayers.

P

packageAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Package accept/reject criteria (with separator '.').
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 an PackageInfo object to a boolean, producing another PackageInfoList for all items in the list for which the predicate is true.
packageNameToPath(String) - Static method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Convert a package name to a path.
packagePrefixAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Package prefix accept/reject criteria, for recursive scanning (with separator '.', ending in '.').
parentSlice - Variable in class nonapi.io.github.classgraph.fileslice.Slice
The parent slice.
ParseException - Exception Class in nonapi.io.github.classgraph.types
A parsing exception.
ParseException(Parser, String) - Constructor for exception class nonapi.io.github.classgraph.types.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.
patchModules - Variable in class io.github.classgraph.ModulePathInfo
The module patch directives listed on the commandline using the --patch-module switch, as an ordered set of strings in the format <module>=<file>, in the order they were listed on the commandline.
path - Variable in class nonapi.io.github.classgraph.fileslice.PathSlice
The Path.
pathAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Path accept/reject criteria (with separator '/').
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. of String, File or URL type, whose toString() method will be called to get the path component), and return the path as a single string delineated with the standard path separator character.
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. of String, File or URL type, whose toString() method will be called to get the path component), and return the path as a single string delineated with the standard path separator character.
pathPrefixAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
Path prefix accept/reject criteria, for recursive scanning (with separator '/', ending in '/').
PathSlice - Class in nonapi.io.github.classgraph.fileslice
A Path slice.
PathSlice(Path, boolean, long, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fileslice.PathSlice
Constructor for toplevel file slice.
PathSlice(Path, boolean, long, NestedJarHandler, boolean) - Constructor for class nonapi.io.github.classgraph.fileslice.PathSlice
Constructor for toplevel file slice.
PathSlice(Path, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fileslice.PathSlice
Constructor for toplevel file slice.
pathToPackageName(String) - Static method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Convert a path to a package name.
peek() - Method in class nonapi.io.github.classgraph.types.Parser
Peek at the next character without reading it.
peekExpect(char) - Method in class nonapi.io.github.classgraph.types.Parser
Get the next character, throwing a 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.
physicalZipFile - Variable in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
The underlying physical zipfile.
processScanResult(ScanResult) - Method in interface io.github.classgraph.ClassGraph.ScanResultProcessor
Process the result of an asynchronous scan after scanning has completed.
processWorkUnit(T, WorkQueue, LogNode) - Method in interface nonapi.io.github.classgraph.concurrency.WorkQueue.WorkUnitProcessor
Process a work unit.
ProxyingInputStream - Class in nonapi.io.github.classgraph.utils
A proxying InputStream implementation that compiles for JDK 7 but can support the methods added in JDK 8 by reflection.
ProxyingInputStream(InputStream) - Constructor for class nonapi.io.github.classgraph.utils.ProxyingInputStream
A proxying InputStream implementation that compiles for JDK 7 but can support the methods added in JDK 8 by reflection.

R

raf - Variable in class nonapi.io.github.classgraph.fileslice.FileSlice
The RandomAccessFile opened on the File.
RandomAccessArrayReader - Class in nonapi.io.github.classgraph.fileslice.reader
RandomAccessReader backed by a byte array.
RandomAccessArrayReader(byte[], int, int) - Constructor for class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
Constructor for slicing an array.
RandomAccessByteBufferReader - Class in nonapi.io.github.classgraph.fileslice.reader
RandomAccessByteBufferReader(ByteBuffer, long, long) - Constructor for class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
Constructor.
RandomAccessFileChannelReader - Class in nonapi.io.github.classgraph.fileslice.reader
RandomAccessFileChannelReader(FileChannel, long, long) - Constructor for class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
Constructor.
randomAccessReader() - Method in class nonapi.io.github.classgraph.fileslice.ArraySlice
Return a new random access reader.
randomAccessReader() - Method in class nonapi.io.github.classgraph.fileslice.FileSlice
Read directly from FileChannel (slow path, but handles >2GB).
randomAccessReader() - Method in class nonapi.io.github.classgraph.fileslice.PathSlice
Read directly from FileChannel (slow path, but handles >2GB).
randomAccessReader() - Method in class nonapi.io.github.classgraph.fileslice.Slice
Create a new RandomAccessReader for this Slice.
RandomAccessReader - Interface in nonapi.io.github.classgraph.fileslice.reader
Interface for random access to values in byte order.
read() - Method in class io.github.classgraph.Resource
Open a ByteBuffer for a classpath resource.
read() - Method in class nonapi.io.github.classgraph.fileslice.FileSlice
Read the slice into a ByteBuffer (or memory-map the slice to a MappedByteBuffer, if ClassGraph.enableMemoryMapping() was called.)
read() - Method in class nonapi.io.github.classgraph.fileslice.PathSlice
Read the slice into a ByteBuffer (or memory-map the slice to a MappedByteBuffer, if ClassGraph.enableMemoryMapping() was called.)
read() - Method in class nonapi.io.github.classgraph.fileslice.Slice
Read the slice into a ByteBuffer.
read() - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
read(byte[]) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
read(byte[], int, int) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
read(long, byte[], int, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
read(long, byte[], int, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
read(long, byte[], int, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
read(long, byte[], int, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
read(long, byte[], int, int) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
Read bytes into a byte array.
read(long, ByteBuffer, int, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
read(long, ByteBuffer, int, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
read(long, ByteBuffer, int, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
read(long, ByteBuffer, int, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
read(long, ByteBuffer, int, int) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
Read bytes into a ByteBuffer.
read(String) - Method in class io.github.classgraph.ModuleReaderProxy
Use the proxied ModuleReader to open the named resource as a ByteBuffer.
readAllBytes() - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
readAllBytesAsArray(InputStream, long) - Static method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
Read all the bytes in an InputStream.
readAllBytesWithSpilloverToDisk(InputStream, String, long, LogNode) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
Read all the bytes in an InputStream, with spillover to a temporary file on disk if a maximum buffer size is exceeded.
readAttributes(Path) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
 
readByte() - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readByte() - Method in interface nonapi.io.github.classgraph.fileslice.reader.SequentialReader
Read a byte at the current cursor position.
readByte(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readByte(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
readByte(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
readByte(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
readByte(long) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
Read a byte at a specific offset (without changing the current cursor offset).
readCloseable() - Method in class io.github.classgraph.Resource
Open a ByteBuffer for a classpath resource, and wrap it in a CloseableByteBuffer instance, which implements the Closeable.close() method to free the underlying ByteBuffer when CloseableByteBuffer.close() is called, by automatically calling Resource.close().
readInt() - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readInt() - Method in interface nonapi.io.github.classgraph.fileslice.reader.SequentialReader
Read a int at the current cursor position.
readInt(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readInt(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
readInt(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
readInt(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
readInt(long) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
Read a int at a specific offset (without changing the current cursor offset).
readLong() - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readLong() - Method in interface nonapi.io.github.classgraph.fileslice.reader.SequentialReader
Read a long at the current cursor position.
readLong(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readLong(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
readLong(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
readLong(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
readLong(long) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
Read a long at a specific offset (without changing the current cursor offset).
readNBytes(byte[], int, int) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
readNBytes(int) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
readShort() - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readShort() - Method in interface nonapi.io.github.classgraph.fileslice.reader.SequentialReader
Read a short at the current cursor position.
readShort(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readShort(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
readShort(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
readShort(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
readShort(long) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
Read a short at a specific offset (without changing the current cursor offset).
readString(byte[], int, int, boolean, boolean) - Static method in class nonapi.io.github.classgraph.utils.StringUtils
Reads the "modified UTF8" format defined in the Java classfile spec, optionally replacing '/' with '.', and optionally removing the prefix "L" and the suffix ";".
readString(int) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readString(int) - Method in interface nonapi.io.github.classgraph.fileslice.reader.SequentialReader
Reads the "modified UTF8" format defined in the Java classfile spec.
readString(int, boolean, boolean) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readString(int, boolean, boolean) - Method in interface nonapi.io.github.classgraph.fileslice.reader.SequentialReader
Reads the "modified UTF8" format defined in the Java classfile spec, optionally replacing '/' with '.', and optionally removing the prefix "L" and the suffix ";".
readString(long, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readString(long, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
readString(long, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
readString(long, int) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
readString(long, int) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
Reads the "modified UTF8" format defined in the Java classfile spec.
readString(long, int, boolean, boolean) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readString(long, int, boolean, boolean) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
readString(long, int, boolean, boolean) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
readString(long, int, boolean, boolean) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
readString(long, int, boolean, boolean) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
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.fileslice.reader.ClassfileReader
 
readUnsignedByte() - Method in interface nonapi.io.github.classgraph.fileslice.reader.SequentialReader
Read an unsigned byte at the current cursor position.
readUnsignedByte(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readUnsignedByte(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
readUnsignedByte(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
readUnsignedByte(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
readUnsignedByte(long) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
Read an unsigned byte at a specific offset (without changing the current cursor offset).
readUnsignedInt() - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readUnsignedInt() - Method in interface nonapi.io.github.classgraph.fileslice.reader.SequentialReader
Read a unsigned int at the current cursor position.
readUnsignedInt(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readUnsignedInt(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
readUnsignedInt(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
readUnsignedInt(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
readUnsignedInt(long) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
Read a unsigned int at a specific offset (without changing the current cursor offset).
readUnsignedShort() - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readUnsignedShort() - Method in interface nonapi.io.github.classgraph.fileslice.reader.SequentialReader
Read a unsigned short at the current cursor position.
readUnsignedShort(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
readUnsignedShort(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
 
readUnsignedShort(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
 
readUnsignedShort(long) - Method in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
 
readUnsignedShort(long) - Method in interface nonapi.io.github.classgraph.fileslice.reader.RandomAccessReader
Read a unsigned short at a specific offset (without changing the current cursor offset).
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> - Class in nonapi.io.github.classgraph.recycler
An AutoCloseable wrapper for a recyclable object instance.
Recycler<T,E> - 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
 
ReferenceEqualityKey<K> - Class in nonapi.io.github.classgraph.json
An object for wrapping a HashMap key so that the hashmap performs reference equality on the keys, not equals() equality.
ReferenceEqualityKey(K) - Constructor for class nonapi.io.github.classgraph.json.ReferenceEqualityKey
Constructor.
ReferenceTypeSignature - Class in io.github.classgraph
A type signature for a reference type.
ReferenceTypeSignature() - Constructor for class io.github.classgraph.ReferenceTypeSignature
Constructor.
reflectionDriver - Variable in class nonapi.io.github.classgraph.reflection.ReflectionUtils
The reflection driver to use.
reflectionUtils - Variable in class io.github.classgraph.ScanResult
 
reflectionUtils - Variable in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
 
reflectionUtils - Variable in class nonapi.io.github.classgraph.classpath.ClasspathOrder
 
reflectionUtils - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
 
ReflectionUtils - Class in nonapi.io.github.classgraph.reflection
Reflection utility methods that can be used by ClassLoaderHandlers.
ReflectionUtils() - Constructor for class nonapi.io.github.classgraph.reflection.ReflectionUtils
Call this if you change the value of ClassGraph.CIRCUMVENT_ENCAPSULATION.
reject - Variable in class nonapi.io.github.classgraph.scanspec.AcceptReject
Rejected items (whole-string match).
rejectClasses(String...) - Method in class io.github.classgraph.ClassGraph
Specifically reject one or more specific classes, preventing them from being scanned even if they are in a accepted package.
rejectClasspathElementsContainingResourcePath(String...) - Method in class io.github.classgraph.ClassGraph
Reject classpath elements based on resource paths.
rejectGlobs - Variable in class nonapi.io.github.classgraph.scanspec.AcceptReject
Reject glob strings.
rejectIsEmpty() - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
Check if the reject is empty.
rejectJars(String...) - Method in class io.github.classgraph.ClassGraph
Reject one or more jars, preventing them from being scanned.
rejectLibOrExtJars(String...) - Method in class io.github.classgraph.ClassGraph
Reject one or more jars in a JRE/JDK "lib/" or "ext/" directory, preventing them from being scanned.
rejectModules(String...) - Method in class io.github.classgraph.ClassGraph
Reject one or more modules, preventing them from being scanned.
rejectPackages(String...) - Method in class io.github.classgraph.ClassGraph
Prevent the scanning of one or more specific packages and their sub-packages.
rejectPaths(String...) - Method in class io.github.classgraph.ClassGraph
Prevent the scanning of one or more specific paths and their sub-directories / nested paths.
rejectPatterns - Variable in class nonapi.io.github.classgraph.scanspec.AcceptReject
Reject regexp patterns.
rejectPrefixes - Variable in class nonapi.io.github.classgraph.scanspec.AcceptReject
Rejected items (prefix match).
release(ByteBuffer) - Method in class io.github.classgraph.ModuleReaderProxy
Release a ByteBuffer allocated by calling ModuleReaderProxy.read(String).
remove(int) - Method in class io.github.classgraph.AnnotationInfoList
 
remove(int) - Method in class io.github.classgraph.AnnotationParameterValueList
 
remove(int) - Method in class io.github.classgraph.ClassInfoList
 
remove(int) - Method in class io.github.classgraph.FieldInfoList
 
remove(int) - Method in class io.github.classgraph.InfoList
 
remove(int) - Method in class io.github.classgraph.MappableInfoList
 
remove(int) - Method in class io.github.classgraph.MethodInfoList
 
remove(int) - Method in class io.github.classgraph.ModuleInfoList
 
remove(int) - Method in class io.github.classgraph.PackageInfoList
 
remove(int) - Method in class io.github.classgraph.ResourceList
 
remove(Object) - Method in class io.github.classgraph.AnnotationInfoList
 
remove(Object) - Method in class io.github.classgraph.AnnotationParameterValueList
 
remove(Object) - Method in class io.github.classgraph.ClassInfoList
 
remove(Object) - Method in class io.github.classgraph.FieldInfoList
 
remove(Object) - Method in class io.github.classgraph.InfoList
 
remove(Object) - Method in class io.github.classgraph.MappableInfoList
 
remove(Object) - Method in class io.github.classgraph.MethodInfoList
 
remove(Object) - Method in class io.github.classgraph.ModuleInfoList
 
remove(Object) - Method in class io.github.classgraph.PackageInfoList
 
remove(Object) - Method in class io.github.classgraph.ResourceList
 
remove(K) - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
Remove the singleton for a given key.
removeAll(Collection) - Method in class io.github.classgraph.AnnotationInfoList
 
removeAll(Collection) - Method in class io.github.classgraph.AnnotationParameterValueList
 
removeAll(Collection) - Method in class io.github.classgraph.ClassInfoList
 
removeAll(Collection) - Method in class io.github.classgraph.FieldInfoList
 
removeAll(Collection) - Method in class io.github.classgraph.InfoList
 
removeAll(Collection) - Method in class io.github.classgraph.MappableInfoList
 
removeAll(Collection) - Method in class io.github.classgraph.MethodInfoList
 
removeAll(Collection) - Method in class io.github.classgraph.ModuleInfoList
 
removeAll(Collection) - Method in class io.github.classgraph.PackageInfoList
 
removeAll(Collection) - Method in class io.github.classgraph.ResourceList
 
removeTemporaryFilesAfterScan - Variable in class nonapi.io.github.classgraph.scanspec.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 interface nonapi.io.github.classgraph.recycler.Resettable
Reset a recycleable object (called when the object is recycled).
reset() - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
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. file) that was found in an accepted/non-rejected package inside a classpath element or module.
Resource(ClasspathElement, long) - Constructor for class io.github.classgraph.Resource
Constructor.
ResourceList - Class in io.github.classgraph
An AutoCloseable list of AutoCloseable Resource objects.
ResourceList() - Constructor for class io.github.classgraph.ResourceList
Create a new modifiable empty list of Resource objects.
ResourceList(int) - Constructor for class io.github.classgraph.ResourceList
Create a new modifiable empty list of Resource objects, given a size hint.
ResourceList(Collection) - Constructor for class io.github.classgraph.ResourceList
Create a new modifiable empty ResourceList, given an initial collection of Resource objects.
ResourceList.ByteArrayConsumer - Interface in io.github.classgraph
A FunctionalInterface for consuming the contents of a Resource as a byte array.
ResourceList.ByteArrayConsumerThrowsIOException - Interface in io.github.classgraph
A FunctionalInterface for consuming the contents of a Resource as a byte array, throwing IOException to the caller if an IO exception occurs.
ResourceList.ByteBufferConsumer - Interface in io.github.classgraph
A FunctionalInterface for consuming the contents of a Resource as a ByteBuffer.
ResourceList.ByteBufferConsumerThrowsIOException - Interface in io.github.classgraph
A FunctionalInterface for consuming the contents of a Resource as a ByteBuffer, throwing IOException to the caller if an IO exception occurs.
ResourceList.InputStreamConsumer - Interface in io.github.classgraph
A FunctionalInterface for consuming the contents of a Resource as an InputStream.
ResourceList.InputStreamConsumerThrowsIOException - Interface in io.github.classgraph
A FunctionalInterface for consuming the contents of a Resource as an InputStream, throwing IOException to the caller if an IO exception occurs.
ResourceList.ResourceFilter - Interface in io.github.classgraph
Filter a ResourceList using a predicate mapping a Resource object to a boolean, producing another ResourceList for all items in the list for which the predicate is true.
retainAll(Collection) - Method in class io.github.classgraph.AnnotationInfoList
 
retainAll(Collection) - Method in class io.github.classgraph.AnnotationParameterValueList
 
retainAll(Collection) - Method in class io.github.classgraph.ClassInfoList
 
retainAll(Collection) - Method in class io.github.classgraph.FieldInfoList
 
retainAll(Collection) - Method in class io.github.classgraph.InfoList
 
retainAll(Collection) - Method in class io.github.classgraph.MappableInfoList
 
retainAll(Collection) - Method in class io.github.classgraph.MethodInfoList
 
retainAll(Collection) - Method in class io.github.classgraph.ModuleInfoList
 
retainAll(Collection) - Method in class io.github.classgraph.PackageInfoList
 
retainAll(Collection) - Method in class io.github.classgraph.ResourceList
 
runFinalizationMethod() - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
 
runWorkQueue(Collection, ExecutorService, InterruptionChecker, int, LogNode, WorkQueue.WorkUnitProcessor) - 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, boolean, boolean) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
Sanitize relative paths against "zip slip" vulnerability, by removing path segments if ".." is found in the URL, but without allowing navigation above the path hierarchy root.
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 a ClassGraph.FailureHandler callback on failure.
scanDirs - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
If true, scan directories.
scanJars - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
If true, scan jarfiles.
scanModules - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
If true, scan modules.
scanNestedJars - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
If true, scan nested jarfiles (jarfiles within jarfiles).
scanResult - Variable in class io.github.classgraph.AnnotationClassRef
The scan result.
scanResult - Variable in class io.github.classgraph.AnnotationEnumValue
The scan result.
scanResult - Variable in class io.github.classgraph.AnnotationInfo
The scan result.
scanResult - Variable in class io.github.classgraph.AnnotationParameterValue
The scan result.
scanResult - Variable in class io.github.classgraph.ArrayClassInfo
The scan result.
scanResult - Variable in class io.github.classgraph.ArrayTypeSignature
The scan result.
scanResult - Variable in class io.github.classgraph.BaseTypeSignature
The scan result.
scanResult - Variable in class io.github.classgraph.ClassInfo
The scan result.
scanResult - Variable in class io.github.classgraph.ClassMemberInfo
The scan result.
scanResult - Variable in class io.github.classgraph.ClassRefOrTypeVariableSignature
The scan result.
scanResult - Variable in class io.github.classgraph.ClassRefTypeSignature
The scan result.
scanResult - Variable in class io.github.classgraph.ClassTypeSignature
The scan result.
scanResult - Variable in class io.github.classgraph.FieldInfo
The scan result.
scanResult - Variable in class io.github.classgraph.HierarchicalTypeSignature
The scan result.
scanResult - Variable in class io.github.classgraph.MethodInfo
The scan result.
scanResult - Variable in class io.github.classgraph.MethodTypeSignature
The scan result.
scanResult - Variable in class io.github.classgraph.ReferenceTypeSignature
The scan result.
scanResult - Variable in class io.github.classgraph.TypeArgument
The scan result.
scanResult - Variable in class io.github.classgraph.TypeParameter
The scan result.
scanResult - Variable in class io.github.classgraph.TypeSignature
The scan result.
scanResult - Variable in class io.github.classgraph.TypeVariableSignature
The scan result.
ScanResult - Class in io.github.classgraph
The result of a scan.
scanSpec - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
ScanSpec - Class in nonapi.io.github.classgraph.scanspec
The scanning specification.
ScanSpec() - Constructor for class nonapi.io.github.classgraph.scanspec.ScanSpec
Constructor for deserialization.
ScanSpec.ScanSpecPathMatch - Enum in nonapi.io.github.classgraph.scanspec
Whether a path is a descendant of a rejected path, or an ancestor or descendant of an accepted path.
separatorChar - Variable in class nonapi.io.github.classgraph.scanspec.AcceptReject
The separator character.
SequentialReader - Interface in nonapi.io.github.classgraph.fileslice.reader
Interface for sequentially reading values in byte order.
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.
serializeFromField(Object, String, int, boolean, ReflectionUtils) - 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.
serializeObject(Object, int, boolean, ReflectionUtils) - 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.
set(int, AnnotationInfo) - Method in class io.github.classgraph.AnnotationInfoList
 
set(int, AnnotationParameterValue) - Method in class io.github.classgraph.AnnotationParameterValueList
 
set(int, ClassInfo) - Method in class io.github.classgraph.ClassInfoList
 
set(int, FieldInfo) - Method in class io.github.classgraph.FieldInfoList
 
set(int, T) - Method in class io.github.classgraph.InfoList
 
set(int, T) - Method in class io.github.classgraph.MappableInfoList
 
set(int, MethodInfo) - Method in class io.github.classgraph.MethodInfoList
 
set(int, ModuleInfo) - Method in class io.github.classgraph.ModuleInfoList
 
set(int, PackageInfo) - Method in class io.github.classgraph.PackageInfoList
 
set(int, Resource) - Method in class io.github.classgraph.ResourceList
 
setExecutionException(ExecutionException) - Method in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
Set the ExecutionException that was thrown by a worker.
setMaxBufferedJarRAMSize(int) - Method in class io.github.classgraph.ClassGraph
The maximum size of an inner (nested) jar that has been deflated (i.e. compressed, not stored) within an outer jar, before it has to be spilled to disk rather than stored in a RAM-backed ByteBuffer when it is deflated, in order for the inner jar's entries to be read.
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
Sets the scan result.
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.
SingletonMap<K,V,E> - Class in nonapi.io.github.classgraph.concurrency
A map from keys to singleton instances.
SingletonMap() - Constructor for class nonapi.io.github.classgraph.concurrency.SingletonMap
 
SingletonMap.NewInstanceException - Exception Class in nonapi.io.github.classgraph.concurrency
Thrown when SingletonMap.newInstance(Object, LogNode) throws an exception.
SingletonMap.NewInstanceFactory<V,E> - Interface in nonapi.io.github.classgraph.concurrency
Create a new instance.
SingletonMap.NullSingletonException - Exception Class in nonapi.io.github.classgraph.concurrency
skip(int) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
 
skip(int) - Method in interface nonapi.io.github.classgraph.fileslice.reader.SequentialReader
Skip the given number of bytes.
skip(long) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
skipNBytes(long) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
skipWhitespace() - Method in class nonapi.io.github.classgraph.types.Parser
Skip whitespace starting at the current position.
slice - Variable in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
The Slice containing the zipfile.
slice(long, long, boolean, long) - Method in class nonapi.io.github.classgraph.fileslice.ArraySlice
Slice this slice to form a sub-slice.
slice(long, long, boolean, long) - Method in class nonapi.io.github.classgraph.fileslice.FileSlice
Slice the file.
slice(long, long, boolean, long) - Method in class nonapi.io.github.classgraph.fileslice.PathSlice
Slice the file.
slice(long, long, boolean, long) - Method in class nonapi.io.github.classgraph.fileslice.Slice
Get a child Slice from this parent Slice.
Slice - Class in nonapi.io.github.classgraph.fileslice
A slice of a File, ByteBuffer or InputStream.
Slice(long, boolean, long, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fileslice.Slice
Constructor.
Slice(Slice, long, long, boolean, long, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fileslice.Slice
Constructor for treating a range of a slice as a sub-slice.
sliceLength - Variable in class nonapi.io.github.classgraph.fileslice.Slice
The length of the slice, or -1L if unknown (for InputStream).
sliceStartPos - Variable in class nonapi.io.github.classgraph.fileslice.Slice
The start position of the slice.
smartPathSplit(String, char, ScanSpec) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
Split a path on the given separator char.
smartPathSplit(String, ScanSpec) - 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.
Solaris - Enum constant in enum nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
Solaris.
sortCopy(Collection) - Static method in class nonapi.io.github.classgraph.utils.CollectionUtils
Copy and sort a collection.
sortIfNotEmpty(List) - Static method in class nonapi.io.github.classgraph.utils.CollectionUtils
Sort a collection if it is not empty (to prevent ConcurrentModificationException if an immutable empty list that has been returned more than once is being sorted in one thread and iterated through in another thread -- #334).
sortIfNotEmpty(List, Comparator) - Static method in class nonapi.io.github.classgraph.utils.CollectionUtils
Sort a collection if it is not empty (to prevent ConcurrentModificationException if an immutable empty list that has been returned more than once is being sorted in one thread and iterated through in another thread -- #334).
sortPrefixes() - Method in class nonapi.io.github.classgraph.scanspec.ScanSpec
Sort prefixes to ensure correct accept/reject evaluation (see Issue #167).
staticMethodForNameOrNull(String, String) - Method in class nonapi.io.github.classgraph.reflection.ReflectionUtils
Get a method by name, but return null if any exception is thrown.
StringUtils - Class in nonapi.io.github.classgraph.utils
File utilities.
SUPER - Enum constant in enum 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.

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.MethodParameterInfo
Render to string.
toString() - Method in class io.github.classgraph.ModuleInfo
 
toString() - Method in class io.github.classgraph.ModulePathInfo
Return the module path info in commandline format.
toString() - Method in class io.github.classgraph.ModuleRef
 
toString() - Method in class io.github.classgraph.PackageInfo
 
toString() - Method in class io.github.classgraph.Resource
Get a string representation of the resource's location (as a URL string).
toString() - Method in class io.github.classgraph.AnnotationClassRef
Render to string.
toString() - Method in class io.github.classgraph.AnnotationEnumValue
Render to string.
toString() - Method in class io.github.classgraph.AnnotationInfo
Render to string.
toString() - Method in class io.github.classgraph.AnnotationParameterValue
Render to string.
toString() - Method in class io.github.classgraph.ArrayClassInfo
Render to string.
toString() - Method in class io.github.classgraph.ArrayTypeSignature
Render to string.
toString() - Method in class io.github.classgraph.BaseTypeSignature
Render to string.
toString() - Method in class io.github.classgraph.ClassInfo
Render to string.
toString() - Method in class io.github.classgraph.ClassMemberInfo
Render to string.
toString() - Method in class io.github.classgraph.ClassRefOrTypeVariableSignature
Render to string.
toString() - Method in class io.github.classgraph.ClassRefTypeSignature
Render to string.
toString() - Method in class io.github.classgraph.ClassTypeSignature
Render to string.
toString() - Method in class io.github.classgraph.FieldInfo
Render to string.
toString() - Method in class io.github.classgraph.HierarchicalTypeSignature
Render to string.
toString() - Method in class io.github.classgraph.MethodInfo
Render to string.
toString() - Method in class io.github.classgraph.MethodTypeSignature
Render to string.
toString() - Method in class io.github.classgraph.ReferenceTypeSignature
Render to string.
toString() - Method in class io.github.classgraph.TypeArgument
Render to string.
toString() - Method in class io.github.classgraph.TypeParameter
Render to string.
toString() - Method in class io.github.classgraph.TypeSignature
Render to string.
toString() - Method in class io.github.classgraph.TypeVariableSignature
Render to string.
toString() - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder.ClasspathEntry
 
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.fastzipfilereader.ZipFileSlice
 
toString() - Method in class nonapi.io.github.classgraph.json.ReferenceEqualityKey
To string.
toString() - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
 
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.utils.ProxyingInputStream
 
toString(boolean, StringBuilder) - Method in class io.github.classgraph.AnnotationClassRef
 
toString(boolean, StringBuilder) - Method in class io.github.classgraph.AnnotationEnumValue
 
toString(boolean, StringBuilder) - Method in class io.github.classgraph.AnnotationInfo
 
toString(boolean, StringBuilder) - Method in class io.github.classgraph.AnnotationParameterValue
 
toString(boolean, StringBuilder) - Method in class io.github.classgraph.ClassInfo
To string.
toString(boolean, StringBuilder) - Method in class io.github.classgraph.FieldInfo
 
toString(boolean, StringBuilder) - Method in class io.github.classgraph.HierarchicalTypeSignature
Render type signature to string.
toString(boolean, StringBuilder) - Method in class io.github.classgraph.MethodInfo
Get a string representation of the method.
toString(boolean, StringBuilder) - Method in class io.github.classgraph.MethodParameterInfo
Render to string.
toString(boolean, StringBuilder) - Method in class io.github.classgraph.ClassMemberInfo
Render to string.
toStringInternal(boolean, AnnotationInfoList, StringBuilder) - Method in class io.github.classgraph.ArrayTypeSignature
 
toStringInternal(boolean, AnnotationInfoList, StringBuilder) - Method in class io.github.classgraph.BaseTypeSignature
 
toStringInternal(boolean, AnnotationInfoList, StringBuilder) - Method in class io.github.classgraph.ClassRefTypeSignature
 
toStringInternal(boolean, AnnotationInfoList, StringBuilder) - Method in class io.github.classgraph.ClassTypeSignature
To string internal.
toStringInternal(boolean, AnnotationInfoList, StringBuilder) - Method in class io.github.classgraph.HierarchicalTypeSignature
Render type signature to string.
toStringInternal(boolean, AnnotationInfoList, StringBuilder) - Method in class io.github.classgraph.MethodTypeSignature
 
toStringInternal(boolean, AnnotationInfoList, StringBuilder) - Method in class io.github.classgraph.TypeArgument
 
toStringInternal(boolean, AnnotationInfoList, StringBuilder) - Method in class io.github.classgraph.TypeParameter
 
toStringInternal(boolean, AnnotationInfoList, StringBuilder) - Method in class io.github.classgraph.TypeVariableSignature
 
toStringWithSimpleNames() - Method in class io.github.classgraph.MethodParameterInfo
Render to string with simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.AnnotationClassRef
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.AnnotationEnumValue
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.AnnotationInfo
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.AnnotationParameterValue
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.ArrayClassInfo
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.ArrayTypeSignature
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.BaseTypeSignature
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.ClassInfo
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.ClassMemberInfo
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.ClassRefOrTypeVariableSignature
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.ClassRefTypeSignature
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.ClassTypeSignature
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.FieldInfo
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.HierarchicalTypeSignature
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.MethodInfo
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.MethodTypeSignature
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.ReferenceTypeSignature
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.TypeArgument
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.TypeParameter
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.TypeSignature
Render to string, using only simple names for classes.
toStringWithSimpleNames() - Method in class io.github.classgraph.TypeVariableSignature
Render to string, using only simple names for classes.
toStringWithTypeBound() - Method in class io.github.classgraph.TypeVariableSignature
Returns the type variable along with its type bound, if available (e.g.
transferTo(OutputStream) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
 
typeAnnotationInfo - Variable in class io.github.classgraph.HierarchicalTypeSignature
 
TypeArgument - Class in io.github.classgraph
A type argument.
TypeArgument.Wildcard - Enum in io.github.classgraph
A type wildcard.
typeDescriptorStr - Variable in class io.github.classgraph.ClassMemberInfo
The JVM-internal type descriptor (missing type parameters, but including types for synthetic and mandated class member parameters).
TypeParameter - Class in io.github.classgraph
A type parameter.
TypeParameter(String, ReferenceTypeSignature, List) - Constructor for class io.github.classgraph.TypeParameter
Constructor.
TypeSignature - Class in io.github.classgraph
A type signature for a reference type or base type.
TypeSignature() - Constructor for class io.github.classgraph.TypeSignature
Constructor.
typeSignatureStr - Variable in class io.github.classgraph.ClassInfo
The class type signature string.
typeSignatureStr - Variable in class io.github.classgraph.ClassMemberInfo
The type signature (may have type parameter information included, if present and available).
TypeUtils - Class in nonapi.io.github.classgraph.types
Utilities for parsing Java type descriptors and type signatures.
TypeUtils.ModifierType - Enum in nonapi.io.github.classgraph.types
The origin of the modifier bits.
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.
Unix - Enum constant in enum nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
Unix or AIX.
Unknown - Enum constant in enum nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
Unknown.
URL_SCHEME_PATTERN - Static variable in class nonapi.io.github.classgraph.utils.JarUtils
Check if a path has a URL scheme at the beginning.
URLPathEncoder - Class in nonapi.io.github.classgraph.utils
A simple URL path encoder.

V

valueOf(String) - Static method in enum io.github.classgraph.ClassGraph.CircumventEncapsulationMethod
Returns the enum constant of this type with the specified name.
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.scanspec.ScanSpec.ScanSpecPathMatch
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum nonapi.io.github.classgraph.types.TypeUtils.ModifierType
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.ClassGraph.CircumventEncapsulationMethod
Returns an array containing the constants of this enum type, in the order they are declared.
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() - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap
Get all valid singleton values in the map.
values() - Static method in enum nonapi.io.github.classgraph.scanspec.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.types.TypeUtils.ModifierType
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.
verbose(boolean) - Method in class io.github.classgraph.ClassGraph
Switches on verbose logging to System.err if verbose is true.
VersionFinder - Class in nonapi.io.github.classgraph.utils
Finds the version number of ClassGraph, and the version of the JDK.
VersionFinder.OperatingSystem - Enum in nonapi.io.github.classgraph.utils
The operating system type.

W

whitelistClasses(String...) - Method in class io.github.classgraph.ClassGraph
Deprecated.
whitelistClasspathElementsContainingResourcePath(String...) - Method in class io.github.classgraph.ClassGraph
whitelistJars(String...) - Method in class io.github.classgraph.ClassGraph
Deprecated.
whitelistLibOrExtJars(String...) - Method in class io.github.classgraph.ClassGraph
whitelistModules(String...) - Method in class io.github.classgraph.ClassGraph
Deprecated.
whitelistPackages(String...) - Method in class io.github.classgraph.ClassGraph
Deprecated.
whitelistPackagesNonRecursive(String...) - Method in class io.github.classgraph.ClassGraph
whitelistPaths(String...) - Method in class io.github.classgraph.ClassGraph
Deprecated.
whitelistPathsNonRecursive(String...) - Method in class io.github.classgraph.ClassGraph
Windows - Enum constant in enum 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.
A B C D E F G H I J L M N O P R S T U V W Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form