A B C D E F G H I J K L M N O P Q R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
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 throwingIOException
. - accept(Resource, InputStream) - Method in interface io.github.classgraph.ResourceList.InputStreamConsumer
-
Consume a
Resource
as anInputStream
. - accept(Resource, InputStream) - Method in interface io.github.classgraph.ResourceList.InputStreamConsumerThrowsIOException
-
Consume the complete content of a
Resource
as a byte array, possibly throwingIOException
. - accept(Resource, ByteBuffer) - Method in interface io.github.classgraph.ResourceList.ByteBufferConsumer
- 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.
- acceptedClassfileResources - Variable in class io.github.classgraph.ClasspathElement
-
The list of all classfiles found within this classpath element that were accepted and not rejected.
- acceptedClassNamesFound - Variable in class io.github.classgraph.Classfile
-
The names of accepted classes found in the classpath while scanning paths within classpath elements.
- acceptedClassNamesFound - Variable in class io.github.classgraph.Scanner.ClassfileScannerWorkUnitProcessor
-
The names of accepted classes found in the classpath while scanning paths within classpath elements.
- acceptedResources - Variable in class io.github.classgraph.ClasspathElement
-
Resources found within this classpath element that were accepted and not rejected.
- 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.
- acceptOrRejectLibOrExtJars(boolean, String...) - Method in class io.github.classgraph.ClassGraph
-
Add lib or ext jars to accept or reject.
- 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.
- accessControllerClass - Variable in class nonapi.io.github.classgraph.reflection.ReflectionUtils
- accessControllerClass - Static variable in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- accessControllerDoPrivileged - Variable in class nonapi.io.github.classgraph.reflection.ReflectionUtils
- accessControllerDoPrivileged - Static variable in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- 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.
- actualTypeArguments - Variable in class nonapi.io.github.classgraph.json.ParameterizedTypeImpl
-
The actual type arguments.
- add(int, T) - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- add(ClassLoader, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
-
Add a
ClassLoader
to the ClassLoader order at the current position. - add(T) - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- ADD_EXPORTS_KEY - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
The
"Add-Exports"
manifest key. - ADD_OPENS_KEY - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
The
"Add-Opens"
manifest key. - addAcceptedResource(Resource, ScanSpec.ScanSpecPathMatch, boolean, LogNode) - Method in class io.github.classgraph.ClasspathElement
-
Add a resource discovered during the scan.
- addAll(int, Collection<? extends T>) - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- addAll(Collection<? extends T>) - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- addAnnotationParamDefaultValues(AnnotationParameterValueList) - Method in class io.github.classgraph.ClassInfo
-
Add annotation default values.
- addAnnotations(AnnotationInfoList) - Method in class io.github.classgraph.ModuleInfo
-
Add annotations found in a module descriptor classfile.
- addAnnotations(AnnotationInfoList) - Method in class io.github.classgraph.PackageInfo
-
Add annotations found in a package descriptor classfile.
- addBundle(Object, ClassLoader, ClasspathOrder, Set<Object>, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
-
Adds the bundle.
- addBundleFile(Object, Set<Object>, ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
-
Add the bundle file.
- addChild(String, String, long) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a child log node for a message.
- addChild(String, String, long, Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a child log node.
- addChild(Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a child log node for an exception.
- addClassAnnotation(AnnotationInfo, Map<String, ClassInfo>) - Method in class io.github.classgraph.ClassInfo
-
Add an annotation to this class.
- addClassContainment(List<Classfile.ClassContainment>, Map<String, ClassInfo>) - Static method in class io.github.classgraph.ClassInfo
-
Add class containment info.
- addClassInfo(ClassInfo) - Method in class io.github.classgraph.ModuleInfo
-
Add a
ClassInfo
object to thisModuleInfo
. - addClassInfo(ClassInfo) - Method in class io.github.classgraph.PackageInfo
-
Merge a
ClassInfo
object for a package-info.class file into this PackageInfo. - 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(Object, ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
-
Adds the classpath entries.
- addClasspathEntries(List<Object>, 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.
- addClasspathEntry(Object, String, ClassLoader, ScanSpec) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Add a classpath entry.
- 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.
- added - Variable in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
-
The set of all
ClassLoader
instances that have been added to the order so far, so that classloaders don't get added twice. - addedClassLoaderDelegationOrder - Variable in class io.github.classgraph.ClassGraphClassLoader
-
The ordered set of overridden or added classloaders to try delegating to.
- 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.
- addFieldInfo(FieldInfoList, Map<String, ClassInfo>) - Method in class io.github.classgraph.ClassInfo
-
Add field info.
- addFieldOrMethodAnnotationInfo(AnnotationInfoList, boolean, int, Map<String, ClassInfo>) - Method in class io.github.classgraph.ClassInfo
-
Add field or method annotation cross-links.
- addFullyQualifiedDefiningMethodName(String) - Method in class io.github.classgraph.ClassInfo
-
Add containing method name, for anonymous inner classes.
- addImplementedInterface(String, Map<String, ClassInfo>) - Method in class io.github.classgraph.ClassInfo
-
Add an implemented interface to this class.
- additionalWorkUnits - Variable in class io.github.classgraph.Classfile
-
Any additional work units scheduled for scanning.
- addJREPath(File) - Static method in class nonapi.io.github.classgraph.classpath.SystemJarFinder
-
Add and search a JRE path.
- addMethodInfo(MethodInfoList, Map<String, ClassInfo>) - Method in class io.github.classgraph.ClassInfo
-
Add method info.
- 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.
- addPackageInfo(PackageInfo) - Method in class io.github.classgraph.ModuleInfo
-
Add a
PackageInfo
object to thisModuleInfo
. - 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. - addRecieverTypeAnnotation(AnnotationInfo) - Method in class io.github.classgraph.MethodTypeSignature
-
Add a type annotation for an explicit receiver parameter.
- addReferencedClassNames(Set<String>) - Method in class io.github.classgraph.ClassInfo
-
Add names of classes referenced by this class.
- addRelatedClass(ClassInfo.RelType, ClassInfo) - Method in class io.github.classgraph.ClassInfo
-
Add a class with a given relationship type.
- addScannedClass(String, int, boolean, Map<String, ClassInfo>, ClasspathElement, Resource) - Static method in class io.github.classgraph.ClassInfo
-
Add a class that has just been scanned (as opposed to just referenced by a scanned class).
- addSuffixTypeAnnotation(int, AnnotationInfo) - Method in class io.github.classgraph.ClassRefTypeSignature
- addSuperclass(String, Map<String, ClassInfo>) - Method in class io.github.classgraph.ClassInfo
-
Add a superclass to this class.
- addSystemClasspathEntry(String, ClassLoader) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Add a system classpath entry.
- 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<Classfile.TypePathNode>, AnnotationInfo) - Method in class io.github.classgraph.ArrayTypeSignature
- addTypeAnnotation(List<Classfile.TypePathNode>, AnnotationInfo) - Method in class io.github.classgraph.BaseTypeSignature
- addTypeAnnotation(List<Classfile.TypePathNode>, AnnotationInfo) - Method in class io.github.classgraph.ClassRefTypeSignature
- addTypeAnnotation(List<Classfile.TypePathNode>, AnnotationInfo) - Method in class io.github.classgraph.ClassTypeSignature
- addTypeAnnotation(List<Classfile.TypePathNode>, AnnotationInfo) - Method in class io.github.classgraph.HierarchicalTypeSignature
-
Add a type annotation.
- addTypeAnnotation(List<Classfile.TypePathNode>, AnnotationInfo) - Method in class io.github.classgraph.MethodTypeSignature
- addTypeAnnotation(List<Classfile.TypePathNode>, AnnotationInfo) - Method in class io.github.classgraph.TypeArgument
- addTypeAnnotation(List<Classfile.TypePathNode>, AnnotationInfo) - Method in class io.github.classgraph.TypeParameter
- addTypeAnnotation(List<Classfile.TypePathNode>, AnnotationInfo) - Method in class io.github.classgraph.TypeSignature
-
Add a type annotation to this type.
- addTypeAnnotation(List<Classfile.TypePathNode>, AnnotationInfo) - Method in class io.github.classgraph.TypeVariableSignature
- addTypeDecorators(List<Classfile.ClassTypeAnnotationDecorator>) - Method in class io.github.classgraph.ClassInfo
-
Add
Classfile.ClassTypeAnnotationDecorator
instances. - addWorkUnit(T) - Method in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
Add a unit of work.
- addWorkUnits(Collection<T>) - Method in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
Add multiple units of work.
- advance(int) - Method in class nonapi.io.github.classgraph.types.Parser
-
Advance numChars character positions.
- 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. - ALL - io.github.classgraph.ClassInfo.ClassType
-
Get all class types.
- allAcceptedResourcesCached - Variable in class io.github.classgraph.ScanResult
-
A list of all files that were found in accepted packages.
- 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).
- allParentClassLoaders - Variable in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
-
The set of all parent
ClassLoader
instances that have been delegated to so far, to enableClassGraph.ignoreParentClassLoaders()
. - allResourcePaths - Variable in class io.github.classgraph.ClasspathElementModule
-
All resource paths.
- alreadyReadSystemBundles - Static variable in class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
-
True if system bundles have been read.
- ANCESTOR_OF_ACCEPTED_PATH - nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
-
Path is an ancestor of an accepted path.
- ANNOTATION - io.github.classgraph.ClassInfo.ClassType
-
An annotation.
- ANNOTATION_CLASS_MODIFIER - Static variable in class io.github.classgraph.ClassInfo
-
The modifier bit for annotations.
- ANNOTATION_COLOR - Static variable in class io.github.classgraph.GraphvizDotfileGenerator
-
The color for annotations.
- annotationClass - Variable in class io.github.classgraph.AnnotationInfo.AnnotationInvocationHandler
-
The annotation class.
- annotationClassRef - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Class ref.
- AnnotationClassRef - Class in io.github.classgraph
-
Stores the type descriptor of a
Class<?>
, as found in an annotation parameter value. - AnnotationClassRef() - Constructor for class io.github.classgraph.AnnotationClassRef
-
Constructor.
- AnnotationClassRef(String) - Constructor for class io.github.classgraph.AnnotationClassRef
-
Constructor.
- annotationDefaultParamValues - Variable in class io.github.classgraph.ClassInfo
-
For annotations, the default values of parameters.
- annotationDefaultParamValuesHasBeenConvertedToPrimitive - Variable in class io.github.classgraph.ClassInfo
-
Set to true once any Object[] arrays of boxed types in annotationDefaultParamValues have been lazily converted to primitive arrays.
- annotationEnumValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Enum 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.
- AnnotationEnumValue() - Constructor for class io.github.classgraph.AnnotationEnumValue
-
Default constructor for deserialization.
- AnnotationEnumValue(String, String) - Constructor for class io.github.classgraph.AnnotationEnumValue
-
Constructor.
- annotationInfo - Variable in class io.github.classgraph.AnnotationInfo.AnnotationInvocationHandler
-
The
AnnotationInfo
object for this annotation. - annotationInfo - Variable in class io.github.classgraph.ClassInfo
-
Info on class annotations, including optional annotation param values.
- annotationInfo - Variable in class io.github.classgraph.ClassMemberInfo
-
The annotation on the class member, if any.
- annotationInfo - Variable in class io.github.classgraph.MethodParameterInfo
-
The annotation info.
- annotationInfo - Variable in class io.github.classgraph.ModuleInfo
-
AnnotationInfo
objects for any annotations on the module-info.class file, if present, else null. - annotationInfo - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
AnnotationInfo.
- annotationInfo - Variable in class io.github.classgraph.PackageInfo
-
AnnotationInfo
for any annotations on the package-info.class file, if present, else null. - AnnotationInfo - Class in io.github.classgraph
-
Holds metadata about a specific annotation instance on a class, method, method parameter or field.
- AnnotationInfo() - Constructor for class io.github.classgraph.AnnotationInfo
-
Default constructor for deserialization.
- AnnotationInfo(String, AnnotationParameterValueList) - Constructor for class io.github.classgraph.AnnotationInfo
-
Constructor.
- AnnotationInfo.AnnotationInvocationHandler - Class in io.github.classgraph
-
InvocationHandler
for dynamically instantiating anAnnotation
object. - 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 ofAnnotationInfo
objects. - AnnotationInfoList(AnnotationInfoList, AnnotationInfoList) - Constructor for class io.github.classgraph.AnnotationInfoList
-
Constructor.
- AnnotationInfoList.AnnotationInfoFilter - Interface in io.github.classgraph
-
Filter an
AnnotationInfoList
using a predicate mapping anAnnotationInfo
object to a boolean, producing anotherAnnotationInfoList
for all items in the list for which the predicate is true. - annotationInfoSet - Variable in class io.github.classgraph.ModuleInfo
-
Unique
AnnotationInfo
objects for any annotations on the module-info.class file, if present, else null. - annotationInfoSet - Variable in class io.github.classgraph.PackageInfo
-
Unique
AnnotationInfo
objects for any annotations on the package-info.class file, if present, else null. - AnnotationInvocationHandler(Class<? extends Annotation>, AnnotationInfo) - Constructor for class io.github.classgraph.AnnotationInfo.AnnotationInvocationHandler
-
Constructor.
- annotationParamDefaultValues - Variable in class io.github.classgraph.Classfile
-
Annotation default parameter values.
- AnnotationParameterValue - Class in io.github.classgraph
-
A wrapper used to pair annotation parameter names with annotation parameter values.
- AnnotationParameterValue() - Constructor for class io.github.classgraph.AnnotationParameterValue
-
Default constructor for deserialization.
- AnnotationParameterValue(String, Object) - Constructor for class io.github.classgraph.AnnotationParameterValue
-
Constructor.
- 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<AnnotationParameterValue>) - Constructor for class io.github.classgraph.AnnotationParameterValueList
-
Construct a new modifiable empty
AnnotationParameterValueList
, given an initial list ofAnnotationParameterValue
objects. - annotationParameterValuesInstantiated - Variable in class io.github.classgraph.AnnotationInfo.AnnotationInvocationHandler
-
The annotation parameter values instantiated.
- annotationParamValues - Variable in class io.github.classgraph.AnnotationInfo
-
The annotation param values.
- annotationParamValuesHasBeenConvertedToPrimitive - Variable in class io.github.classgraph.AnnotationInfo
-
Set to true once any Object[] arrays of boxed types in annotationParamValues have been lazily converted to primitive arrays.
- annotationParamValuesWithDefaults - Variable in class io.github.classgraph.AnnotationInfo
-
The annotation param values with defaults.
- AntClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Ant ClassLoader.
- AntClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.AntClassLoaderHandler
-
Class cannot be constructed.
- ANY - io.github.classgraph.TypeArgument.Wildcard
-
The '?' wildcard.
- appendLine(String, int, String, StringBuilder) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Append a line to the log output, indenting this log entry according to tree structure.
- appendModifierKeyword(StringBuilder, String) - Static method in class nonapi.io.github.classgraph.types.TypeUtils
-
Append a space if necessary (if not at the beginning of the buffer, and the last character is not already a space), then append a modifier keyword.
- appendPath(StringBuilder) - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
-
Recursively append the path in top down ancestral order.
- appendPathElt(Object, StringBuilder) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
-
Append a path element to a buffer.
- 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.
- argPartSeparatorChars - Static variable in class io.github.classgraph.ModulePathInfo
-
The module path commandline switch value delimiters.
- argSwitches - Static variable in class io.github.classgraph.ModulePathInfo
-
The module path commandline switches.
- arr - Variable in class nonapi.io.github.classgraph.fileslice.ArraySlice
-
The wrapped byte array.
- arr - Variable in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
Buffer.
- arr - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessArrayReader
-
The array.
- arrayClassInfo - Variable in class io.github.classgraph.ArrayTypeSignature
-
Array class info.
- ArrayClassInfo - Class in io.github.classgraph
-
Holds metadata about an array class.
- ArrayClassInfo() - Constructor for class io.github.classgraph.ArrayClassInfo
-
Default constructor for deserialization.
- ArrayClassInfo(ArrayTypeSignature) - Constructor for class io.github.classgraph.ArrayClassInfo
-
Constructor.
- 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.
- ArraySlice(ArraySlice, long, long, boolean, long, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fileslice.ArraySlice
-
Constructor for treating a range of an array as a slice.
- arrayTypeSignature - Variable in class io.github.classgraph.ArrayClassInfo
-
The array type signature.
- ArrayTypeSignature - Class in io.github.classgraph
-
An array type signature.
- ArrayTypeSignature(TypeSignature, int, String) - Constructor for class io.github.classgraph.ArrayTypeSignature
-
Constructor.
- arrUsed - Variable in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
The number of bytes used in arr.
- 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 aMethodInfoList
of methods with that name. - asMap() - Method in class io.github.classgraph.ResourceList
-
Return this
ResourceList
as a map from resource path (obtained fromResource.getPath()
) to aResourceList
ofResource
objects that have that path. - Assert - Class in nonapi.io.github.classgraph.utils
-
Assertions.
- Assert() - Constructor for class nonapi.io.github.classgraph.utils.Assert
- assignObjectIds(Object, Map<ReferenceEqualityKey<Object>, JSONObject>, ClassFieldCache, Map<ReferenceEqualityKey<JSONReference>, CharSequence>, AtomicInteger, boolean) - Static method in class nonapi.io.github.classgraph.json.JSONSerializer
-
Create a unique id for each referenced JSON object.
- AT_ACCEPTED_CLASS_PACKAGE - nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
-
Path is the package of a specifically-accepted class.
- AT_ACCEPTED_PATH - nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
-
Path is accepted.
- attachmentMethod - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
-
The attachment() method.
- 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_MODULE_NAME_KEY - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
The
"Automatic-Module-Name"
manifest key. - 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).
- AUTOMATIC_PACKAGE_ROOT_SUFFIXES - Static variable in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Suffixes for automatic package roots, e.g.
- 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
- backingByteBuffer - Variable in class nonapi.io.github.classgraph.fileslice.FileSlice
-
The backing byte buffer, if any.
- BaseTypeSignature - Class in io.github.classgraph
-
A type signature for a base type (byte, char, double, float, int, long, short, boolean, or void).
- BaseTypeSignature(char) - Constructor for class io.github.classgraph.BaseTypeSignature
-
Constructor.
- blacklistClasses(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.rejectClasses(String...)
instead. - blacklistClasspathElementsContainingResourcePath(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.
- blacklistJars(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.rejectJars(String...)
instead. - blacklistLibOrExtJars(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.rejectLibOrExtJars(String...)
instead. - blacklistModules(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.rejectModules(String...)
instead. - blacklistPackages(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.rejectPackages(String...)
instead. - blacklistPaths(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.rejectPaths(String...)
instead. - BOOLEAN - nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
Boolean type.
- booleanArrayValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Boolean array value.
- booleanValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Boolean value.
- BSD - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
BSD.
- buf() - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
Buf.
- BUF_CHUNK_SIZE - Static variable in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
Read this many bytes each time there is a buffer underrun.
- 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.
- BUNDLE_CLASSPATH_KEY - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
The
"Bundle-ClassPath"
manifest key. - 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.
- BYTE - nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
Byte type.
- byteArrayValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Byte array value.
- byteBuffer - Variable in class io.github.classgraph.CloseableByteBuffer
- byteBuffer - Variable in class io.github.classgraph.Resource
-
The byte buffer, or null.
- byteBuffer - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
-
The byte buffer.
- byteValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Byte value.
C
- cacheField(Field) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver.ClassMemberCache
- cacheMethod(Method) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver.ClassMemberCache
- call() - Method in class io.github.classgraph.Scanner
-
Determine the unique ordered classpath elements, and run a scan looking for file or classfile matches if necessary.
- callable - Variable in class nonapi.io.github.classgraph.reflection.ReflectionUtils.PrivilegedActionInvocationHandler
- callable - Variable in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver.PrivilegedActionInvocationHandler
- callGetUrls(Object, String, ReflectionUtils) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
-
Utility to call a "getURLs" method, flattening "collections of collections" and ignoring "UnsupportedOperationException".
- CallStackReader - Class in nonapi.io.github.classgraph.classpath
-
A class to find the unique ordered classpath elements.
- CallStackReader(ReflectionUtils) - Constructor for class nonapi.io.github.classgraph.classpath.CallStackReader
-
Constructor.
- canAccessMethod - Static variable in class nonapi.io.github.classgraph.reflection.ReflectionDriver
- canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.AntClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.ClassGraphClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Method in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
Call the static method canHandle(ClassLoader) for the associated
ClassLoaderHandler
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.CxfContainerClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxContextFinderClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.FallbackClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.JPMSClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.OSGiDefaultClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.ParentLastDelegationOrderTestClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.PlexusClassWorldsClassRealmClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler
-
Can handle.
- canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.SpringBootRestartClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.TomcatWebappClassLoaderBaseHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.UnoOneJarClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.URLClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WeblogicClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandle(Class<?>, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereTraditionalClassLoaderHandler
-
Check whether this
ClassLoaderHandler
can handle a givenClassLoader
. - canHandleMethod - Variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
canHandle method.
- canonicalFileToPhysicalZipFileMap - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
A singleton map from a zipfile's
File
to thePhysicalZipFile
for that file, used to ensure that theRandomAccessFile
andFileChannel
for any given zipfile is opened only once. - 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. - CHARACTER - nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
Character type.
- characterValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Character value.
- charArrayValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Char array value.
- 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. - checkResourcePathAcceptReject(String, LogNode) - Method in class io.github.classgraph.ClasspathElement
-
Check relativePath against classpathElementResourcePathAcceptReject.
- childClasspathElements - Variable in class io.github.classgraph.ClasspathElement
-
The child classpath elements, keyed by the order of the child classpath element within the Class-Path entry of the manifest file the child classpath element was listed in (or the position of the file within the sorted entries of a lib directory).
- children - Variable in class io.github.classgraph.PackageInfo
-
The child packages of this package.
- children - Variable in class nonapi.io.github.classgraph.utils.LogNode
-
The child nodes of this log node.
- 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.
- CircumventEncapsulationMethod() - Constructor for enum io.github.classgraph.ClassGraph.CircumventEncapsulationMethod
- CLASS - nonapi.io.github.classgraph.types.TypeUtils.ModifierType
-
The modifier bits apply to a class.
- CLASS_ANNOTATIONS - io.github.classgraph.ClassInfo.RelType
-
Annotations on this class, if this is a regular class, or meta-annotations on this annotation, if this is an annotation.
- CLASS_LOADER_HANDLERS - Static variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
-
Default ClassLoaderHandlers.
- CLASS_PATH_KEY - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
The
"Class-Path"
manifest key. - CLASS_REF - nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
Class reference
- classAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
Class accept/reject criteria (fully-qualified class names, with separator '.').
- classAnnotations - Variable in class io.github.classgraph.Classfile
-
The class annotations.
- classBound - Variable in class io.github.classgraph.TypeParameter
-
Class bound -- may be null.
- ClassContainment(String, int, String) - Constructor for class io.github.classgraph.Classfile.ClassContainment
-
Constructor.
- classContainmentEntries - Variable in class io.github.classgraph.Classfile
-
Class containment entries.
- CLASSES_IMPLEMENTING - io.github.classgraph.ClassInfo.RelType
-
Classes that implement this interface (including sub-interfaces), if this is an interface.
- CLASSES_WITH_ANNOTATION - io.github.classgraph.ClassInfo.RelType
-
Classes annotated with this annotation, if this is an annotation.
- CLASSES_WITH_FIELD_ANNOTATION - io.github.classgraph.ClassInfo.RelType
-
Classes that have one or more fields annotated with this annotation, if this is an annotation.
- CLASSES_WITH_METHOD_ANNOTATION - io.github.classgraph.ClassInfo.RelType
-
Classes that have one or more methods annotated with this annotation, if this is an annotation.
- CLASSES_WITH_METHOD_PARAMETER_ANNOTATION - io.github.classgraph.ClassInfo.RelType
-
Classes that have one or more methods that have one or more parameters annotated with this annotation, if this is an annotation.
- CLASSES_WITH_NONPRIVATE_FIELD_ANNOTATION - io.github.classgraph.ClassInfo.RelType
-
Classes that have one or more non-private (inherited) fields annotated with this annotation, if this is an annotation.
- CLASSES_WITH_NONPRIVATE_METHOD_ANNOTATION - io.github.classgraph.ClassInfo.RelType
-
Classes that have one or more non-private (inherited) methods annotated with this annotation, if this is an annotation.
- CLASSES_WITH_NONPRIVATE_METHOD_PARAMETER_ANNOTATION - io.github.classgraph.ClassInfo.RelType
-
Classes that have one or more non-private (inherited) methods that have one or more parameters annotated with this annotation, if this is an annotation.
- ClassFieldCache - Class in nonapi.io.github.classgraph.json
-
A cache of field types and associated constructors for each encountered class, used to speed up constructor lookup.
- ClassFieldCache(boolean, boolean, ReflectionUtils) - Constructor for class nonapi.io.github.classgraph.json.ClassFieldCache
-
Create a class field cache.
- ClassFieldCache.NoConstructor - Class in nonapi.io.github.classgraph.json
-
Placeholder class to signify no constructor was found previously.
- ClassFields - Class in nonapi.io.github.classgraph.json
-
The list of fields that can be (de)serialized (non-final, non-transient, non-synthetic, accessible), and their corresponding resolved (concrete) types.
- ClassFields(Class<?>, boolean, boolean, ClassFieldCache, ReflectionUtils) - Constructor for class nonapi.io.github.classgraph.json.ClassFields
-
Constructor.
- Classfile - Class in io.github.classgraph
-
A classfile binary format parser.
- Classfile(ClasspathElement, List<ClasspathElement>, Set<String>, Set<String>, String, Resource, boolean, ConcurrentHashMap<String, String>, WorkQueue<Scanner.ClassfileScanWorkUnit>, ScanSpec, LogNode) - Constructor for class io.github.classgraph.Classfile
-
Directly examine contents of classfile binary header to determine annotations, implemented interfaces, the super-class etc.
- CLASSFILE_FILTER - Static variable in class io.github.classgraph.ResourceList
-
Returns true if a Resource has a path ending in ".class".
- Classfile.ClassContainment - Class in io.github.classgraph
-
Class containment.
- Classfile.ClassfileFormatException - Exception in io.github.classgraph
-
Thrown when a classfile's contents are not in the correct format.
- Classfile.ClassTypeAnnotationDecorator - Interface in io.github.classgraph
- Classfile.MethodTypeAnnotationDecorator - Interface in io.github.classgraph
- Classfile.SkipClassException - Exception in io.github.classgraph
-
Thrown when a classfile needs to be skipped.
- Classfile.TypeAnnotationDecorator - Interface in io.github.classgraph
- Classfile.TypePathNode - Class in io.github.classgraph
- ClassfileFormatException(String) - Constructor for exception io.github.classgraph.Classfile.ClassfileFormatException
-
Constructor.
- ClassfileFormatException(String, Throwable) - Constructor for exception io.github.classgraph.Classfile.ClassfileFormatException
-
Constructor.
- 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.
- classfileLengthHint - Variable in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
The length of the classfile if known (because it is not deflated), or -1 if unknown (because it is deflated).
- classfileMajorVersion - Variable in class io.github.classgraph.ClassInfo
-
The major version of the classfile format for this class' classfile.
- classfileMinorVersion - Variable in class io.github.classgraph.ClassInfo
-
The minor version of the classfile format for this class' classfile.
- 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
- 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.Classfile
-
The classfile resource.
- classfileResource - Variable in class io.github.classgraph.ClassInfo
-
The
Resource
for the classfile of this class. - classfileResource - Variable in class io.github.classgraph.Scanner.ClassfileScanWorkUnit
-
The classfile resource.
- ClassfileScannerWorkUnitProcessor(ScanSpec, List<ClasspathElement>, Set<String>, Queue<Classfile>) - Constructor for class io.github.classgraph.Scanner.ClassfileScannerWorkUnitProcessor
-
Constructor.
- ClassfileScanWorkUnit(ClasspathElement, Resource, boolean) - Constructor for class io.github.classgraph.Scanner.ClassfileScanWorkUnit
-
Constructor.
- classFilesOnly() - Method in class io.github.classgraph.ResourceList
-
Return a new
ResourceList
consisting of only the resources with the filename extension ".class". - classFinder - Variable in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- 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 - Variable in class io.github.classgraph.ScanResult
-
A custom ClassLoader that can load classes found during the scan.
- ClassGraphClassLoader - Class in io.github.classgraph
-
ClassLoader
for classes found by ClassGraph during scanning. - ClassGraphClassLoader(ScanResult) - Constructor for class io.github.classgraph.ClassGraphClassLoader
-
Constructor.
- ClassGraphClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Allow for overrideClassLoaders to be called with a ClassGraphClassLoader as a parameter, so that nested scans can share a single classloader (#485).
- ClassGraphClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.ClassGraphClassLoaderHandler
-
Class cannot be constructed.
- ClassGraphException - Exception in io.github.classgraph
-
An unchecked exception that is thrown when an error state occurs or an unhandled exception is caught during scanning.
- ClassGraphException(String) - Constructor for exception io.github.classgraph.ClassGraphException
-
Constructor.
- ClassGraphException(String, Throwable) - Constructor for exception io.github.classgraph.ClassGraphException
-
Constructor.
- classInfo - Variable in class io.github.classgraph.ClassTypeSignature
-
The class info.
- classInfo - Variable in class io.github.classgraph.ScanResult.SerializationFormat
-
The list of all
ClassInfo
objects. - classInfo - Variable in class io.github.classgraph.ScanResultObject
-
The associated
ClassInfo
object. - ClassInfo - Class in io.github.classgraph
-
Holds metadata about a class encountered during a scan.
- ClassInfo() - Constructor for class io.github.classgraph.ClassInfo
-
Default constructor for deserialization.
- ClassInfo(String, int, Resource) - Constructor for class io.github.classgraph.ClassInfo
-
Constructor.
- ClassInfo.ClassType - Enum in io.github.classgraph
-
The class type to return.
- ClassInfo.ReachableAndDirectlyRelatedClasses - Class in io.github.classgraph
-
A set of classes that indirectly reachable through a directed path, for a given relationship type, and a set of classes that is directly related (only one relationship step away).
- ClassInfo.RelType - Enum in io.github.classgraph
-
How classes are related.
- 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(ClassInfo.ReachableAndDirectlyRelatedClasses, boolean) - Constructor for class io.github.classgraph.ClassInfoList
-
Construct a modifiable list of
ClassInfo
objects. - ClassInfoList(Collection<ClassInfo>) - Constructor for class io.github.classgraph.ClassInfoList
-
Construct a new modifiable empty
ClassInfoList
, given an initial list ofClassInfo
objects. - ClassInfoList(Set<ClassInfo>, boolean) - Constructor for class io.github.classgraph.ClassInfoList
-
Construct a modifiable list of
ClassInfo
objects, where each class is directly related. - ClassInfoList(Set<ClassInfo>, Set<ClassInfo>, boolean) - Constructor for class io.github.classgraph.ClassInfoList
-
Construct a modifiable list of
ClassInfo
objects, consisting of reachable classes (obtained through the transitive closure) and directly related classes (one step away in the graph). - ClassInfoList.ClassInfoFilter - Interface in io.github.classgraph
-
Filter a
ClassInfoList
using a predicate mapping aClassInfo
object to a boolean, producing anotherClassInfoList
for all items in the list for which the predicate is true. - classInfoSet - Variable in class io.github.classgraph.ModuleInfo
-
Set of classes in the module.
- classLoader - Variable in class io.github.classgraph.ClassInfo
-
The classloader this class was obtained from.
- classLoader - Variable in class io.github.classgraph.ClasspathElement
-
The classloader that this classpath element was obtained from.
- classLoader - Variable in class io.github.classgraph.ModuleRef
-
The ClassLoader that loads classes in the module.
- classLoader - Variable in class io.github.classgraph.Scanner.ClasspathEntryWorkUnit
-
The classloader the classpath entry object was obtained from.
- 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.
- ClassLoaderFinder(ScanSpec, ReflectionUtils, LogNode) - Constructor for class nonapi.io.github.classgraph.classpath.ClassLoaderFinder
-
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() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
-
Constructor.
- ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry - Class in nonapi.io.github.classgraph.classloaderhandler
-
A list of fully-qualified ClassLoader class names paired with the ClassLoaderHandler that can handle them.
- ClassLoaderHandlerRegistryEntry(Class<? extends ClassLoaderHandler>) - Constructor for class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
Constructor.
- classLoaderOrder - Variable in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
-
The
ClassLoader
order. - 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
- classLoaderOrderRespectingParentDelegation - Variable in class nonapi.io.github.classgraph.classpath.ClasspathFinder
-
The default order in which ClassLoaders are called to load classes, respecting parent-first/parent-last delegation order.
- classLoaderToClassLoaderHandlerRegistryEntry - Variable in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
-
A map from
ClassLoader
toClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
. - ClassMemberCache(Class<?>) - Constructor for class nonapi.io.github.classgraph.reflection.ReflectionDriver.ClassMemberCache
- ClassMemberInfo - Class in io.github.classgraph
-
Holds metadata about class members of a class encountered during a scan.
- ClassMemberInfo() - Constructor for class io.github.classgraph.ClassMemberInfo
-
Default constructor for deserialization.
- ClassMemberInfo(String, String, int, String, String, AnnotationInfoList) - Constructor for class io.github.classgraph.ClassMemberInfo
-
Constructor.
- classModifiers - Variable in class io.github.classgraph.Classfile
-
The class modifiers.
- className - Variable in class io.github.classgraph.AnnotationClassRef
-
The class name.
- className - Variable in class io.github.classgraph.AnnotationEnumValue
-
The class name.
- className - Variable in class io.github.classgraph.ArrayTypeSignature
-
Human-readable class name, e.g.
- className - Variable in class io.github.classgraph.Classfile
-
The name of the class.
- className - Variable in class io.github.classgraph.ClassRefTypeSignature
-
The class name.
- classNamesScheduledForExtendedScanning - Variable in class io.github.classgraph.Classfile
-
The names of external (non-accepted) classes scheduled for extended scanning (where scanning is extended upwards to superclasses, interfaces and annotations).
- classNamesScheduledForExtendedScanning - Variable in class io.github.classgraph.Scanner.ClassfileScannerWorkUnitProcessor
-
The names of external (non-accepted) classes scheduled for extended scanning (where scanning is extended upwards to superclasses, interfaces and annotations).
- 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.
- classNameToClassInfo - Variable in class io.github.classgraph.ScanResult
-
The map from class name to
ClassInfo
. - 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 '/').
- classpath - Variable in class io.github.classgraph.ScanResult.SerializationFormat
-
The classpath, as a list of URL strings.
- classpathClassLoader - Variable in class io.github.classgraph.ClassGraphClassLoader
-
A
URLClassLoader
consisting of URLs on the classpath. - 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.
- classpathElement - Variable in class io.github.classgraph.Classfile
-
The classpath element that contains this classfile.
- classpathElement - Variable in class io.github.classgraph.ClassInfo
-
The classpath element that this class was found within.
- classpathElement - Variable in class io.github.classgraph.ModuleInfo
-
The classpath element.
- classpathElement - Variable in class io.github.classgraph.Resource
-
The classpath element this resource was obtained from.
- classpathElement - Variable in class io.github.classgraph.Scanner.ClassfileScanWorkUnit
-
The classpath element.
- ClasspathElement - Class in io.github.classgraph
-
A classpath element (a directory or jarfile on the classpath).
- ClasspathElement(Scanner.ClasspathEntryWorkUnit, ScanSpec) - Constructor for class io.github.classgraph.ClasspathElement
-
A classpath element.
- ClasspathElementDir - Class in io.github.classgraph
-
A directory classpath element, using the
Path
API. - ClasspathElementDir(Scanner.ClasspathEntryWorkUnit, NestedJarHandler, ScanSpec) - Constructor for class io.github.classgraph.ClasspathElementDir
-
A directory classpath element.
- classpathElementFilters - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
If non-null, a list of filter operations to apply to classpath elements.
- classpathElementIdx - Variable in class io.github.classgraph.ClasspathElement
-
The index of the classpath element within the classpath or module path.
- classpathElementIdxWithinParent - Variable in class io.github.classgraph.ClasspathElement
-
The index of the classpath element within the parent classpath element (e.g.
- classpathElementIdxWithinParent - Variable in class io.github.classgraph.Scanner.ClasspathEntryWorkUnit
-
The order within the parent classpath element.
- ClasspathElementModule - Class in io.github.classgraph
-
A module classpath element.
- ClasspathElementModule(ModuleRef, SingletonMap<ModuleRef, Recycler<ModuleReaderProxy, IOException>, IOException>, Scanner.ClasspathEntryWorkUnit, ScanSpec) - Constructor for class io.github.classgraph.ClasspathElementModule
-
A zip/jarfile classpath element.
- classpathElementResourcePathAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
Classpath element resource path accept/reject criteria.
- ClasspathElementZip - Class in io.github.classgraph
-
A zip/jarfile classpath element.
- ClasspathElementZip(Scanner.ClasspathEntryWorkUnit, NestedJarHandler, ScanSpec) - Constructor for class io.github.classgraph.ClasspathElementZip
-
A jarfile classpath element.
- classpathEltPath - Variable in class io.github.classgraph.ClasspathElementDir
-
The directory at the root of the classpath element.
- ClasspathEntry(Object, ClassLoader) - Constructor for class nonapi.io.github.classgraph.classpath.ClasspathOrder.ClasspathEntry
-
Constructor.
- classpathEntryObj - Variable in class io.github.classgraph.Scanner.ClasspathEntryWorkUnit
-
The classpath entry object (a
String
path,Path
,URL
orURI
). - classpathEntryObj - Variable in class nonapi.io.github.classgraph.classpath.ClasspathOrder.ClasspathEntry
-
The classpath entry object (a
String
path,Path
,URL
orURI
). - classpathEntryObjToClasspathEntrySingletonMap - Variable in class io.github.classgraph.Scanner
-
A singleton map used to eliminate creation of duplicate
ClasspathElement
objects, to reduce the chance that resources are scanned twice, by mapping canonicalized Path objects, URLs, etc. - classpathEntryUniqueResolvedPaths - Variable in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Unique classpath entries.
- ClasspathEntryWorkUnit(Object, ClassLoader, ClasspathElement, int, String) - Constructor for class io.github.classgraph.Scanner.ClasspathEntryWorkUnit
-
Constructor.
- classpathFinder - Variable in class io.github.classgraph.Scanner
-
The classpath finder.
- classpathFinder - Variable in class io.github.classgraph.ScanResult
-
The
ClasspathFinder
. - 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 - Variable in class io.github.classgraph.Classfile
-
The classpath order.
- classpathOrder - Variable in class io.github.classgraph.Scanner.ClassfileScannerWorkUnitProcessor
-
The classpath order.
- classpathOrder - Variable in class io.github.classgraph.ScanResult
-
The order of classpath elements, after inner jars have been extracted to temporary files, etc.
- classpathOrder - Variable in class nonapi.io.github.classgraph.classpath.ClasspathFinder
-
The classpath order.
- ClasspathOrder - Class in nonapi.io.github.classgraph.classpath
-
A class to find the unique ordered classpath elements.
- ClasspathOrder(ScanSpec, ReflectionUtils) - Constructor for class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Constructor.
- ClasspathOrder.ClasspathEntry - Class in nonapi.io.github.classgraph.classpath
-
A classpath element and the
ClassLoader
it was obtained from. - classpathRoots - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
A set of classpath roots found in the classpath for this zipfile.
- classRef - Variable in class io.github.classgraph.ScanResultObject
-
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).
- ClassRefTypeSignature(String, List<TypeArgument>, List<String>, List<List<TypeArgument>>) - Constructor for class io.github.classgraph.ClassRefTypeSignature
-
Constructor.
- classToClassFields - Variable in class nonapi.io.github.classgraph.json.ClassFieldCache
-
The map from class ref to class fields.
- classToClassMemberCache - Variable in class nonapi.io.github.classgraph.reflection.ReflectionDriver
- ClassType() - Constructor for enum io.github.classgraph.ClassInfo.ClassType
- classTypeAnnotationDecorators - Variable in class io.github.classgraph.Classfile
-
The type annotation decorators for the
ClassTypeSignature
instance. - ClassTypeSignature - Class in io.github.classgraph
-
A class type signature (called "ClassSignature" in the classfile documentation).
- ClassTypeSignature(ClassInfo, ClassInfo, ClassInfoList) - Constructor for class io.github.classgraph.ClassTypeSignature
-
Constructor used to create synthetic class type descriptor (#662).
- ClassTypeSignature(ClassInfo, List<TypeParameter>, ClassRefTypeSignature, List<ClassRefTypeSignature>, List<ClassRefOrTypeVariableSignature>) - Constructor for class io.github.classgraph.ClassTypeSignature
-
Constructor.
- cleanerCleanMethod - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
-
The Cleaner.clean() method.
- clear() - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- 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 thisResourceList
. - close() - Method in class io.github.classgraph.ScanResult
-
Free any temporary files created by extracting jars or files from within jars.
- close() - Method in class nonapi.io.github.classgraph.concurrency.AutoCloseableExecutorService
-
Shut down thread pool on close().
- close() - Method in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
Completion barrier for work queue.
- close() - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler.CloseableUrlConnection
- close() - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler.RecyclableInflater
-
Called when the
Recycler
instance is closed, to destroy theInflater
instance. - 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 theCloseable
interface, releasing theByteBuffer
when it is no longer needed. - CloseableByteBuffer(ByteBuffer, Runnable) - Constructor for class io.github.classgraph.CloseableByteBuffer
-
A wrapper for
ByteBuffer
that implements theCloseable
interface, releasing theByteBuffer
when it is no longer needed. - CloseableUrlConnection(URL) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler.CloseableUrlConnection
- closeAll() - Static method in class io.github.classgraph.ScanResult
-
Close all
ScanResult
instances that have not yet been closed. - closed - Variable in class io.github.classgraph.ScanResult
-
If true, this ScanResult has already been closed.
- closed - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
True if
NestedJarHandler.close(LogNode)
has been called. - 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 aMappedByteBuffer
. - closeDirectByteBufferPrivileged(ByteBuffer, LogNode) - Static method in class nonapi.io.github.classgraph.utils.FileUtils
-
Close a direct byte buffer (run in doPrivileged).
- CollectionUtils - Class in nonapi.io.github.classgraph.utils
-
Collection utilities.
- CollectionUtils() - Constructor for class nonapi.io.github.classgraph.utils.CollectionUtils
-
Class can't be constructed.
- collectorClass - Static variable in class io.github.classgraph.ModuleReaderProxy
-
Class
collectorClass = Class.forName("java.util.stream.Collector"); - collectorsToList - Static variable in class io.github.classgraph.ModuleReaderProxy
-
Collector
- 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(ClasspathElement) - Method in class io.github.classgraph.ClasspathElement
-
Sort in increasing order of classpathElementIdxWithinParent.
- 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.
- conn - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler.CloseableUrlConnection
- constantInitializerValue - Variable in class io.github.classgraph.FieldInfo
-
The constant initializer value for the field, if any.
- constantPoolStringEquals(int, String) - Method in class io.github.classgraph.Classfile
-
Compare a string in the constant pool with a given ASCII string, without constructing the constant pool String object.
- constructorForConcreteTypeWithSizeHint - Variable in class nonapi.io.github.classgraph.json.ClassFieldCache
-
The constructor with size hint for each concrete type.
- constructorForFieldTypeWithSizeHint - Variable in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
The constructor with int-valued size hint for the type of the field, or null if this is not a Collection or Map.
- CONTAINED_WITHIN_OUTER_CLASS - io.github.classgraph.ClassInfo.RelType
-
Indicates that an outer class contains this one.
- containingMethodSignature - Variable in class io.github.classgraph.TypeVariableSignature
-
The method signature that this type variable is part of.
- CONTAINS_INNER_CLASS - io.github.classgraph.ClassInfo.RelType
-
Indicates that an inner class is contained within this one.
- 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.
- containsSpecificallyAcceptedClasspathElementResourcePath - Variable in class io.github.classgraph.ClasspathElement
-
True if classpath element contains a specifically-accepted resource path.
- contextClassLoaders - Variable in class nonapi.io.github.classgraph.classpath.ClassLoaderFinder
-
The context class loaders.
- convertVals(Object[], Set<ReferenceEqualityKey<Object>>, Set<ReferenceEqualityKey<Object>>, ClassFieldCache, Map<ReferenceEqualityKey<Object>, JSONObject>, boolean) - Static method in class nonapi.io.github.classgraph.json.JSONSerializer
-
Take an array of object values, and recursively convert them (in place) into JSON values.
- convertWrapperArraysToPrimitiveArrays() - Method in class io.github.classgraph.AnnotationInfo
-
Convert wrapper arrays to primitive arrays.
- convertWrapperArraysToPrimitiveArrays(ClassInfo) - Method in class io.github.classgraph.AnnotationParameterValue
-
For primitive array type params, replace Object[] arrays containing boxed types with primitive arrays (need to check the type of each method of the annotation class to determine if it is a primitive array type).
- convertWrapperArraysToPrimitiveArrays(ClassInfo) - Method in class io.github.classgraph.AnnotationParameterValueList
-
For primitive array type params, replace Object[] arrays containing boxed types with primitive arrays (need to check the type of each method of the annotation class to determine if it is a primitive array type).
- convertWrapperArraysToPrimitiveArrays(ClassInfo, String) - Method in class io.github.classgraph.ObjectTypedValueWrapper
-
Replace Object[] arrays containing boxed types with primitive arrays.
- cpCount - Variable in class io.github.classgraph.Classfile
-
The number of constant pool entries plus one.
- cpReadInt(int) - Method in class io.github.classgraph.Classfile
-
Read an int from the constant pool.
- cpReadLong(int) - Method in class io.github.classgraph.Classfile
-
Read a long from the constant pool.
- currDirPath - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
-
The current directory path (only reads the current directory once, the first time this field is accessed, so will not reflect subsequent changes to the current directory).
- 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).
- CURRENT_SERIALIZATION_FORMAT - Static variable in class io.github.classgraph.ScanResult
-
The current serialization format.
- currIdx - Variable in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
The current read index within the slice.
- 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.
- CxfContainerClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
ClassLoaderHandler that is able to extract the URLs from a CxfContainerClassLoader.
- CxfContainerClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.CxfContainerClassLoaderHandler
-
Class cannot be constructed.
D
- daemon - Variable in class nonapi.io.github.classgraph.concurrency.SimpleThreadFactory
-
Whether to set daemon mode.
- DASH_VERSION - Static variable in class nonapi.io.github.classgraph.utils.JarUtils
-
The Constant DASH_VERSION.
- dateTimeFormatter - Static variable in class nonapi.io.github.classgraph.utils.LogNode
-
The date/time formatter (not threadsafe).
- 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.
- decorate(ClassTypeSignature) - Method in interface io.github.classgraph.Classfile.ClassTypeAnnotationDecorator
- decorate(MethodTypeSignature) - Method in interface io.github.classgraph.Classfile.MethodTypeAnnotationDecorator
- decorate(TypeSignature) - Method in interface io.github.classgraph.Classfile.TypeAnnotationDecorator
- DEFAULT_BUFFER_SIZE - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
The default size of a file buffer.
- DEFAULT_NUM_WORKER_THREADS - Static variable in class io.github.classgraph.ClassGraph
-
The default number of worker threads to use while scanning.
- defaultConstructorForConcreteType - Variable in class nonapi.io.github.classgraph.json.ClassFieldCache
-
The default constructor for each concrete type.
- defaultConstructorForFieldType - Variable in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
The default (no-arg) constructor for the type of the field, or null if this is a primitive field, or if intConstructorForFieldType is non-null.
- definingClassName - Variable in class io.github.classgraph.TypeVariableSignature
-
The name of the class that this type variable is defined in.
- delegateClassGraphClassLoader - Variable 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 theClassGraphClassLoader
of the current scan, so that classes are compatible between nested scans (#485). - delegatedTo - Variable in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
-
The set of all
ClassLoader
instances that have been delegated to so far, to prevent an infinite loop in delegation. - delegateTo(ClassLoader, boolean, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
-
Recursively delegate to another
ClassLoader
. - derivedAutomaticModuleName - Variable in class io.github.classgraph.ClasspathElementZip
-
The automatic module name, derived from the jarfile filename.
- derivedAutomaticModuleName(String) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
-
Derive automatic module name from jar name, using this algorithm.
- descriptor - Variable in class io.github.classgraph.ModuleRef
-
The ModuleDescriptor for the module.
- deserializeObject(Class<T>, String) - Static method in class nonapi.io.github.classgraph.json.JSONDeserializer
-
Deserialize JSON to a new object graph, with the root object of the specified expected type.
- deserializeObject(Class<T>, 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, using or reusing the given type cache.
- deserializeObject(Class<T>, 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.
- directByteBufferCleanerMethod - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
-
The DirectByteBuffer.cleaner() method.
- directlyRelatedAnnotations - Variable in class io.github.classgraph.AnnotationInfoList
-
The set of annotations directly related to a class or method and not inherited through a meta-annotated annotation.
- directlyRelatedClasses - Variable in class io.github.classgraph.ClassInfo.ReachableAndDirectlyRelatedClasses
-
The directly related classes.
- directlyRelatedClasses - Variable in class io.github.classgraph.ClassInfoList
-
Directly related classes.
- 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<T>) - 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).
- doPrivileged(Callable<T>) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
-
Call a method in the AccessController.doPrivileged(PrivilegedAction) context, using reflection, if possible (AccessController is deprecated in JDK 17).
- DOUBLE - nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
Double type.
- doubleArrayValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Double array value.
- doubleValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Double value.
- downloadJarFromURL(String, LogNode) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
Download a jar from a URL to a temporary file, or to a ByteBuffer if the temporary directory is not writeable or full.
- driver - Variable in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
E
- elapsedTimeNanos - Variable in class nonapi.io.github.classgraph.utils.LogNode
-
The time between when this log entry was created and addElapsedTime() was called.
- elementClassInfo - Variable in class io.github.classgraph.ArrayClassInfo
-
The element class info.
- elementClassRef - Variable in class io.github.classgraph.ArrayTypeSignature
-
The element class.
- EMPTY_LIST - Static variable in class io.github.classgraph.AnnotationInfoList
-
An unmodifiable empty
AnnotationInfoList
. - EMPTY_LIST - Static variable in class io.github.classgraph.AnnotationParameterValueList
-
An unmodifiable empty
AnnotationParameterValueList
. - EMPTY_LIST - Static variable in class io.github.classgraph.ClassInfoList
-
An unmodifiable empty
ClassInfoList
. - EMPTY_LIST - Static variable in class io.github.classgraph.FieldInfoList
-
An unmodifiable empty
FieldInfoList
. - EMPTY_LIST - Static variable in class io.github.classgraph.MethodInfoList
-
An unmodifiable empty
MethodInfoList
. - EMPTY_LIST - Static variable in class io.github.classgraph.PackageInfoList
-
An unmodifiable
PackageInfoList
. - EMPTY_LIST - Static variable in class io.github.classgraph.ResourceList
-
An unmodifiable empty
ResourceList
. - 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 theScanResult
. - 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()
orScanResult.getReverseClassDependencyMap()
. - enableMemoryMapping - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
If true, use a
MappedByteBuffer
rather than theFileChannel
API to access file content. - enableMemoryMapping() - Method in class io.github.classgraph.ClassGraph
-
If true, use a
MappedByteBuffer
rather than theFileChannel
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.fastzipfilereader.LogicalZipFile
-
If true, multi-release versions should not be stripped in resource names.
- 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.
- 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.
- entryOffset - Variable in class io.github.classgraph.Classfile
-
The byte offset for the beginning of each entry in the constant pool.
- entryTag - Variable in class io.github.classgraph.Classfile
-
The tag (type) for each entry in the constant pool.
- ENUM - io.github.classgraph.ClassInfo.ClassType
-
An enum.
- environmentClassLoaderDelegationOrder - Variable in class io.github.classgraph.ClassGraphClassLoader
-
The ordered set of environment classloaders to try delegating to.
- 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.ClasspathElementDir
- equals(Object) - Method in class io.github.classgraph.ClasspathElementModule
-
Equals.
- equals(Object) - Method in class io.github.classgraph.ClasspathElementZip
- 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.ObjectTypedValueWrapper
- equals(Object) - Method in class io.github.classgraph.PackageInfo
- equals(Object) - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- 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.PhysicalZipFile
- 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.ParameterizedTypeImpl
- 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
- EquinoxClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Eclipse Equinox ClassLoader.
- EquinoxClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
-
Class cannot be constructed.
- EquinoxContextFinderClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Eclipse Equinox ContextFinder ClassLoader.
- EquinoxContextFinderClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.EquinoxContextFinderClassLoaderHandler
-
Class cannot be constructed.
- escapeJSONString(String) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Escape a string to be surrounded in double quotes in JSON.
- escapeJSONString(String, StringBuilder) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Escape a string to be surrounded in double quotes in JSON.
- exclude(ClassInfoList) - Method in class io.github.classgraph.ClassInfoList
-
Find the set difference between this
ClassInfoList
and anotherClassInfoList
, i.e. - executorService - Variable in class io.github.classgraph.Scanner
-
The executor service.
- expect(char) - Method in class nonapi.io.github.classgraph.types.Parser
-
Expect the next character.
- EXTENDS - io.github.classgraph.TypeArgument.Wildcard
-
extends.
- extendScanningUpwards(LogNode) - Method in class io.github.classgraph.Classfile
-
Check if scanning needs to be extended upwards to an external superclass, interface or annotation.
- extendScanningUpwardsFromAnnotationParameterValues(Object, LogNode) - Method in class io.github.classgraph.Classfile
-
Check if scanning needs to be extended upwards from an annotation parameter value.
- 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
- failureHandler - Variable in class io.github.classgraph.Scanner
-
The failure handler.
- FALLBACK_HANDLER - Static variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry
-
Fallback ClassLoaderHandler.
- FallbackClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Fallback ClassLoaderHandler.
- FallbackClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.FallbackClassLoaderHandler
-
Class cannot be constructed.
- FastPathResolver - Class in nonapi.io.github.classgraph.utils
-
Resolve relative paths and URLs/URIs against a base path in a way that is faster than Java's URL/URI parser (and much faster than Path), while aiming for cross-platform compatibility, and hopefully in particular being robust to the many forms of Windows path weirdness.
- FastPathResolver() - Constructor for class nonapi.io.github.classgraph.utils.FastPathResolver
-
Constructor.
- FastZipEntry - Class in nonapi.io.github.classgraph.fastzipfilereader
-
A zip entry within a
LogicalZipFile
. - FastZipEntry(LogicalZipFile, long, String, boolean, long, long, long, int, int, int, boolean) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
Constructor.
- fastZipEntryToZipFileSliceMap - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
A singleton map from a
FastZipEntry
to theZipFileSlice
wrapping either the zip entry data, if the entry is stored, or a ByteBuffer, if the zip entry was inflated to memory, or a physical file on disk if the zip entry was inflated to a temporary file. - FelixClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Custom Class Loader Handler for OSGi Felix ClassLoader.
- FelixClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
-
Class cannot be constructed.
- field - Variable in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
The field.
- FIELD - nonapi.io.github.classgraph.types.TypeUtils.ModifierType
-
The modifier bits apply to a field.
- FIELD_ANNOTATIONS - io.github.classgraph.ClassInfo.RelType
-
Annotations on one or more fields of this class.
- FIELD_NAME_ORDER_COMPARATOR - Static variable in class nonapi.io.github.classgraph.json.ClassFields
-
Used to sort fields into deterministic order.
- FIELD_NAMES - Static variable in class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
-
Field names.
- fieldInfo - Variable in class io.github.classgraph.ClassInfo
-
Info on fields.
- FieldInfo - Class in io.github.classgraph
-
Holds metadata about fields of a class encountered during a scan.
- FieldInfo() - Constructor for class io.github.classgraph.FieldInfo
-
Default constructor for deserialization.
- FieldInfo(String, String, int, String, String, Object, AnnotationInfoList, List<Classfile.TypeAnnotationDecorator>) - Constructor for class io.github.classgraph.FieldInfo
-
Constructor.
- fieldInfoList - Variable in class io.github.classgraph.Classfile
-
The field info list.
- 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<FieldInfo>) - Constructor for class io.github.classgraph.FieldInfoList
-
Construct a new modifiable empty
FieldInfoList
, given an initial list ofFieldInfo
objects. - FieldInfoList.FieldInfoFilter - Interface in io.github.classgraph
-
Filter an
FieldInfoList
using a predicate mapping anFieldInfo
object to a boolean, producing anotherFieldInfoList
for all items in the list for which the predicate is true. - fieldIsSerializable(Field, boolean, ReflectionUtils) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Check if a field is serializable.
- fieldNameToField - Variable in class nonapi.io.github.classgraph.reflection.ReflectionDriver.ClassMemberCache
- fieldNameToFieldTypeInfo - Variable in class nonapi.io.github.classgraph.json.ClassFields
-
Map from field name to field and resolved type.
- fieldOrder - Variable in class nonapi.io.github.classgraph.json.ClassFields
-
The list of fields that can be (de)serialized (non-final, non-transient, non-synthetic, accessible), and their corresponding resolved (concrete) types.
- fields - Variable in class io.github.classgraph.ModulePathInfo
-
The fields.
- FieldTypeInfo - Class in nonapi.io.github.classgraph.json
-
Information on the type of a field.
- FieldTypeInfo(Field, Type, ClassFieldCache) - Constructor for class nonapi.io.github.classgraph.json.FieldTypeInfo
-
Constructor.
- FieldTypeInfo.PrimitiveType - Enum in nonapi.io.github.classgraph.json
-
The Enum PrimitiveType.
- fieldTypePartiallyResolved - Variable in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
The type of the field after any concrete type arguments of a specific subclass have been substituted into type parameter variables.
- file - Variable in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
The
File
backing thisPhysicalZipFile
, if any. - 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.
- fileChannel - Variable in class nonapi.io.github.classgraph.fileslice.FileSlice
-
The file channel.
- fileChannel - Variable in class nonapi.io.github.classgraph.fileslice.PathSlice
-
The
FileChannel
opened on thePath
. - fileChannel - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
-
The file channel.
- fileLength - Variable in class nonapi.io.github.classgraph.fileslice.FileSlice
-
The file length.
- fileLength - Variable in class nonapi.io.github.classgraph.fileslice.PathSlice
-
The file length.
- 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.
- FileSlice(FileSlice, long, long, boolean, long, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fileslice.FileSlice
-
Constructor for treating a range of a file as a slice.
- fileToLastModified - Variable in class io.github.classgraph.ClasspathElement
-
The map from File to last modified timestamp, if scanFiles is true.
- fileToLastModified - Variable in class io.github.classgraph.ScanResult
-
The file, directory and jarfile resources timestamped during a scan, along with their timestamp at the time of the scan.
- FileUtils - Class in nonapi.io.github.classgraph.utils
-
File utilities.
- FileUtils() - Constructor for class nonapi.io.github.classgraph.utils.FileUtils
-
Constructor.
- fillInStackTrace() - Method in exception io.github.classgraph.Classfile.ClassfileFormatException
-
Speed up exception (stack trace is not needed for this exception).
- fillInStackTrace() - Method in exception io.github.classgraph.Classfile.SkipClassException
-
Speed up exception (stack trace is not needed for this exception).
- 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. - filter(URL, String) - Method in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Test to see if a classpath element has been filtered out by the user.
- filterClassInfo(ClassInfo.RelType, boolean, ClassInfo.ClassType...) - Method in class io.github.classgraph.ClassInfo
-
Get the classes related to this one (the transitive closure) for the given relationship type, and those directly related.
- filterClassInfo(Collection<ClassInfo>, ScanSpec, boolean, ClassInfo.ClassType...) - Static method in class io.github.classgraph.ClassInfo
-
Filter classes according to scan spec and class type.
- 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 - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- findClass(String) - Method in class io.github.classgraph.ClassGraphClassLoader
- findClass(String) - Method in interface nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver.ClassFinder
- findClass(String) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- findClass(String) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- findClass(String) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Find a class by name.
- findClass(String) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.AntClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.ClassGraphClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - 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
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.CxfContainerClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxContextFinderClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.FallbackClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.JPMSClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.OSGiDefaultClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.ParentLastDelegationOrderTestClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.PlexusClassWorldsClassRealmClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler
-
Find classloader order.
- findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.SpringBootRestartClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.TomcatWebappClassLoaderBaseHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.UnoOneJarClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.URLClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WeblogicClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrder(ClassLoader, ClassLoaderOrder, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereTraditionalClassLoaderHandler
-
Find the
ClassLoader
delegation order for aClassLoader
. - findClassLoaderOrderMethod - Variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
findClassLoaderOrder method.
- findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.AntClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.ClassGraphClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - 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
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.CxfContainerClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.EquinoxContextFinderClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.FallbackClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.JPMSClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.OSGiDefaultClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.ParentLastDelegationOrderTestClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.PlexusClassWorldsClassRealmClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.SpringBootRestartClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.TomcatWebappClassLoaderBaseHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.UnoOneJarClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.URLClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WeblogicClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereTraditionalClassLoaderHandler
-
Find the classpath entries for the associated
ClassLoader
. - findClasspathOrder(Set<ClasspathElement>) - Method in class io.github.classgraph.Scanner
-
Recursively perform a depth-first traversal of child classpath elements, breaking cycles if necessary, to determine the final classpath element order.
- findClasspathOrderForQuarkusClassloader(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler
- findClasspathOrderForRunnerClassloader(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler
- findClasspathOrderForRuntimeClassloader(ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler
- findClasspathOrderMethod - Variable in class nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry
-
findClasspathOrder method.
- findClasspathOrderRec(ClasspathElement, Set<ClasspathElement>, List<ClasspathElement>) - Static method in class io.github.classgraph.Scanner
-
Recursively perform a depth-first search of jar interdependencies, breaking cycles if necessary, to determine the final classpath element order.
- findDuplicatePaths() - Method in class io.github.classgraph.ResourceList
-
Find duplicate resource paths within this
ResourceList
. - findField(Class<?>, Object, String) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get the field of the class that has a given field name.
- findInstanceField(Object, String) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get the non-static field of the class that has a given field name.
- findInstanceMethod(Object, String, Class<?>...) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get a non-static method by name and parameter types.
- findLayerOrder(Object, Set<Object>, Set<Object>, Deque<Object>) - Method in class nonapi.io.github.classgraph.classpath.ModuleFinder
-
Recursively find the topological sort order of ancestral layers.
- findMetaAnnotations(AnnotationInfo, AnnotationInfoList, Set<ClassInfo>) - Static method in class io.github.classgraph.AnnotationInfoList
-
Find the transitive closure of meta-annotations.
- findMethod(Class<?>, Object, String, Class<?>...) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get a method by name and parameter types.
- findModuleRefs(LinkedHashSet<Object>, ScanSpec, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ModuleFinder
-
Get all visible ModuleReferences in a list of layers.
- findModuleRefsFromCallstack(Class<?>[], ScanSpec, boolean, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ModuleFinder
-
Get all visible ModuleReferences in all layers, given an array of stack frame
Class<?>
references. - findNestedClasspathElements(List<AbstractMap.SimpleEntry<String, ClasspathElement>>, LogNode) - Method in class io.github.classgraph.Scanner
-
Find classpath elements whose path is a prefix of another classpath element, and record the nesting.
- findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.AnnotationInfo
-
Get
ClassInfo
objects for any classes referenced in the type descriptor or type signature. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.AnnotationInfoList
-
Get
ClassInfo
objects for any classes referenced in this list. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.AnnotationParameterValue
-
Get
ClassInfo
objects for any classes referenced in the annotation parameters. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.AnnotationParameterValueList
-
Get
ClassInfo
objects for any classes referenced in the methods in this list. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.ArrayClassInfo
-
Get
ClassInfo
objects for any classes referenced in the type descriptor or type signature. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, 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<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.ClassTypeSignature
-
Get
ClassInfo
objects for any classes referenced in the type descriptor or type signature. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.FieldInfo
-
Get
ClassInfo
objects for any classes referenced in the type descriptor or type signature. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.FieldInfoList
-
Get
ClassInfo
objects for any classes referenced in the list. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.MethodInfo
-
Get
ClassInfo
objects for any classes referenced in the type descriptor or type signature. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.MethodInfoList
-
Get
ClassInfo
objects for any classes referenced in the type descriptor or type signature. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.MethodTypeSignature
-
Get
ClassInfo
objects for any classes referenced in the type descriptor or type signature. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.ObjectTypedValueWrapper
-
Get
ClassInfo
objects for any classes referenced in annotation parameters. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.ScanResultObject
-
Get
ClassInfo
objects for any classes referenced by this object. - findReferencedClassInfo(Map<String, ClassInfo>, Set<ClassInfo>, LogNode) - Method in class io.github.classgraph.TypeSignature
-
Get
ClassInfo
objects for any classes referenced in the type signature. - findReferencedClassInfo(LogNode) - Method in class io.github.classgraph.ScanResultObject
-
Get
ClassInfo
objects for any classes referenced by this object. - findReferencedClassNames(Set<String>) - Method in class io.github.classgraph.ArrayTypeSignature
-
Get the names of any classes referenced in the type signature.
- findReferencedClassNames(Set<String>) - Method in class io.github.classgraph.BaseTypeSignature
-
Get the names of any classes referenced in the type signature.
- findReferencedClassNames(Set<String>) - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get the names of any classes referenced in the type signature.
- findReferencedClassNames(Set<String>) - Method in class io.github.classgraph.ClassTypeSignature
-
Get the names of any classes referenced in the type signature.
- findReferencedClassNames(Set<String>) - Method in class io.github.classgraph.MethodTypeSignature
-
Get the names of any classes referenced in the type signature.
- findReferencedClassNames(Set<String>) - Method in class io.github.classgraph.TypeArgument
-
Get the names of any classes referenced in the type signature.
- findReferencedClassNames(Set<String>) - Method in class io.github.classgraph.TypeParameter
-
Get the names of any classes referenced in the type signature.
- findReferencedClassNames(Set<String>) - Method in class io.github.classgraph.TypeSignature
-
Get the names of any classes referenced in the type signature.
- findReferencedClassNames(Set<String>) - Method in class io.github.classgraph.TypeVariableSignature
-
Get the names of any classes referenced in the type signature.
- findStaticField(Class<?>, String) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get the static field of the class that has a given field name.
- findStaticMethod(Class<?>, String, Class<?>...) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get a static method by name and parameter types.
- finishScanPaths(LogNode) - Method in class io.github.classgraph.ClasspathElement
-
Called by scanPaths() after scan completion.
- FLOAT - nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
Float type.
- floatArrayValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Float array value.
- floatValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Float value.
- flush() - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Flush out the log to stderr, and clear the log contents.
- forceClose() - Method in class nonapi.io.github.classgraph.recycler.Recycler
-
Force-close this
Recycler
, by forcibly moving any instances that have been acquired but not yet recycled into the unused instances list, then callingRecycler.close()
to close anyAutoCloseable
instances and discard all instances. - forceScanJavaClassPath - Variable in class nonapi.io.github.classgraph.classpath.ModuleFinder
-
If true, must forcibly scan
java.class.path
, since there was an anonymous module layer. - 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
-
Deprecated.
- 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 thisResourceList
as a byte array, pass the byte array to the givenResourceList.ByteArrayConsumer
, then close the underlying InputStream or release the underlying ByteBuffer by callingResource.close()
for eachResource
. - forEachByteArrayThrowingIOException(ResourceList.ByteArrayConsumerThrowsIOException) - Method in class io.github.classgraph.ResourceList
-
Fetch the content of each
Resource
in thisResourceList
as a byte array, pass the byte array to the givenResourceList.ByteArrayConsumer
, then close the underlying InputStream or release the underlying ByteBuffer by callingResource.close()
. - forEachByteBuffer(ResourceList.ByteBufferConsumer) - Method in class io.github.classgraph.ResourceList
-
Deprecated.
- 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 thisResourceList
as aByteBuffer
, pass theByteBuffer
to the givenResourceList.InputStreamConsumer
, then release theByteBuffer
after theResourceList.ByteBufferConsumer
returns, by callingResource.close()
for eachResource
. - forEachByteBufferThrowingIOException(ResourceList.ByteBufferConsumerThrowsIOException) - Method in class io.github.classgraph.ResourceList
-
Read each
Resource
in thisResourceList
as aByteBuffer
, pass theByteBuffer
to the givenResourceList.InputStreamConsumer
, then release theByteBuffer
after theResourceList.ByteBufferConsumer
returns, by callingResource.close()
. - forEachInputStream(ResourceList.InputStreamConsumer) - Method in class io.github.classgraph.ResourceList
-
Deprecated.
- 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 eachResource
in thisResourceList
, pass theInputStream
to the givenResourceList.InputStreamConsumer
, then close theInputStream
after theResourceList.InputStreamConsumer
returns, by callingResource.close()
for eachResource
. - forEachInputStreamThrowingIOException(ResourceList.InputStreamConsumerThrowsIOException) - Method in class io.github.classgraph.ResourceList
-
Fetch an
InputStream
for eachResource
in thisResourceList
, pass theInputStream
to the givenResourceList.InputStreamConsumer
, then close theInputStream
after theResourceList.InputStreamConsumer
returns, by callingResource.close()
. - format - Variable in class io.github.classgraph.ScanResult.SerializationFormat
-
The serialization format.
- fromJSON(String) - Static method in class io.github.classgraph.ScanResult
-
Deserialize a ScanResult from previously-serialized JSON.
- fullyQualifiedDefiningMethodName - Variable in class io.github.classgraph.Classfile
-
The fully qualified name of the defining method.
- fullyQualifiedDefiningMethodName - Variable in class io.github.classgraph.ClassInfo
-
The fully-qualified defining method name, for anonymous inner classes.
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(ClassInfoList, float, float, boolean, boolean, boolean, boolean, boolean, boolean, ScanSpec) - Static method in class io.github.classgraph.GraphvizDotfileGenerator
-
Generates 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
-
Deprecated.
- 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.
- generateGraphVizDotFileFromInterClassDependencies(ClassInfoList, float, float, boolean) - Static method in class io.github.classgraph.GraphvizDotfileGenerator
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- get() - Method in class io.github.classgraph.ObjectTypedValueWrapper
-
Get the value wrapped by this wrapper class.
- get() - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap.SingletonHolder
-
Get the singleton value.
- 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(Class<?>) - Method in class nonapi.io.github.classgraph.json.ClassFieldCache
-
For a given resolved type, find the visible and accessible fields, resolve the types of any generically typed fields, and return the resolved fields.
- 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(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 ofSingletonMap.newInstance(Object, LogNode)
if another thread is currently creating the new instance. - get(K, LogNode, SingletonMap.NewInstanceFactory<V, E>) - 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 ofSingletonMap.newInstance(Object, LogNode)
if another thread is currently creating the new instance. - getActualTypeArguments() - Method in class nonapi.io.github.classgraph.json.ParameterizedTypeImpl
- getAllAnnotationClasses(Collection<ClassInfo>, ScanSpec) - Static method in class io.github.classgraph.ClassInfo
-
Get all annotation classes found during the scan.
- 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.
- getAllClasses(Collection<ClassInfo>, ScanSpec) - Static method in class io.github.classgraph.ClassInfo
-
Get all classes 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. - getAllEnums(Collection<ClassInfo>, ScanSpec) - Static method in class io.github.classgraph.ClassInfo
-
Get all
Enum
classes found during the scan. - getAllImplementedInterfaceClasses(Collection<ClassInfo>, ScanSpec) - Static method in class io.github.classgraph.ClassInfo
-
Get all implemented interface (non-annotation interface) 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.
- getAllInterfacesOrAnnotationClasses(Collection<ClassInfo>, ScanSpec) - Static method in class io.github.classgraph.ClassInfo
-
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+). - getAllRecords(Collection<ClassInfo>, ScanSpec) - Static method in class io.github.classgraph.ClassInfo
-
Get all
record
classes found during the scan. - 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.
- getAllStandardClasses(Collection<ClassInfo>, ScanSpec) - Static method in class io.github.classgraph.ClassInfo
-
Get all standard classes found during the scan.
- getAllURIs() - Method in class io.github.classgraph.ClasspathElement
-
Get the URI for this classpath element, and the URIs for any automatic nested package prefixes (e.g.
- getAllURIs() - Method in class io.github.classgraph.ClasspathElementDir
- getAllURIs() - Method in class io.github.classgraph.ClasspathElementModule
- getAllURIs() - Method in class io.github.classgraph.ClasspathElementZip
-
Return URI for classpath element, plus URIs for any stripped nested automatic package root prefixes, e.g.
- getAndParseHexChar() - Method in class nonapi.io.github.classgraph.json.JSONParser
-
Get and parse a hexadecimal digit character.
- 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<? extends Annotation>) - 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<? extends Annotation>) - 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<? extends Annotation>) - 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<? extends Annotation>) - 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<? extends Annotation>) - 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<? extends Annotation>) - 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<? extends Annotation>) - 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<? extends Annotation>) - 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.
- getArrayValueClassOrName(ClassInfo, String, boolean) - Method in class io.github.classgraph.ObjectTypedValueWrapper
-
Get the element type of an array element.
- 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. - 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 ofScanResultObject
(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.
- getCallStackViaSecurityManager(LogNode) - Static method in class nonapi.io.github.classgraph.classpath.CallStackReader
-
Get the call stack via the SecurityManager.getClassContext() native method.
- getCallStackViaStackWalker() - Static method in class nonapi.io.github.classgraph.classpath.CallStackReader
-
Get the call stack via the StackWalker API (JRE 9+).
- 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.
- getClassContext(LogNode) - Method in class nonapi.io.github.classgraph.classpath.CallStackReader
-
Get the class context.
- 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. - 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).
- getClassesWithAnnotation() - Method in class io.github.classgraph.ClassInfo
-
Get the classes that have this class as an annotation.
- getClassesWithAnnotation(Class<? extends Annotation>) - 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.
- getClassesWithAnnotationDirectOnly() - Method in class io.github.classgraph.ClassInfo
-
Get the classes that have this class as a direct 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<? extends Annotation>) - 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.
- getClassesWithFieldAnnotationDirectOnly() - Method in class io.github.classgraph.ClassInfo
-
Get the classes that have this class as a direct field annotation.
- getClassesWithFieldOrMethodAnnotation(ClassInfo.RelType) - Method in class io.github.classgraph.ClassInfo
-
Get the classes that have this class as a field, method or method parameter annotation.
- 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<? extends Annotation>) - 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.
- getClassesWithMethodAnnotationDirectOnly() - Method in class io.github.classgraph.ClassInfo
-
Get the classes that have this class as a direct method annotation.
- 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<? extends Annotation>) - 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.
- getClassesWithMethodParameterAnnotationDirectOnly() - Method in class io.github.classgraph.ClassInfo
-
Get the classes that have this class as a direct method parameter annotation.
- 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.ObjectTypedValueWrapper
- 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.ScanResultObject
-
Get the
ClassInfo
object for the referenced class, or null if the referenced class was not encountered during scanning (i.e. - 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. - getClassInfoNameOrClassName() - Method in class io.github.classgraph.ScanResultObject
-
Get the class name by calling getClassInfo().getName(), or as a fallback, by calling getClassName().
- 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.ClasspathElement
-
Get the ClassLoader the classpath element was obtained from.
- 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 io.github.classgraph.ScanResult
-
Get the ClassLoader order, respecting parent-first/parent-last delegation 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.ObjectTypedValueWrapper
- getClassName() - Method in class io.github.classgraph.ScanResultObject
-
The name of the class (used by
ScanResultObject.getClassInfo()
to fetch theClassInfo
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.
- getClasspathScanResult(AutoCloseableExecutorService) - Method in class io.github.classgraph.ClassGraph
-
Get a
ScanResult
that can be used for determining the classpath. - 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.
- getConcreteType(Class<?>, boolean) - Static method in class nonapi.io.github.classgraph.json.ClassFieldCache
-
Get the concrete type for a map or collection whose raw type is an interface or abstract class.
- getConstantInitializerValue() - Method in class io.github.classgraph.FieldInfo
-
Returns the constant initializer value of a field.
- getConstantPoolClassDescriptor(int) - Method in class io.github.classgraph.Classfile
-
Get a string from the constant pool representing an internal string descriptor for a class name ("Lcom/xyz/MyClass;"), and interpret it as a class name by replacing '/' with '.', and removing the leading "L" and the trailing ";".
- getConstantPoolClassName(int) - Method in class io.github.classgraph.Classfile
-
Get a string from the constant pool, and interpret it as a class name by replacing '/' with '.'.
- getConstantPoolString(int) - Method in class io.github.classgraph.Classfile
-
Get a string from the constant pool.
- getConstantPoolString(int, boolean, boolean) - Method in class io.github.classgraph.Classfile
-
Get a string from the constant pool, optionally replacing '/' with '.'.
- getConstantPoolString(int, int) - Method in class io.github.classgraph.Classfile
-
Get a string from the constant pool.
- getConstantPoolStringFirstByte(int) - Method in class io.github.classgraph.Classfile
-
Get the first UTF8 byte of a string in the constant pool, or '\0' if the string is null or empty.
- getConstantPoolStringOffset(int, int) - Method in class io.github.classgraph.Classfile
-
Get the byte offset within the buffer of a string from the constant pool, or 0 for a null string.
- getConstructorForFieldTypeWithSizeHint(Type, ClassFieldCache) - Method in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
Get the constructor with size hint for the field type.
- getConstructorInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible constructors declared by this class, or by its interfaces or superclasses.
- getConstructorWithSizeHintForConcreteTypeOf(Class<?>) - Method in class nonapi.io.github.classgraph.json.ClassFieldCache
-
Get the concrete type of the given class, then return the constructor for that type that takes a single integer parameter (the initial size hint, for Collection or Map).
- getContentAsString() - Method in class io.github.classgraph.Resource
-
Convenience method to get the content of this
Resource
as a String. - getContentLocation(Object, ReflectionUtils) - Static method in class nonapi.io.github.classgraph.classloaderhandler.FelixClassLoaderHandler
-
Get the content location.
- 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.
- getDeclaredConstructors - Variable in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- getDeclaredConstructors - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- getDeclaredConstructors(Class<T>) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- getDeclaredConstructors(Class<T>) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- getDeclaredConstructors(Class<T>) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get declared constructors for class.
- getDeclaredConstructors(Class<T>) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- 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.
- getDeclaredFields - Variable in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- getDeclaredFields - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- getDeclaredFields(Class<?>) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- getDeclaredFields(Class<?>) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- getDeclaredFields(Class<?>) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get declared fields for class.
- getDeclaredFields(Class<?>) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- 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.
- getDeclaredMethodInfo(String, boolean, boolean, boolean) - Method in class io.github.classgraph.ClassInfo
-
Get the declared methods, constructors, and/or static initializer methods of the class.
- getDeclaredMethods - Variable in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- getDeclaredMethods - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- getDeclaredMethods(Class<?>) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- getDeclaredMethods(Class<?>) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- getDeclaredMethods(Class<?>) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get declared methods for class.
- getDeclaredMethods(Class<?>) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- getDefaultConstructorForConcreteTypeOf(Class<?>) - Method in class nonapi.io.github.classgraph.json.ClassFieldCache
-
Get the concrete type of the given class, then return the default constructor for that type.
- getDefaultConstructorForFieldType(Type, ClassFieldCache) - Method in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
Get the default constructor for the field type.
- 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 theClassGraphClassLoader
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 onlyEnum
classes. - getExecutionException() - Method in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
-
Get the
ExecutionException
that was thrown by a worker, or null if none. - getField - Variable in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- getField - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- getField(Object, Field) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- getField(Object, Field) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- getField(Object, Field) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get the value of a non-static field, boxing the value if necessary.
- getField(Object, Field) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- getFieldAnnotations() - Method in class io.github.classgraph.ClassInfo
-
Get all field annotations.
- getFieldConstantPoolValue(int, char, int) - Method in class io.github.classgraph.Classfile
-
Get a field constant from the constant pool.
- 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.
- getFieldOrMethodAnnotations(ClassInfo.RelType) - Method in class io.github.classgraph.ClassInfo
-
Get the annotations or meta-annotations on fields, methods or method parametres declared by the class, (not including fields, methods or method parameters declared by the interfaces or superclasses of this class).
- getFieldOverrideOrder() - Method in class io.github.classgraph.ClassInfo
-
Get the order that fields are overridden in (base class first).
- getFieldOverrideOrder(Set<ClassInfo>, List<ClassInfo>) - Method in class io.github.classgraph.ClassInfo
-
Recurse to interfaces and superclasses to get the order that fields are overridden in.
- 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.
- getFieldValue(Object, Field) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Get a field value, appropriately handling primitive-typed fields.
- getFile() - Method in class io.github.classgraph.ClasspathElement
-
Get the file for this classpath element, or null if this is a module with a "jrt:" URI.
- getFile() - Method in class io.github.classgraph.ClasspathElementDir
-
Get the directory
File
. - getFile() - Method in class io.github.classgraph.ClasspathElementModule
- getFile() - Method in class io.github.classgraph.ClasspathElementZip
-
Get the
File
for the outermost zipfile of this classpath element. - getFile() - Method in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
Get the
File
for the outermost jar file of this PhysicalZipFile. - 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.
- getFullyResolvedFieldType(TypeResolutions) - Method in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
Get the fully resolved field type.
- getIdentifierToken(Parser, 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. - getIndirectAnnotations(AnnotationInfoList, ClassInfo) - Static method in class io.github.classgraph.AnnotationInfoList
-
Get the indirect annotations on a class (meta-annotations and/or inherited annotations).
- getInflater() - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler.RecyclableInflater
-
Get the
Inflater
instance. - getInitialIdToObjectMap(Object, Object) - Static method in class nonapi.io.github.classgraph.json.JSONDeserializer
-
Set up the initial mapping from id to object, by adding the id of the toplevel object, if it has an id field in JSON.
- 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.
- getManifestValue(byte[], int) - Static method in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
Extract a value from the manifest, and return the value as a string, along with the index after the terminating newline.
- 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.
- getMethodInfo(String, boolean, boolean, boolean) - Method in class io.github.classgraph.ClassInfo
-
Get the methods, constructors, and/or static initializer methods of the class.
- getMethodOverrideOrder() - Method in class io.github.classgraph.ClassInfo
-
Get the order that methods are overridden in.
- getMethodOverrideOrder(Set<ClassInfo>, List<ClassInfo>) - Method in class io.github.classgraph.ClassInfo
-
Recurse to collect classes and interfaces in the order of overridden methods, in descending priority.
- 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.Use
FieldInfo.getModifiersStr()
instead. - 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. - getModuleName() - Method in class io.github.classgraph.ClasspathElement
-
Get the name of this classpath element's module, or null if there is no module name.
- getModuleName() - Method in class io.github.classgraph.ClasspathElementDir
-
Get the module name from module descriptor.
- getModuleName() - Method in class io.github.classgraph.ClasspathElementModule
-
Get the module name from the module reference or the module descriptor.
- getModuleName() - Method in class io.github.classgraph.ClasspathElementZip
-
Get module name from module descriptor, or get the automatic module name from the manifest file, or derive an automatic module name from the jar name.
- getModuleNameOrEmpty() - Method in class io.github.classgraph.ClasspathElementModule
-
Get the module name from the module reference or the module descriptor.
- 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 theAdd-Exports
andAdd-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.ClasspathElementModule
-
Get the ModuleRef for this classpath element.
- 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 amodule-info.class
file. - getModuleRef() - Method in class io.github.classgraph.Resource
- getModules() - Method in class io.github.classgraph.ClassGraph
-
Returns
ModuleRef
references for all the visible modules. - getModules() - Method in class io.github.classgraph.ScanResult
-
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. - getNumClassfileMatches() - Method in class io.github.classgraph.ClasspathElement
-
Get the number of classfile matches.
- 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.
- getOrCreateClassInfo(String, Map<String, ClassInfo>) - Static method in class io.github.classgraph.ClassInfo
-
Get a ClassInfo object, or create it if it doesn't exist.
- getOrCreatePackage(String, Map<String, PackageInfo>, ScanSpec) - Static method in class io.github.classgraph.PackageInfo
-
Get the
PackageInfo
object for the named package, creating it if it doesn't exist, and also creatingPackageInfo
objects for any needed parent packages for which aPackageInfo
has not yet been created. - 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.
- getOwnerType() - Method in class nonapi.io.github.classgraph.json.ParameterizedTypeImpl
- 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.
- getParameterTypeSignatures() - Method in class io.github.classgraph.MethodTypeSignature
-
Get the type signatures of the 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.
- getParentPackageName(String) - Static method in class io.github.classgraph.PackageInfo
-
Get the name of the parent package of a parent, or the package of the named class.
- 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.
- 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 "!/" as a separator between the parent logical zipfile and the entry name.
- getPath() - Method in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
Get the
Path
for the outermost jar file of this PhysicalZipFile. - 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.
- getPaths(Object, ReflectionUtils) - Static method in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
-
Get the paths from a containerClassLoader object.
- 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.
- getPathStr() - Method in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
Get the path for this PhysicalZipFile, which is the file path, if it is file-backed, or a compound nested jar path, if it is memory-backed.
- 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.
- 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).
- getRawType() - Method in class nonapi.io.github.classgraph.json.ParameterizedTypeImpl
- getRawType(Type) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Get the raw type from a Type.
- 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 onlyrecord
classes. - getReference() - Method in class io.github.classgraph.ModuleRef
-
Get the module reference (of JPMS type ModuleReference).
- getRegistryEntry(ClassLoader, LogNode) - Method in class nonapi.io.github.classgraph.classpath.ClassLoaderOrder
-
Find the
ClassLoaderHandler
that can handle a givenClassLoader
instance. - getRepeatable(Class<? extends Annotation>) - 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
- getResource(String) - Method in class io.github.classgraph.ClasspathElement
-
Get the
Resource
for a given relative path. - getResource(String) - Method in class io.github.classgraph.ClasspathElementDir
-
Get the
Resource
for a given relative path. - getResource(String) - Method in class io.github.classgraph.ClasspathElementModule
-
Get the
Resource
for a given relative path. - getResource(String) - Method in class io.github.classgraph.ClasspathElementZip
-
Get the
Resource
for a given relative path. - 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.
- getResourcesWithPathCallCount - Variable in class io.github.classgraph.ScanResult
-
The number of times
ScanResult.getResourcesWithPath(String)
has been called. - 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
-
Deprecated.
- 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.
- getRuntimeInfo(ReflectionUtils) - Method in class io.github.classgraph.ModulePathInfo
-
Fill in module info from VM commandline parameters.
- getSecureDocumentBuilderFactory() - Static method in class nonapi.io.github.classgraph.utils.VersionFinder
-
Helper method to provide a XXE secured DocumentBuilder Factory.
- getSecureXPathFactory() - Static method in class nonapi.io.github.classgraph.utils.VersionFinder
-
Helper method to provide a XXE secured XPathFactory Factory.
- getSimpleName() - Method in class io.github.classgraph.ClassInfo
-
Get the simple name of the class.
- getSimpleName(String) - Static method in class io.github.classgraph.ClassInfo
-
Get simple name from fully-qualified class name.
- 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
orKClass.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).
- getStaticField - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- getStaticField(Field) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- getStaticField(Field) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- getStaticField(Field) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Get the value of a static field, boxing the value if necessary.
- getStaticField(Field) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- 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.ClassTypeSignature
-
Gets the throws signatures.
- 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.
- getType(char) - Static method in class io.github.classgraph.BaseTypeSignature
-
Get the type for a type character.
- 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.
- getTypeChar(String) - Static method in class io.github.classgraph.BaseTypeSignature
-
Get the name of the type as a string.
- 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.AnnotationClassRef
-
Get the type signature.
- 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.
- getTypeStr(char) - Static method in class io.github.classgraph.BaseTypeSignature
-
Get the name of the type as a string.
- getURI() - Method in class io.github.classgraph.ClasspathElement
-
Get the URI for this classpath element.
- getURI() - Method in class io.github.classgraph.ClasspathElementDir
- getURI() - Method in class io.github.classgraph.ClasspathElementModule
- getURI() - Method in class io.github.classgraph.ClasspathElementZip
- 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 ofMappableInfoList.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}.
- getZipFilePath() - Method in class io.github.classgraph.ClasspathElementZip
-
Get the zipfile path.
- globToPattern(String, boolean) - Static method in class nonapi.io.github.classgraph.scanspec.AcceptReject
-
Convert a spec with a '*' glob character into a regular expression.
- gotRuntimeInfo - Variable in class io.github.classgraph.ModulePathInfo
-
Set to true once
#getRuntimeInfo()
is called. - GraphvizDotfileGenerator - Class in io.github.classgraph
-
Builds a class graph visualization in Graphviz .dot file format.
- GraphvizDotfileGenerator() - Constructor for class io.github.classgraph.GraphvizDotfileGenerator
-
Constructor.
H
- handleRealModule(Object, Set<Object>, ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
-
Handle a module.
- handleRepeatableAnnotations(Set<String>) - Method in class io.github.classgraph.ClassInfo
-
Handle
Repeatable
annotations. - handleRepeatableAnnotations(Set<String>) - Method in class io.github.classgraph.FieldInfo
-
Handle
Repeatable
annotations. - handleRepeatableAnnotations(Set<String>) - Method in class io.github.classgraph.MethodInfo
-
Handle
Repeatable
annotations. - handleRepeatableAnnotations(Set<String>, ClassInfo, ClassInfo.RelType, ClassInfo.RelType, ClassInfo.RelType) - Method in class io.github.classgraph.AnnotationInfoList
-
Handle
Repeatable
annotations. - handleResourceLoader(Object, ClassLoader, ClasspathOrder, ScanSpec, LogNode) - Static method in class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
-
Handle a resource loader.
- HAS_ACCEPTED_PATH_PREFIX - nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
-
Path starts with an accepted path prefix.
- HAS_REJECTED_PATH_PREFIX - nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
-
Path starts with (or is) a rejected path prefix.
- hasAnnotation(Class<? extends Annotation>) - Method in class io.github.classgraph.ClassInfo
-
Checks whether this class has the annotation.
- hasAnnotation(Class<? extends Annotation>) - Method in class io.github.classgraph.ClassMemberInfo
-
Check if the class member has a given annotation.
- hasAnnotation(Class<? extends Annotation>) - Method in class io.github.classgraph.MethodParameterInfo
-
Check whether this method parameter has the annotation.
- hasAnnotation(Class<? extends Annotation>) - Method in class io.github.classgraph.ModuleInfo
-
Check if this module has the annotation.
- hasAnnotation(Class<? extends Annotation>) - 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 - Variable in class io.github.classgraph.MethodInfo
-
True if this method has a body.
- hasBody() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method has a body (i.e.
- hasDeclaredField(String) - Method in class io.github.classgraph.ClassInfo
-
Checks whether this class has the named declared field.
- hasDeclaredFieldAnnotation(Class<? extends Annotation>) - 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<? extends Annotation>) - 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<? extends Annotation>) - 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<? extends Annotation>) - 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 - Variable in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
The cached hashCode.
- hashCode - Variable in class nonapi.io.github.classgraph.fileslice.Slice
-
The cached hashCode.
- 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.ClasspathElementDir
- hashCode() - Method in class io.github.classgraph.ClasspathElementModule
-
Hash code.
- hashCode() - Method in class io.github.classgraph.ClasspathElementZip
- 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.ObjectTypedValueWrapper
- hashCode() - Method in class io.github.classgraph.PackageInfo
- hashCode() - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- 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.PhysicalZipFile
- 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.ParameterizedTypeImpl
- 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<? extends Annotation>) - 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<? extends Annotation>) - 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<? extends Annotation>) - 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.
- hasTypeVariables(Type) - Static method in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
Check if the type has type variables.
- hasUnresolvedTypeVariables - Variable in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
True if the field still has unresolved type variables from the defining subclass.
- HEXADECIMAL - Static variable in class nonapi.io.github.classgraph.utils.URLPathEncoder
-
Hexadecimal digits.
- hexCharToInt(char) - Static method in class nonapi.io.github.classgraph.utils.FastPathResolver
-
Hex char to int.
- HierarchicalTypeSignature - Class in io.github.classgraph
-
A Java type signature.
- HierarchicalTypeSignature() - Constructor for class io.github.classgraph.HierarchicalTypeSignature
- htmlEncode(CharSequence, boolean, StringBuilder) - Static method in class io.github.classgraph.GraphvizDotfileGenerator
-
Encode HTML-unsafe characters as HTML entities.
- htmlEncode(CharSequence, StringBuilder) - Static method in class io.github.classgraph.GraphvizDotfileGenerator
-
Encode HTML-unsafe characters as HTML entities.
- HTTP_TIMEOUT - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
HTTP(S) timeout, ms.
- httpConn - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler.CloseableUrlConnection
I
- IBM_APP_CLASS_LOADER - Static variable in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
-
"com.ibm.ws.classloading.internal.AppClassLoader"
- IBM_THREAD_CONTEXT_CLASS_LOADER - Static variable in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
-
"com.ibm.ws.classloading.internal.ThreadContextClassLoader"
- 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.
- ID_KEY - Static variable in class nonapi.io.github.classgraph.json.JSONUtils
-
JSON object key name for objects that are linked to from more than one object.
- ID_PREFIX - Static variable in class nonapi.io.github.classgraph.json.JSONUtils
-
JSON object reference id prefix.
- ID_SUFFIX - Static variable in class nonapi.io.github.classgraph.json.JSONUtils
-
JSON object reference id suffix.
- idField - Variable in class nonapi.io.github.classgraph.json.ClassFields
-
If non-null, this is the field that has an
Id
annotation. - idObject - Variable in class nonapi.io.github.classgraph.json.JSONReference
-
The id object.
- 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.
- 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.
- IMPLEMENTATION_TITLE_KEY - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
The
"Implementation-Title"
manifest key. - IMPLEMENTED_INTERFACE - io.github.classgraph.ClassInfo.ClassType
-
An interface (this is named "implemented interface" rather than just "interface" to distinguish it from an annotation.)
- IMPLEMENTED_INTERFACES - io.github.classgraph.ClassInfo.RelType
-
Interfaces that this class implements, if this is a regular class, or superinterfaces, if this is an interface.
- implementedInterfaces - Variable in class io.github.classgraph.Classfile
-
The implemented interfaces.
- 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.
- indent(int, int, StringBuilder) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Indent (depth * indentWidth) spaces.
- INDENT_LEVELS - Static variable in class nonapi.io.github.classgraph.json.JSONUtils
-
Lookup table for fast indenting.
- indexResourcesAndClassInfo(LogNode) - Method in class io.github.classgraph.ScanResult
- indirectStringRefs - Variable in class io.github.classgraph.Classfile
-
The indirection index for String/Class entries in the constant pool.
- 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.
- inflater - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler.RecyclableInflater
-
Create a new
Inflater
instance with the "nowrap" option (which is needed for zipfile entries). - inflaterInputStream - Variable in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
If slice is deflated, a wrapper for
InflateInputStream
. - inflaterRecycler - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
A recycler for
Inflater
instances. - InfoList<T extends HasName> - Class in io.github.classgraph
-
A list of named objects.
- InfoList() - Constructor for class io.github.classgraph.InfoList
-
Constructor.
- InfoList(int) - Constructor for class io.github.classgraph.InfoList
-
Constructor.
- InfoList(Collection<T>) - Constructor for class io.github.classgraph.InfoList
-
Constructor.
- init(ReflectionUtils) - Static method in class io.github.classgraph.ScanResult
-
Static initialization (warm up classloading), called when the ClassGraph class is initialized.
- INITIAL_BUF_SIZE - Static variable in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
Initial buffer size.
- initialized - Static variable in class io.github.classgraph.ScanResult
-
If true, ScanResult#staticInit() has been run.
- initialized - Variable in class nonapi.io.github.classgraph.concurrency.SingletonMap.SingletonHolder
-
Whether or not the singleton has been initialized (the count will have reached 0 if so).
- initialized - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
-
True if class' static fields have been initialized.
- initializeLoadedClasses - Variable in class io.github.classgraph.ClassGraphClassLoader
-
Whether or not to initialize loaded classes.
- 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). - innerClassModifierBits - Variable in class io.github.classgraph.Classfile.ClassContainment
-
The inner class modifier bits.
- innerClassName - Variable in class io.github.classgraph.Classfile.ClassContainment
-
The inner class name.
- inputStream - Variable in class io.github.classgraph.Resource
-
The input stream, or null.
- inputStream - Variable in class nonapi.io.github.classgraph.utils.ProxyingInputStream
- instance - Variable in class nonapi.io.github.classgraph.recycler.RecycleOnClose
-
The instance.
- instantiate(ClassInfo) - Method in class io.github.classgraph.AnnotationParameterValue
-
Instantiate an annotation parameter value.
- instantiateOrGet(ClassInfo, String) - Method in class io.github.classgraph.ObjectTypedValueWrapper
-
Instantiate or get the wrapped value.
- intArrayValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Int array value.
- INTEGER - nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
Integer type.
- integerValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Integer value.
- INTERFACE_COLOR - Static variable in class io.github.classgraph.GraphvizDotfileGenerator
-
The color for interfaces.
- INTERFACE_OR_ANNOTATION - io.github.classgraph.ClassInfo.ClassType
-
An interface or annotation (used since you can actually implement an annotation).
- interfaceBounds - Variable in class io.github.classgraph.TypeParameter
-
Interface bounds -- may be empty.
- intern(String) - Method in class io.github.classgraph.Classfile
-
Intern a string.
- interrupt() - Method in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
-
Interrupt all threads that share this InterruptionChecker.
- interrupted - Variable in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
-
Set to true when a thread is interrupted.
- interruptionChecker - Variable in class io.github.classgraph.Scanner
-
The interruption checker.
- interruptionChecker - Variable in class nonapi.io.github.classgraph.concurrency.AutoCloseableExecutorService
-
The
InterruptionChecker
. - interruptionChecker - Variable in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
The shared InterruptionChecker, used to detect thread interruption and execution exceptions, and to shut down all threads if either of these occurs.
- 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. - invoke(Object, Method, Object[]) - Method in class io.github.classgraph.AnnotationInfo.AnnotationInvocationHandler
- invoke(Object, Method, Object[]) - Method in class nonapi.io.github.classgraph.reflection.ReflectionUtils.PrivilegedActionInvocationHandler
- invoke(Object, Method, Object[]) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver.PrivilegedActionInvocationHandler
- invokeMethod - Variable in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- invokeMethod - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- 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.
- invokeMethod(Object, Method, Object...) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- invokeMethod(Object, Method, Object...) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- invokeMethod(Object, Method, Object...) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Invoke a non-static method, boxing the result if necessary.
- invokeMethod(Object, Method, Object...) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- invokeStaticMethod - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- 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.
- invokeStaticMethod(Method, Object...) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- invokeStaticMethod(Method, Object...) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- invokeStaticMethod(Method, Object...) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Invoke a static method, boxing the result if necessary.
- invokeStaticMethod(Method, Object...) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- io.github.classgraph - package io.github.classgraph
- IS_UNICODE_WHITESPACE - Static variable in class io.github.classgraph.GraphvizDotfileGenerator
-
Which characters are Unicode whitespace.
- 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.
- isAccessible(Object, AccessibleObject) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- isAccessible(Object, AccessibleObject) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Check whether a field or method is accessible.
- isAccessible(AccessibleObject) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
- isAccessibleMethod - Static variable in class nonapi.io.github.classgraph.json.JSONUtils
- isAccessibleMethod - Static variable in class nonapi.io.github.classgraph.reflection.ReflectionDriver
- isAnnotation - Variable in class io.github.classgraph.Classfile
-
Whether this class is an annotation.
- 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.
- isBasicValueType(Class<?>) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Return true for classes that can be equal to a basic value type (types that can be converted directly to and from string representation).
- isBasicValueType(Object) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Return true for objects that can be converted directly to and from string representation.
- isBasicValueType(Type) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Return true for types that can be converted directly to and from string representation.
- 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 - Variable in class nonapi.io.github.classgraph.fileslice.FileSlice
-
True if
FileSlice.close()
has been called. - isClosed - Variable in class nonapi.io.github.classgraph.fileslice.PathSlice
-
True if
PathSlice.close()
has been called. - isCollectionOrArray(Object) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
-
Return true for objects that are collections or arrays (i.e.
- isConstructor() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is a constructor.
- isDefault() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this is a default method (i.e.
- isDeflated - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
True if the zip entry is deflated; false if the zip entry is stored.
- 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.
- 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.Classfile
-
Whether this is an external class.
- 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 - Variable in class io.github.classgraph.Scanner.ClassfileScanWorkUnit
-
True if this is an external class.
- isExternalClass() - Method in class io.github.classgraph.ClassInfo
-
Checks if this is an external class.
- 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 - Variable in class io.github.classgraph.ClassInfo
-
This annotation has the
Inherited
meta-annotation, which means that any class that this annotation is applied to also implicitly causes the annotation to annotate all subclasses too. - 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 - Variable in class io.github.classgraph.Classfile
-
Whether this class is an interface.
- 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.
- isModuleLayer(Object) - Static method in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
Return true if the argument is a ModuleLayer or a subclass of ModuleLayer.
- isMultiReleaseJar - Variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
If true, this is a multi-release jar.
- isNative() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is a native method.
- isObtainedFromDeserialization - Variable in class io.github.classgraph.ScanResult
-
If true, this
ScanResult
was produced byScanResult.fromJSON(String)
. - isObtainedFromDeserialization() - Method in class io.github.classgraph.ScanResult
-
Checks if this
ScanResult
was obtained from JSON by deserialization, by callingScanResult.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.
- isParentFirst(ClassLoader, ReflectionUtils) - Static method in class nonapi.io.github.classgraph.classloaderhandler.TomcatWebappClassLoaderBaseHandler
-
Return true if this classloader delegates to its parent.
- isParentFirstStrategy(ClassLoader, ReflectionUtils) - Static method in class nonapi.io.github.classgraph.classloaderhandler.PlexusClassWorldsClassRealmClassLoaderHandler
-
Checks if is this classloader uses a parent-first strategy.
- 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 - Variable in class io.github.classgraph.Classfile
-
Whether this class is a record.
- isRecord - Variable in class io.github.classgraph.ClassInfo
-
True if the class is a record.
- 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.
- isTopLevelFileSlice - Variable in class nonapi.io.github.classgraph.fileslice.FileSlice
-
True if this is a top level file slice.
- isTopLevelFileSlice - Variable in class nonapi.io.github.classgraph.fileslice.PathSlice
-
True if this is a top level file slice.
- isTransient() - Method in class io.github.classgraph.FieldInfo
-
Returns true if this field is a transient field.
- isTypeVariable - Variable in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
If the type of this field is a type variable, it could be any type, so we need to defer getting and caching the constructor in this case.
- isUnicodeWhitespace(char) - Static method in class io.github.classgraph.GraphvizDotfileGenerator
-
Checks if a character is Unicode whitespace.
- isVarArgs() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is a varargs method.
- items - Variable in class nonapi.io.github.classgraph.json.JSONArray
-
Array items.
- items - Variable in class nonapi.io.github.classgraph.json.JSONObject
-
Key/value mappings, in display order.
- iterator() - Method in class io.github.classgraph.PotentiallyUnmodifiableList
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.
- JarUtils() - Constructor for class nonapi.io.github.classgraph.utils.JarUtils
-
Constructor.
- 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.
- JBossClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the JBoss ClassLoader.
- JBossClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.JBossClassLoaderHandler
-
Class cannot be constructed.
- 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().
- JPMSClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
A placeloader ClassLoaderHandler that matches Java 9+ classloaders, but does not attempt to extract URLs from them (module scanning uses a different mechanism from classpath scanning).
- JPMSClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.JPMSClassLoaderHandler
-
Class cannot be constructed.
- JRE_LIB_OR_EXT_JARS - Static variable in class nonapi.io.github.classgraph.classpath.SystemJarFinder
-
The paths of any "lib/" or "ext/" jars found in the JRE.
- JSON_CHAR_REPLACEMENTS - Static variable in class nonapi.io.github.classgraph.json.JSONUtils
-
JSON character-to-string escaping replacements -- see http://www.json.org/ under "string".
- JSONArray - Class in nonapi.io.github.classgraph.json
-
An intermediate object in the (de)serialization process, representing a JSON array.
- JSONArray() - Constructor for class nonapi.io.github.classgraph.json.JSONArray
-
Constructor.
- JSONArray(List<Object>) - Constructor for class nonapi.io.github.classgraph.json.JSONArray
-
Constructor.
- jsonBasicValueToObject(Object, Type, boolean) - Static method in class nonapi.io.github.classgraph.json.JSONDeserializer
-
Deserialize a JSON basic value (String, Integer, Long, or Double), conforming it to the expected type (Character, Short, etc.).
- JSONDeserializer - Class in nonapi.io.github.classgraph.json
-
Fast, lightweight Java object to JSON serializer, and JSON to Java object deserializer.
- JSONDeserializer() - Constructor for class nonapi.io.github.classgraph.json.JSONDeserializer
-
Constructor.
- JSONDeserializer.ObjectInstantiation - Class in nonapi.io.github.classgraph.json
-
Used to hold object instantiations temporarily before their fields can be populated, so that object references can be resolved in the same order during deserialization as they were created during serialization.
- JSONObject - Class in nonapi.io.github.classgraph.json
-
An intermediate object in the (de)serialization process, representing a JSON Object.
- JSONObject(int) - Constructor for class nonapi.io.github.classgraph.json.JSONObject
-
Constructor.
- JSONObject(List<Map.Entry<String, Object>>) - Constructor for class nonapi.io.github.classgraph.json.JSONObject
-
Constructor.
- JSONParser - Class in nonapi.io.github.classgraph.json
-
A JSON parser, based on the PEG grammar found at: https://github.com/azatoth/PanPG/blob/master/grammars/JSON.peg
- JSONParser(String) - Constructor for class nonapi.io.github.classgraph.json.JSONParser
-
Constructor.
- JSONReference - Class in nonapi.io.github.classgraph.json
-
A class that serves as a placeholder for circular references between objects.
- JSONReference(Object) - Constructor for class nonapi.io.github.classgraph.json.JSONReference
-
Constructor.
- JSONSerializer - Class in nonapi.io.github.classgraph.json
-
Fast, lightweight Java object to JSON serializer, and JSON to Java object deserializer.
- JSONSerializer() - Constructor for class nonapi.io.github.classgraph.json.JSONSerializer
-
Constructor.
- JSONUtils - Class in nonapi.io.github.classgraph.json
-
Utils for Java serialization and deserialization.
- JSONUtils() - Constructor for class nonapi.io.github.classgraph.json.JSONUtils
-
Constructor.
- jsonVal - Variable in class nonapi.io.github.classgraph.json.JSONDeserializer.ObjectInstantiation
-
The JSONObject or JSONArray to recurse into.
- jsonValToJSONString(Object, Map<ReferenceEqualityKey<JSONReference>, CharSequence>, boolean, int, int, StringBuilder) - Static method in class nonapi.io.github.classgraph.json.JSONSerializer
-
Serialize a JSON object, array, or value.
- JVM_DRIVER - 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.
- JVMDriverReflectionDriver - Class in nonapi.io.github.classgraph.reflection
-
Reflection driver for the jvm-driver library, if it is available at runtime.
- JVMDriverReflectionDriver() - Constructor for class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- JVMDriverReflectionDriver.ClassFinder - Interface in nonapi.io.github.classgraph.reflection
K
- keyMatchesAtPosition(byte[], byte[], int) - Static method in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
Key matches at position.
L
- labelClassNodeHTML(ClassInfo, String, String, boolean, boolean, boolean, ScanSpec, StringBuilder) - Static method in class io.github.classgraph.GraphvizDotfileGenerator
-
Produce HTML label for class node.
- lastModifiedDateMSDOS - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The last modified date in MSDOS format, if
FastZipEntry.lastModifiedTimeMillis
is 0L. - lastModifiedTimeMillis - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The last modified millis since the epoch, or 0L if it is unknown
- lastModifiedTimeMSDOS - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The last modified time in MSDOS format, if
FastZipEntry.lastModifiedTimeMillis
is 0L. - layer - Variable in class io.github.classgraph.ModuleRef
-
The ModuleLayer for the module.
- LEADING_DOTS - Static variable in class nonapi.io.github.classgraph.utils.JarUtils
-
The Constant LEADING_DOTS.
- leafname(String) - Static method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
Get the leafname of a path.
- leafName(String) - Static method in class nonapi.io.github.classgraph.utils.JarUtils
-
Returns the leafname of a path, after first stripping off everything after the first '!', if present.
- length - Variable in class io.github.classgraph.Resource
-
The length, or -1L for unknown.
- length() - Method in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
Get the length of the mapped file, or the initial remaining bytes in the wrapped ByteBuffer if a buffer was wrapped.
- libOrExtJarAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
lib/ext jar accept/reject criteria (leafname only, ending in ".jar").
- link(Map<String, ClassInfo>, Map<String, PackageInfo>, Map<String, ModuleInfo>) - Method in class io.github.classgraph.Classfile
-
Link classes.
- Linux - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Linux.
- list() - Method in class io.github.classgraph.ModuleReaderProxy
-
Get the list of resources accessible to a ModuleReader.
- LIST_OF_UNKNOWN_TYPE - Static variable in class nonapi.io.github.classgraph.json.ParameterizedTypeImpl
-
The type parameter of
List
instances of unknown generic type. - listIterator() - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- 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 thisArrayClassInfo
object. - loadClass() - Method in class io.github.classgraph.ArrayTypeSignature
-
Obtain a
Class<?>
reference for the array class named by thisArrayClassInfo
object. - loadClass() - Method in class io.github.classgraph.BaseTypeSignature
- loadClass() - Method in class io.github.classgraph.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object. - loadClass() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Load the referenced class, if not already loaded, returning a
Class<?>
reference for the referenced class. - loadClass() - Method in class io.github.classgraph.ScanResultObject
-
Load the class named returned by
ScanResultObject.getClassInfo()
, or if that returns null, the class named byScanResultObject.getClassName()
. - 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 thisArrayClassInfo
object. - loadClass(boolean) - Method in class io.github.classgraph.ArrayTypeSignature
-
Obtain a
Class<?>
reference for the array class named by thisArrayClassInfo
object. - loadClass(boolean) - Method in class io.github.classgraph.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object. - loadClass(boolean) - Method in class io.github.classgraph.ClassRefTypeSignature
-
Load the referenced class, if not already loaded, returning a
Class<?>
reference for the referenced class. - loadClass(boolean) - Method in class io.github.classgraph.ScanResultObject
-
Load the class named returned by
ScanResultObject.getClassInfo()
, or if that returns null, the class named byScanResultObject.getClassName()
. - loadClass(Class<T>) - Method in class io.github.classgraph.BaseTypeSignature
- loadClass(Class<T>) - Method in class io.github.classgraph.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object, casting it to the requested interface or superclass type. - loadClass(Class<T>) - Method in class io.github.classgraph.ScanResultObject
-
Load the class named returned by
ScanResultObject.getClassInfo()
, or if that returns null, the class named byScanResultObject.getClassName()
. - loadClass(Class<T>, boolean) - Method in class io.github.classgraph.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object, casting it to the requested interface or superclass type. - loadClass(Class<T>, boolean) - Method in class io.github.classgraph.ScanResultObject
-
Load the class named returned by
ScanResultObject.getClassInfo()
, or if that returns null, the class named byScanResultObject.getClassName()
. - loadClass(String, boolean) - Method in class io.github.classgraph.ScanResult
-
Load a class given a class name.
- loadClass(String, Class<T>, boolean) - Method in class io.github.classgraph.ScanResult
-
Load a class given a class name.
- 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 thisAnnotationInfo
object, by callinggetClassInfo().loadClass()
, then create a new instance of the annotation, with the annotation parameter values obtained from thisAnnotationInfo
object, possibly overriding default annotation parameter values obtained from callingAnnotationInfo.getClassInfo()
thenClassInfo.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 ofClass<?>
objects. - loadClasses(boolean) - Method in class io.github.classgraph.ClassInfoList
-
Convert this list of
ClassInfo
objects to a list ofClass<?>
objects. - loadClasses(Class<T>) - Method in class io.github.classgraph.ClassInfoList
-
Convert this list of
ClassInfo
objects to a list ofClass<?>
objects, casting each item in the list to the requested superclass or interface type. - loadClasses(Class<T>, boolean) - Method in class io.github.classgraph.ClassInfoList
-
Convert this list of
ClassInfo
objects to a list ofClass<?>
objects, casting each item in the list to the requested superclass or interface type. - 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. - loadParameterClasses() - Method in class io.github.classgraph.MethodInfo
-
Load and return the classes of each of the method parameters.
- location - Variable in class io.github.classgraph.ModuleRef
-
The location URI for the module (may be null).
- locationFile - Variable in class io.github.classgraph.ModuleRef
-
A file formed from the location URI.
- locationStr - Variable in class io.github.classgraph.ModuleRef
-
The location URI for the module, as a cached string (may be null).
- locationURI - Variable in class io.github.classgraph.ModuleInfo
-
The location of the module as a URI.
- locHeaderPos - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The offset of the entry's local header, as an offset relative to the parent logical zipfile.
- log - Variable in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
The log node.
- log - Static variable in class nonapi.io.github.classgraph.utils.LogNode
-
The logger.
- log(int, String, Throwable, LogNode) - Method in class io.github.classgraph.ClasspathElement
-
Write entries to log in classpath / module path order.
- log(int, String, LogNode) - Method in class io.github.classgraph.ClasspathElement
-
Write entries to log in classpath / module path order.
- log(String) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry.
- log(String, long) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry.
- log(String, long, Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry.
- log(String, String) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, String, long) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, String, long, Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, String, Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry with sort key for deterministic ordering.
- log(String, Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry.
- log(Throwable) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a log entry.
- log(Collection<String>) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Add a series of log entries.
- log(LogNode) - Method in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
Write to log.
- logicalZipFile - Variable in class io.github.classgraph.ClasspathElementZip
-
The logical zipfile for this classpath element.
- LogicalZipFile - Class in nonapi.io.github.classgraph.fastzipfilereader
-
A logical zipfile, which represents a zipfile contained within a ZipFileSlice of a PhysicalZipFile.
- LogicalZipFile(ZipFileSlice, NestedJarHandler, LogNode, boolean) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
Construct a logical zipfile from a slice of a physical zipfile.
- logInRealtime - Static variable in class nonapi.io.github.classgraph.utils.LogNode
-
If true, log entries are output in realtime, as well as added to the LogNode tree.
- 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.
- logJavaInfo() - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Log the Java version and the JRE paths that were found.
- LogNode - Class in nonapi.io.github.classgraph.utils
-
A tree-structured threadsafe log that allows you to add log entries in arbitrary order, and have the output retain a sane order.
- LogNode() - Constructor for class nonapi.io.github.classgraph.utils.LogNode
-
Create a toplevel log node.
- LogNode(String, String, long, Throwable) - Constructor for class nonapi.io.github.classgraph.utils.LogNode
-
Create a non-toplevel log node.
- LONG - nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
Long type.
- longArrayValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Long array value.
- longValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Long value.
- lookupCleanMethodPrivileged() - Static method in class nonapi.io.github.classgraph.utils.FileUtils
-
Get the clean() method, attachment() method, and theUnsafe field, called inside doPrivileged.
M
- MacOSX - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Mac OS X.
- majorVersion - Variable in class io.github.classgraph.Classfile
-
The major version of the classfile format.
- makeAccessible(Object, AccessibleObject) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- makeAccessible(Object, AccessibleObject) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- makeAccessible(Object, AccessibleObject) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Make a field or method accessible.
- makeAccessible(Object, AccessibleObject) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- 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.
- makeUnmodifiable() - Method in class io.github.classgraph.PotentiallyUnmodifiableList
-
Make this list unmodifiable.
- MANIFEST_PATH - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
"META-INF/MANIFEST.MF"
. - manifestKeyToBytes(String) - Static method in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
Manifest key to bytes.
- map - Variable in class nonapi.io.github.classgraph.concurrency.SingletonMap
-
The map.
- MAP_OF_UNKNOWN_TYPE - Static variable in class nonapi.io.github.classgraph.json.ParameterizedTypeImpl
-
The type parameters of
Map
instances of unknown generic type. - MappableInfoList<T extends HasName> - Class in io.github.classgraph
-
A list of named objects that can be indexed by name.
- MappableInfoList() - Constructor for class io.github.classgraph.MappableInfoList
-
Constructor.
- MappableInfoList(int) - Constructor for class io.github.classgraph.MappableInfoList
-
Constructor.
- MappableInfoList(Collection<T>) - Constructor for class io.github.classgraph.MappableInfoList
-
Constructor.
- 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 theScanResult
is closed. - markSupported() - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
- maskClassfiles(int, Set<String>, LogNode) - Method in class io.github.classgraph.ClasspathElement
-
Apply relative path masking within this classpath resource -- remove relative paths that were found in an earlier classpath element.
- maskClassfiles(List<ClasspathElement>, LogNode) - Method in class io.github.classgraph.Scanner
-
Perform classpath masking of classfiles.
- matchesPatternList(String, List<Pattern>) - Static method in class nonapi.io.github.classgraph.scanspec.AcceptReject
-
Check if a string matches one of the patterns in the provided list.
- MAVEN_ARTIFACT - Static variable in class nonapi.io.github.classgraph.utils.VersionFinder
-
The Maven artifact for ClassGraph.
- MAVEN_PACKAGE - Static variable in class nonapi.io.github.classgraph.utils.VersionFinder
-
The Maven package for ClassGraph.
- MAX_BUFFER_SIZE - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
-
The maximum size of a file buffer array.
- MAX_INITIAL_BUFFER_SIZE - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
The maximum initial buffer size.
- maxBufferedJarRAMSize - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
The maximum size of an inner (nested) jar that has been deflated (i.e.
- maxLineNum - Variable in class io.github.classgraph.MethodInfo
-
The maximum line number for the body of this method, or 0 if unknown.
- memberClassNameToClassInfo - Variable in class io.github.classgraph.PackageInfo
-
Set of classes in the package.
- META_INF_PATH_PREFIX - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
"META_INF/"
. - METHOD - nonapi.io.github.classgraph.types.TypeUtils.ModifierType
-
The modifier bits apply to a method.
- METHOD_ANNOTATIONS - io.github.classgraph.ClassInfo.RelType
-
Annotations on one or more methods of this class.
- METHOD_PARAMETER_ANNOTATIONS - io.github.classgraph.ClassInfo.RelType
-
Annotations on one or more parameters of methods of this class.
- methodInfo - Variable in class io.github.classgraph.ClassInfo
-
Info on fields.
- methodInfo - Variable in class io.github.classgraph.MethodParameterInfo
-
The containing method.
- MethodInfo - Class in io.github.classgraph
-
Holds metadata about methods of a class encountered during a scan.
- MethodInfo() - Constructor for class io.github.classgraph.MethodInfo
-
Default constructor for deserialization.
- MethodInfo(String, String, AnnotationInfoList, int, String, String, String[], int[], AnnotationInfo[][], boolean, int, int, List<Classfile.MethodTypeAnnotationDecorator>, String[]) - Constructor for class io.github.classgraph.MethodInfo
-
Constructor.
- methodInfoList - Variable in class io.github.classgraph.Classfile
-
The method info list.
- 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<MethodInfo>) - Constructor for class io.github.classgraph.MethodInfoList
-
Construct a new modifiable empty
MethodInfoList
, given an initial collection ofMethodInfo
objects. - MethodInfoList.MethodInfoFilter - Interface in io.github.classgraph
-
Filter an
MethodInfoList
using a predicate mapping anMethodInfo
object to a boolean, producing anotherMethodInfoList
for all items in the list for which the predicate is true. - methodNameToMethods - Variable in class nonapi.io.github.classgraph.reflection.ReflectionDriver.ClassMemberCache
- methodOverrideOrder - Variable in class io.github.classgraph.ClassInfo
-
The override order for a class' methods (base class, followed by superclasses, followed by interfaces).
- MethodParameterInfo - Class in io.github.classgraph
-
Information on the parameters of a method.
- MethodParameterInfo(MethodInfo, AnnotationInfo[], int, TypeSignature, TypeSignature, String) - Constructor for class io.github.classgraph.MethodParameterInfo
-
Constructor.
- MethodTypeSignature - Class in io.github.classgraph
-
A method type signature (called "MethodSignature" in the classfile documentation).
- MethodTypeSignature(List<TypeParameter>, List<TypeSignature>, TypeSignature, List<ClassRefOrTypeVariableSignature>) - Constructor for class io.github.classgraph.MethodTypeSignature
-
Constructor.
- minLineNum - Variable in class io.github.classgraph.MethodInfo
-
The minimum line number for the body of this method, or 0 if unknown.
- minorVersion - Variable in class io.github.classgraph.Classfile
-
The minor version of the classfile format.
- modifiable - Variable in class io.github.classgraph.PotentiallyUnmodifiableList
-
Whether or not the list is modifiable.
- modifiers - Variable in class io.github.classgraph.ClassInfo
-
Class modifier flags, e.g.
- modifiers - Variable in class io.github.classgraph.ClassMemberInfo
-
Class member modifiers.
- modifiers - Variable in class io.github.classgraph.MethodParameterInfo
-
The modifiers.
- modifiersToString(int, StringBuilder) - Static method in class io.github.classgraph.MethodParameterInfo
-
Convert modifiers into a string representation, e.g.
- modifiersToString(int, TypeUtils.ModifierType, boolean, StringBuilder) - Static method in class nonapi.io.github.classgraph.types.TypeUtils
-
Convert modifiers into a string representation, e.g.
- ModifierType() - Constructor for enum nonapi.io.github.classgraph.types.TypeUtils.ModifierType
- moduleAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
Module accept/reject criteria (with separator '.').
- moduleFinder - Variable in class nonapi.io.github.classgraph.classpath.ClasspathFinder
-
The
ModuleFinder
, if modules are to be scanned. - 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 - Variable in class io.github.classgraph.ClassInfo
-
Info on the class module.
- moduleInfo - Variable in class io.github.classgraph.ScanResult.SerializationFormat
-
The list of all
ModuleInfo
objects. - ModuleInfo - Class in io.github.classgraph
-
Holds metadata about a package encountered during a scan.
- ModuleInfo() - Constructor for class io.github.classgraph.ModuleInfo
-
Deerialization constructor.
- ModuleInfo(ModuleRef, ClasspathElement) - Constructor for class io.github.classgraph.ModuleInfo
-
Construct a ModuleInfo object.
- ModuleInfoList - Class in io.github.classgraph
-
A list of
ModuleInfo
objects. - ModuleInfoList() - Constructor for class io.github.classgraph.ModuleInfoList
-
Constructor.
- ModuleInfoList(int) - Constructor for class io.github.classgraph.ModuleInfoList
-
Constructor.
- ModuleInfoList(Collection<ModuleInfo>) - Constructor for class io.github.classgraph.ModuleInfoList
-
Constructor.
- ModuleInfoList.ModuleInfoFilter - Interface in io.github.classgraph
-
Filter an
ModuleInfoList
using a predicate mapping anModuleInfo
object to a boolean, producing anotherModuleInfoList
for all items in the list for which the predicate is true. - moduleNameFromManifestFile - Variable in class io.github.classgraph.ClasspathElementZip
-
The name of the module from the
Automatic-Module-Name
manifest attribute, if one is present in the root of the classpath element. - moduleNameFromModuleDescriptor - Variable in class io.github.classgraph.ClasspathElement
-
The name of the module from the
module-info.class
module descriptor, if one is present in the root of the classpath element. - moduleNameToModuleInfo - Variable in class io.github.classgraph.ScanResult
-
The map from class name to
ClassInfo
. - moduleOrder - Variable in class io.github.classgraph.Scanner
-
The module order.
- 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
- moduleReader - Variable in class io.github.classgraph.ModuleReaderProxy
-
The module reader.
- ModuleReaderProxy - Class in io.github.classgraph
-
A ModuleReader proxy, written using reflection to preserve backwards compatibility with JDK 7 and 8.
- ModuleReaderProxy(ModuleRef) - Constructor for class io.github.classgraph.ModuleReaderProxy
-
Constructor.
- moduleReaderProxyRecycler - Variable in class io.github.classgraph.ClasspathElementModule
-
The module reader proxy recycler.
- moduleRef - Variable in class io.github.classgraph.ClasspathElementModule
-
The module ref.
- moduleRef - Variable in class io.github.classgraph.ModuleInfo
-
The
ModuleRef
. - 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 io.github.classgraph.ClasspathElementModule
-
A singleton map from a
ModuleRef
to aModuleReaderProxy
recycler for the module. - moduleRefToModuleReaderProxyRecyclerMap - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
A singleton map from a
ModuleRef
to aModuleReaderProxy
recycler for the module. - msg - Variable in class nonapi.io.github.classgraph.utils.LogNode
-
The log message.
- MULTI_RELEASE_KEY - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
The
"Multi-Release"
manifest key. - 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.AnnotationInfo
-
The name.
- name - Variable in class io.github.classgraph.AnnotationParameterValue
-
The the parameter name.
- 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.
- name - Variable in class io.github.classgraph.MethodParameterInfo
-
The parameter name.
- name - Variable in class io.github.classgraph.ModuleInfo
-
The name of the module.
- name - Variable in class io.github.classgraph.ModuleRef
-
The name of the module.
- name - Variable in class io.github.classgraph.PackageInfo
-
Name of the package.
- name - Variable in class io.github.classgraph.TypeParameter
-
The type parameter identifier.
- name - Variable in class io.github.classgraph.TypeVariableSignature
-
The type variable name.
- nanoFormatter - Static variable in class nonapi.io.github.classgraph.utils.LogNode
-
The elapsed time formatter.
- NARCISSUS - 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.
- narcissusClass - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- NarcissusReflectionDriver - Class in nonapi.io.github.classgraph.reflection
-
Narcissus reflection driver (uses the Narcissus library, if it is available, which allows access to non-public fields and methods, circumventing encapsulation and visibility controls via JNI).
- NarcissusReflectionDriver() - Constructor for class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- nestedClasspathRootPrefixes - Variable in class io.github.classgraph.ClasspathElement
-
If non-null, contains a list of resolved paths for any classpath element roots nested inside this classpath element.
- nestedJarHandler - Variable in class io.github.classgraph.ClasspathElementDir
-
The nested jar handler.
- nestedJarHandler - Variable in class io.github.classgraph.ClasspathElementZip
-
The nested jar handler.
- nestedJarHandler - Variable in class io.github.classgraph.Scanner
-
The nested jar handler.
- nestedJarHandler - Variable in class io.github.classgraph.ScanResult
-
The nested jar handler instance.
- nestedJarHandler - Variable in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
The nested jar handler.
- nestedJarHandler - Variable in class nonapi.io.github.classgraph.fileslice.Slice
-
The
NestedJarHandler
. - 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.
- NestedJarHandler.CloseableUrlConnection - Class in nonapi.io.github.classgraph.fastzipfilereader
- NestedJarHandler.RecyclableInflater - Class in nonapi.io.github.classgraph.fastzipfilereader
-
Wrapper class that allows an
Inflater
instance to be reset for reuse and then recycled by aRecycler
. - 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.
- nestedType - Variable in class io.github.classgraph.ArrayTypeSignature
-
The nested type (another
ArrayTypeSignature
, or the base element type). - newClasspathEntryWorkUnitProcessor(Set<ClasspathElement>, Set<ClasspathElement>) - Method in class io.github.classgraph.Scanner
-
Create a WorkUnitProcessor for opening traditional classpath entries (which are mapped to
ClasspathElementDir
orClasspathElementZip
--is handled separately
). - 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 nonapi.io.github.classgraph.concurrency.SingletonMap.NewInstanceException
-
Constructor.
- newResource(String) - Method in class io.github.classgraph.ClasspathElementModule
-
Create a new
Resource
object for a resource or classfile discovered while scanning paths. - newResource(Path, NestedJarHandler) - Method in class io.github.classgraph.ClasspathElementDir
-
Create a new
Resource
object for a resource or classfile discovered while scanning paths. - newResource(FastZipEntry, String) - Method in class io.github.classgraph.ClasspathElementZip
-
Create a new
Resource
object for a resource or classfile discovered while scanning paths. - 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.
- NO_ANNOTATIONS - Static variable in class io.github.classgraph.Classfile
-
An empty array for the case where there are no annotations.
- NO_CONSTRUCTOR - Static variable in class nonapi.io.github.classgraph.json.ClassFieldCache
-
Placeholder constructor to signify no constructor was found previously.
- NO_REACHABLE_CLASSES - Static variable in class io.github.classgraph.ClassInfo
-
The constant empty return value used when no classes are reachable.
- NoConstructor() - Constructor for class nonapi.io.github.classgraph.json.ClassFieldCache.NoConstructor
-
Constructor for NoConstructor class.
- NON_ALPHANUM - Static variable in class nonapi.io.github.classgraph.utils.JarUtils
-
The Constant NON_ALPHANUM.
- NON_PRIMITIVE - nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
Non-primitive type.
- 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. - nonClosedWeakReferences - Static variable in class io.github.classgraph.ScanResult
-
The set of WeakReferences to non-closed ScanResult objects.
- NONE - 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 - io.github.classgraph.TypeArgument.Wildcard
-
No wildcard.
- nonSystemModuleRefs - Variable in class nonapi.io.github.classgraph.classpath.ModuleFinder
-
The non system module refs.
- normalizeClasspathEntry(Object) - Static method in class io.github.classgraph.Scanner
-
Normalize a classpath entry object so that it is mapped to a canonical
Path
object if possible, falling back to aURL
orURI
if not possible. - 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.
- 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 - nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
-
Path is not accepted and not rejected.
- NullSingletonException(K) - Constructor for exception nonapi.io.github.classgraph.concurrency.SingletonMap.NullSingletonException
-
Constructor.
- numIncompleteWorkUnits - Variable in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
The number of work units remaining to be processed, plus the number of currently running threads working on a work unit.
- numParallelTasks - Variable in class io.github.classgraph.Scanner
-
The number of parallel tasks.
- numWorkers - Variable in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
The number of workers.
O
- objectArrayValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Object array value.
- objectId - Variable in class nonapi.io.github.classgraph.json.JSONObject
-
Object id for cross-references, if known.
- objectInstance - Variable in class nonapi.io.github.classgraph.json.JSONDeserializer.ObjectInstantiation
-
The Java object instance to populate from the JSONObject or JSONArray.
- ObjectInstantiation(Object, Type, Object) - Constructor for class nonapi.io.github.classgraph.json.JSONDeserializer.ObjectInstantiation
-
Constructor.
- ObjectTypedValueWrapper - Class in io.github.classgraph
-
A union type, used for typesafe serialization/deserialization to/from JSON.
- ObjectTypedValueWrapper() - Constructor for class io.github.classgraph.ObjectTypedValueWrapper
-
Default constructor for deserialization.
- ObjectTypedValueWrapper(Object) - Constructor for class io.github.classgraph.ObjectTypedValueWrapper
-
Constructor.
- obtainClassInfoRecursive(Set<ClassInfo>) - Method in class io.github.classgraph.PackageInfo
-
Get the
ClassInfo
objects within this package recursively. - onClose - Variable in class io.github.classgraph.CloseableByteBuffer
- onFailure(Throwable) - Method in interface io.github.classgraph.ClassGraph.FailureHandler
-
Called on scanning failure during an asynchronous scan.
- onlySerializePublicFields - Variable in class nonapi.io.github.classgraph.json.ClassFieldCache
-
Whether or not to serialize public fields.
- 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 anInputStream
. - open(Resource) - Method in class nonapi.io.github.classgraph.fileslice.Slice
-
Open this
Slice
as anInputStream
. - open(String) - Method in class io.github.classgraph.ModuleReaderProxy
-
Use the proxied ModuleReader to open the named resource as an InputStream.
- open(WorkQueue<Scanner.ClasspathEntryWorkUnit>, LogNode) - Method in class io.github.classgraph.ClasspathElement
-
Determine if this classpath element is valid.
- open(WorkQueue<Scanner.ClasspathEntryWorkUnit>, LogNode) - Method in class io.github.classgraph.ClasspathElementDir
- open(WorkQueue<Scanner.ClasspathEntryWorkUnit>, LogNode) - Method in class io.github.classgraph.ClasspathElementModule
- open(WorkQueue<Scanner.ClasspathEntryWorkUnit>, LogNode) - Method in class io.github.classgraph.ClasspathElementZip
- openClassfile() - Method in class io.github.classgraph.Resource
-
Open a
ClassfileReader
on the resource (for reading classfiles). - openClasspathElementsThenScan() - Method in class io.github.classgraph.Scanner
-
Open each of the classpath elements, looking for additional child classpath elements that need scanning (e.g.
- openInflaterInputStream(InputStream) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
Wrap an
InputStream
with anInflaterInputStream
, recycling theInflater
instance. - openSlices - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
FileSlice
instances that are currently open. - OperatingSystem() - Constructor for enum nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
- order - Variable in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
The classpath order.
- OS - Static variable in class nonapi.io.github.classgraph.utils.VersionFinder
-
The operating system type.
- OSGiDefaultClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Handle the OSGi DefaultClassLoader.
- OSGiDefaultClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.OSGiDefaultClassLoaderHandler
-
Class cannot be constructed.
- outerClassName - Variable in class io.github.classgraph.Classfile.ClassContainment
-
The outer class name.
- overrideClassLoaders - Variable in class io.github.classgraph.ClassGraphClassLoader
-
Any override classloader(s).
- 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
orURI
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.
- overrideOrder - Variable in class io.github.classgraph.ClassInfo
-
The override order for a class' fields or methods (base class, followed by interfaces, followed by superclasses).
- ownerType - Variable in class nonapi.io.github.classgraph.json.ParameterizedTypeImpl
-
The owner type.
P
- packageAcceptReject - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
Package accept/reject criteria (with separator '.').
- packageInfo - Variable in class io.github.classgraph.ClassInfo
-
Info on the package containing the class.
- packageInfo - Variable in class io.github.classgraph.ScanResult.SerializationFormat
-
The list of all
PackageInfo
objects. - PackageInfo - Class in io.github.classgraph
-
Holds metadata about a package encountered during a scan.
- PackageInfo() - Constructor for class io.github.classgraph.PackageInfo
-
Deerialization constructor.
- PackageInfo(String) - Constructor for class io.github.classgraph.PackageInfo
-
Construct a PackageInfo object.
- PackageInfoList - Class in io.github.classgraph
-
A list of
PackageInfo
objects. - PackageInfoList() - Constructor for class io.github.classgraph.PackageInfoList
-
Constructor.
- PackageInfoList(int) - Constructor for class io.github.classgraph.PackageInfoList
-
Constructor.
- PackageInfoList(Collection<PackageInfo>) - Constructor for class io.github.classgraph.PackageInfoList
-
Constructor.
- PackageInfoList.PackageInfoFilter - Interface in io.github.classgraph
-
Filter an
PackageInfoList
using a predicate mapping anPackageInfo
object to a boolean, producing anotherPackageInfoList
for all items in the list for which the predicate is true. - packageInfoSet - Variable in class io.github.classgraph.ModuleInfo
-
PackageInfo
objects for packages found within the class, if any, else null. - packageNameToPackageInfo - Variable in class io.github.classgraph.ScanResult
-
The map from package name to
PackageInfo
. - 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 '.').
- packageRootPrefix - Variable in class io.github.classgraph.ClasspathElement
-
The package root within the jarfile or Path.
- packageRootPrefix - Variable in class io.github.classgraph.Scanner.ClasspathEntryWorkUnit
-
The package root prefix (e.g.
- packages - Variable in class io.github.classgraph.ModuleRef
-
The packages in the module.
- PARAM_WRAP_WIDTH - Static variable in class io.github.classgraph.GraphvizDotfileGenerator
-
The wrap width for method parameters.
- parameterAnnotationInfo - Variable in class io.github.classgraph.MethodInfo
-
Unaligned parameter annotations.
- parameterInfo - Variable in class io.github.classgraph.MethodInfo
-
Aligned method parameter info.
- ParameterizedTypeImpl - Class in nonapi.io.github.classgraph.json
-
An implementation of
ParameterizedType
, used to replace type variables with concrete types. - ParameterizedTypeImpl(Class<?>, Type[], Type) - Constructor for class nonapi.io.github.classgraph.json.ParameterizedTypeImpl
-
Constructor.
- parameterModifiers - Variable in class io.github.classgraph.MethodInfo
-
Unaligned parameter modifiers.
- parameterNames - Variable in class io.github.classgraph.MethodInfo
-
Unaligned parameter names.
- parameterTypeSignatures - Variable in class io.github.classgraph.MethodTypeSignature
-
The method parameter type signatures.
- parent - Variable in class io.github.classgraph.PackageInfo
-
The parent package of this package.
- parent - Variable in class nonapi.io.github.classgraph.utils.LogNode
-
The parent LogNode.
- parentClasspathElement - Variable in class io.github.classgraph.Scanner.ClasspathEntryWorkUnit
-
The parent classpath element.
- ParentLastDelegationOrderTestClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
ClassLoaderHandler that is used to test PARENT_LAST delegation order.
- ParentLastDelegationOrderTestClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.ParentLastDelegationOrderTestClassLoaderHandler
-
Class cannot be constructed.
- parentLogicalZipFile - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The parent logical zipfile.
- parentSlice - Variable in class nonapi.io.github.classgraph.fileslice.Slice
-
The parent slice.
- parentZipFileSlice - Variable in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
-
The parent slice, or null if this is the toplevel slice (the whole zipfile).
- parse(String, ClassInfo) - Static method in class io.github.classgraph.ClassTypeSignature
-
Parse a class type signature or class type descriptor.
- parse(String, String) - Static method in class io.github.classgraph.MethodTypeSignature
-
Parse a method signature.
- parse(String, String) - Static method in class io.github.classgraph.TypeSignature
-
Parse a type signature.
- parse(Parser) - Static method in class io.github.classgraph.BaseTypeSignature
-
Parse a base type.
- parse(Parser, String) - Static method in class io.github.classgraph.ArrayTypeSignature
-
Parses the array type signature.
- parse(Parser, String) - Static method in class io.github.classgraph.ClassRefTypeSignature
-
Parse a class type signature.
- parse(Parser, String) - Static method in class io.github.classgraph.TypeArgument
-
Parse a type argument.
- parse(Parser, String) - Static method in class io.github.classgraph.TypeSignature
-
Parse a type signature.
- parse(Parser, String) - Static method in class io.github.classgraph.TypeVariableSignature
-
Parse a TypeVariableSignature.
- parseClassBound(Parser, String) - Static method in class io.github.classgraph.ReferenceTypeSignature
-
Parse a class bound.
- ParseException - Exception in nonapi.io.github.classgraph.types
-
A parsing exception.
- ParseException(Parser, String) - Constructor for exception nonapi.io.github.classgraph.types.ParseException
-
A parsing exception.
- parseJSON() - Method in class nonapi.io.github.classgraph.json.JSONParser
-
Parse a JSON type (object / array / value).
- parseJSON(String) - Static method in class nonapi.io.github.classgraph.json.JSONParser
-
Parse a JSON object, array, string, value or object reference.
- parseJSONArray() - Method in class nonapi.io.github.classgraph.json.JSONParser
-
Array ← "[" ( JSON ( "," JSON )* / S? ) "]"
- parseJSONObject() - Method in class nonapi.io.github.classgraph.json.JSONParser
-
Parse a JSON Object.
- parseList(Parser, String) - Static method in class io.github.classgraph.TypeArgument
-
Parse a list of type arguments.
- parseList(Parser, String) - Static method in class io.github.classgraph.TypeParameter
-
Parse a list of type parameters into
TypeParameter
objects. - parseManifest(FastZipEntry, LogNode) - Method in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
Parse the manifest entry of a zipfile.
- parseNumber() - Method in class nonapi.io.github.classgraph.json.JSONParser
-
Parses and returns Integer, Long or Double type.
- 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.
- parseReferenceTypeSignature(Parser, String) - Static method in class io.github.classgraph.ReferenceTypeSignature
-
Parse a reference type signature.
- parseString() - Method in class nonapi.io.github.classgraph.json.JSONParser
-
Parse a quoted/escaped JSON string.
- 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.fastzipfilereader.PhysicalZipFile
-
The
Path
backing thisPhysicalZipFile
, if any. - 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.
- 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.
- 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, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fileslice.PathSlice
-
Constructor for toplevel file slice.
- PathSlice(PathSlice, long, long, boolean, long, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fileslice.PathSlice
-
Constructor for treating a range of a file as a slice.
- pathStr - Variable in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
The path to the zipfile.
- pathToAcceptedResourcesCached - Variable in class io.github.classgraph.ScanResult
-
The map from path (relative to package root) to a list of
Resource
elements with the matching path. - pathToPackageName(String) - Static method in class nonapi.io.github.classgraph.scanspec.AcceptReject
-
Convert a path to a package name.
- pathWithinParentZipFileSlice - Variable in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
-
For the toplevel zipfile slice, the zipfile path; For nested slices, the name/path of the zipfile entry.
- 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.
- percentMatcher - Static variable in class nonapi.io.github.classgraph.utils.FastPathResolver
-
Match %-encoded characters in URLs.
- performScan - Variable in class io.github.classgraph.Scanner
-
If true, performing a scan.
- performScan(List<ClasspathElement>, List<String>, ClasspathFinder) - Method in class io.github.classgraph.Scanner
-
Scan the classpath and/or visible modules.
- physicalZipFile - Variable in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
-
The underlying physical zipfile.
- PhysicalZipFile - Class in nonapi.io.github.classgraph.fastzipfilereader
-
A physical zipfile, which is mmap'd using a
FileChannel
. - PhysicalZipFile(byte[], File, String, NestedJarHandler) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
Construct a
PhysicalZipFile
from a byte array. - PhysicalZipFile(File, NestedJarHandler, LogNode) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
Construct a
PhysicalZipFile
from a file on disk. - PhysicalZipFile(InputStream, long, String, NestedJarHandler, LogNode) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
Construct a
PhysicalZipFile
by reading from theInputStream
to an array in RAM, or spill to disk if theInputStream
is too long. - PhysicalZipFile(Path, NestedJarHandler, LogNode) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
Construct a
PhysicalZipFile
from aPath
. - PKG_PREFIX - Static variable in class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
-
"com.ibm.ws.classloading.internal."
- PlexusClassWorldsClassRealmClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Handle the Plexus ClassWorlds ClassRealm ClassLoader.
- PlexusClassWorldsClassRealmClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.PlexusClassWorldsClassRealmClassLoaderHandler
-
Class cannot be constructed.
- populateObjectFromJsonObject(Object, Type, Object, ClassFieldCache, Map<CharSequence, Object>, List<Runnable>) - Static method in class nonapi.io.github.classgraph.json.JSONDeserializer
-
Populate object from json object.
- position - Variable in class nonapi.io.github.classgraph.types.Parser
-
The current position.
- PotentiallyUnmodifiableList<T> - Class in io.github.classgraph
-
A potentially unmodifiable list of objects.
- PotentiallyUnmodifiableList() - Constructor for class io.github.classgraph.PotentiallyUnmodifiableList
-
Constructor.
- PotentiallyUnmodifiableList(int) - Constructor for class io.github.classgraph.PotentiallyUnmodifiableList
-
Constructor.
- PotentiallyUnmodifiableList(Collection<T>) - Constructor for class io.github.classgraph.PotentiallyUnmodifiableList
-
Constructor.
- preprocessClasspathElementsByType(List<ClasspathElement>, LogNode) - Method in class io.github.classgraph.Scanner
-
Find classpath elements whose path is a prefix of another classpath element, and record the nesting.
- primitiveType - Variable in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
The index of the type: 0 for non-primitive type; 1-8 for primitive types.
- PrimitiveType() - Constructor for enum nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
- privilegedActionClass - Variable in class nonapi.io.github.classgraph.reflection.ReflectionUtils
- privilegedActionClass - Static variable in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- PrivilegedActionInvocationHandler(Callable<T>) - Constructor for class nonapi.io.github.classgraph.reflection.ReflectionUtils.PrivilegedActionInvocationHandler
- PrivilegedActionInvocationHandler(Callable<T>) - Constructor for class nonapi.io.github.classgraph.reflection.StandardReflectionDriver.PrivilegedActionInvocationHandler
- processScanResult(ScanResult) - Method in interface io.github.classgraph.ClassGraph.ScanResultProcessor
-
Process the result of an asynchronous scan after scanning has completed.
- processWorkUnit(Scanner.ClassfileScanWorkUnit, WorkQueue<Scanner.ClassfileScanWorkUnit>, LogNode) - Method in class io.github.classgraph.Scanner.ClassfileScannerWorkUnitProcessor
-
Process work unit.
- processWorkUnit(T, WorkQueue<T>, LogNode) - Method in interface nonapi.io.github.classgraph.concurrency.WorkQueue.WorkUnitProcessor
-
Process a work unit.
- processWorkUnits(Collection<W>, LogNode, WorkQueue.WorkUnitProcessor<W>) - Method in class io.github.classgraph.Scanner
-
Process work units.
- 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.
Q
- QUARKUS_CLASSLOADER - Static variable in class nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler
- QuarkusClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Quarkus ClassLoader.
- QuarkusClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler
-
Class cannot be constructed.
- quoteList(Collection<String>, StringBuilder) - Static method in class nonapi.io.github.classgraph.scanspec.AcceptReject
-
Quote list.
R
- raf - Variable in class nonapi.io.github.classgraph.fileslice.FileSlice
-
The
RandomAccessFile
opened on theFile
. - 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
-
RandomAccessReader
for aByteBuffer
. - RandomAccessByteBufferReader(ByteBuffer, long, long) - Constructor for class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
-
Constructor.
- RandomAccessFileChannelReader - Class in nonapi.io.github.classgraph.fileslice.reader
-
RandomAccessReader
for aFile
. - RandomAccessFileChannelReader(FileChannel, long, long) - Constructor for class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
-
Constructor.
- randomAccessReader - Variable in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
If slice is not deflated, a
RandomAccessReader
for either theArraySlice
orFileSlice
concrete subclass. - 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 thisSlice
. - RandomAccessReader - Interface in nonapi.io.github.classgraph.fileslice.reader
-
Interface for random access to values in byte order.
- rawClasspathEltOrderStrs - Variable in class io.github.classgraph.ScanResult
-
The order of raw classpath elements.
- rawPath - Variable in class io.github.classgraph.ClasspathElementZip
-
The
String
representation of the path string,URL
,URI
, orPath
for this zipfile. - rawType - Variable in class nonapi.io.github.classgraph.json.ParameterizedTypeImpl
-
The raw type.
- rawVersion - Variable in class io.github.classgraph.ModuleRef
-
The raw module version, or null if none.
- ReachableAndDirectlyRelatedClasses(Set<ClassInfo>, Set<ClassInfo>) - Constructor for class io.github.classgraph.ClassInfo.ReachableAndDirectlyRelatedClasses
-
Constructor.
- reachableClasses - Variable in class io.github.classgraph.ClassInfo.ReachableAndDirectlyRelatedClasses
-
The reachable classes.
- 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 aMappedByteBuffer
, ifClassGraph.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 aMappedByteBuffer
, ifClassGraph.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 - Static variable in class nonapi.io.github.classgraph.utils.ProxyingInputStream
- 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. - readAnnotation() - Method in class io.github.classgraph.Classfile
-
Read annotation entry from classfile.
- readAnnotationElementValue() - Method in class io.github.classgraph.Classfile
-
Read annotation element value from classfile.
- readBasicClassInfo() - Method in class io.github.classgraph.Classfile
-
Read basic class information.
- 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).
- readCentralDirectory(NestedJarHandler, LogNode) - Method in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
Read the central directory of the zipfile.
- readClassAttributes() - Method in class io.github.classgraph.Classfile
-
Read class attributes.
- readCloseable() - Method in class io.github.classgraph.Resource
-
Open a
ByteBuffer
for a classpath resource, and wrap it in aCloseableByteBuffer
instance, which implements theCloseable.close()
method to free the underlyingByteBuffer
whenCloseableByteBuffer.close()
is called, by automatically callingResource.close()
. - readConstantPoolEntries(LogNode) - Method in class io.github.classgraph.Classfile
-
Read constant pool entries.
- reader - Variable in class io.github.classgraph.Classfile
-
The
ClassfileReader
for the current classfile. - readFields() - Method in class io.github.classgraph.Classfile
-
Read the class' fields.
- 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).
- readInterfaces() - Method in class io.github.classgraph.Classfile
-
Read the class' interfaces.
- 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).
- readMethods() - Method in class io.github.classgraph.Classfile
-
Read the class' methods.
- readNBytes(byte[], int, int) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
- readNBytes(int) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
- readNBytes1 - Static variable in class nonapi.io.github.classgraph.utils.ProxyingInputStream
- readNBytes3 - Static variable 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 ";".
- readTo(int) - Method in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
Called when there is a buffer underrun to ensure there are sufficient bytes available in the array to read the given number of bytes at the given start index.
- readTypePath() - Method in class io.github.classgraph.Classfile
- 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).
- receiverTypeAnnotationInfo - Variable in class io.github.classgraph.MethodTypeSignature
-
Any type annotation(s) on an explicit receiver parameter.
- RECORD - io.github.classgraph.ClassInfo.ClassType
-
A record type.
- RecyclableInflater() - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler.RecyclableInflater
- recycle(T) - Method in class nonapi.io.github.classgraph.recycler.Recycler
-
Recycle an object for reuse by a subsequent call to
Recycler.acquire()
. - RecycleOnClose<T,E extends java.lang.Exception> - Class in nonapi.io.github.classgraph.recycler
-
An AutoCloseable wrapper for a recyclable object instance.
- RecycleOnClose(Recycler<T, E>, T) - Constructor for class nonapi.io.github.classgraph.recycler.RecycleOnClose
-
Acquire or allocate an instance.
- recycler - Variable in class nonapi.io.github.classgraph.recycler.RecycleOnClose
-
The recycler.
- Recycler<T,E extends java.lang.Exception> - Class in nonapi.io.github.classgraph.recycler
-
Recycler for instances of type T, where instantiating this type may throw checked exception E.
- Recycler() - Constructor for class nonapi.io.github.classgraph.recycler.Recycler
- refdClassNames - Variable in class io.github.classgraph.Classfile
-
Referenced class names.
- reference - Variable in class io.github.classgraph.ModuleRef
-
The ModuleReference for the module.
- referencedClasses - Variable in class io.github.classgraph.ClassInfo
-
A list of ClassInfo objects for classes referenced by this class.
- referencedClassNames - Variable in class io.github.classgraph.ClassInfo
-
Names of classes referenced by this class in class refs and type signatures in the constant pool of the classfile.
- 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.
- ReflectionDriver - Class in nonapi.io.github.classgraph.reflection
-
Reflection driver
- ReflectionDriver() - Constructor for class nonapi.io.github.classgraph.reflection.ReflectionDriver
- ReflectionDriver.ClassMemberCache - Class in nonapi.io.github.classgraph.reflection
-
Caches class members.
- reflectionUtils - Variable in class io.github.classgraph.ClassGraph
- reflectionUtils - Variable in class io.github.classgraph.ModuleReaderProxy
- reflectionUtils - Variable in class io.github.classgraph.ModuleRef
- reflectionUtils - Variable in class io.github.classgraph.ScanResult
- reflectionUtils - Variable in class nonapi.io.github.classgraph.classpath.CallStackReader
- 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.classpath.ModuleFinder
- reflectionUtils - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
- reflectionUtils - Variable in class nonapi.io.github.classgraph.json.ClassFieldCache
- 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
. - ReflectionUtils.PrivilegedActionInvocationHandler<T> - Class in nonapi.io.github.classgraph.reflection
- 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).
- relatedClasses - Variable in class io.github.classgraph.ClassInfo
-
The set of classes related to this one.
- relativePath - Variable in class io.github.classgraph.Classfile
-
The relative path to the classfile (should correspond to className).
- relativePathToResource - Variable in class io.github.classgraph.ClasspathElementZip
-
A map from relative path to
Resource
for non-rejected zip entries. - release(ByteBuffer) - Method in class io.github.classgraph.ModuleReaderProxy
-
Release a
ByteBuffer
allocated by callingModuleReaderProxy.read(String)
. - RelType() - Constructor for enum io.github.classgraph.ClassInfo.RelType
- remove(int) - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- remove(Object) - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- 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.PotentiallyUnmodifiableList
- removeTempFile(File) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
Attempt to remove a temporary file.
- 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.
- REPEATING_DOTS - Static variable in class nonapi.io.github.classgraph.utils.JarUtils
-
The Constant REPEATING_DOTS.
- reset() - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler.RecyclableInflater
-
Called when an
Inflater
instance is recycled, to reset the inflater so it can accept new input. - reset() - Method in interface nonapi.io.github.classgraph.recycler.Resettable
-
Reset a recycleable object (called when the object is recycled).
- 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.
- resolvedTypeArguments - Variable in class nonapi.io.github.classgraph.json.TypeResolutions
-
The resolved type arguments.
- resolveTypes - Variable in class nonapi.io.github.classgraph.json.ClassFieldCache
-
Whether or not to resolve types.
- resolveTypeVariables(Type) - Method in class nonapi.io.github.classgraph.json.TypeResolutions
-
Resolve the type variables in a type using a type variable resolution list, producing a resolved type.
- Resource - Class in io.github.classgraph
-
A classpath or module path resource (i.e.
- 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<Resource>) - Constructor for class io.github.classgraph.ResourceList
-
Create a new modifiable empty
ResourceList
, given an initial collection ofResource
objects. - ResourceList.ByteArrayConsumer - Interface in io.github.classgraph
-
A
FunctionalInterface
for consuming the contents of aResource
as a byte array. - ResourceList.ByteArrayConsumerThrowsIOException - Interface in io.github.classgraph
-
A
FunctionalInterface
for consuming the contents of aResource
as a byte array, throwingIOException
to the caller if an IO exception occurs. - ResourceList.ByteBufferConsumer - Interface in io.github.classgraph
- ResourceList.ByteBufferConsumerThrowsIOException - Interface in io.github.classgraph
-
A
FunctionalInterface
for consuming the contents of aResource
as aByteBuffer
, throwingIOException
to the caller if an IO exception occurs. - ResourceList.InputStreamConsumer - Interface in io.github.classgraph
- ResourceList.InputStreamConsumerThrowsIOException - Interface in io.github.classgraph
-
A
FunctionalInterface
for consuming the contents of aResource
as anInputStream
, throwingIOException
to the caller if an IO exception occurs. - ResourceList.ResourceFilter - Interface in io.github.classgraph
-
Filter a
ResourceList
using a predicate mapping aResource
object to a boolean, producing anotherResourceList
for all items in the list for which the predicate is true. - resourceToClose - Variable in class nonapi.io.github.classgraph.fileslice.reader.ClassfileReader
-
The underlying resource to close when
close()
is called. - resultType - Variable in class io.github.classgraph.MethodTypeSignature
-
The method result type.
- retainAll(Collection<?>) - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- reusableByteBuffer - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
-
The reusable byte buffer.
- RT_JAR - Static variable in class nonapi.io.github.classgraph.classpath.SystemJarFinder
-
The path of the first "rt.jar" found.
- RT_JARS - Static variable in class nonapi.io.github.classgraph.classpath.SystemJarFinder
-
The paths of any "rt.jar" files found in the JRE.
- runFinalizationMethod - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
System.runFinalization() -- deprecated in JDK 18, so accessed by reflection.
- runFinalizationMethod() - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
- RUNNER_CLASSLOADER - Static variable in class nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler
- RUNTIME_CLASSLOADER - Static variable in class nonapi.io.github.classgraph.classloaderhandler.QuarkusClassLoaderHandler
- runWorkLoop() - Method in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
Start a worker.
- runWorkQueue(Collection<U>, ExecutorService, InterruptionChecker, int, LogNode, WorkQueue.WorkUnitProcessor<U>) - 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
- safe - Static variable in class nonapi.io.github.classgraph.utils.URLPathEncoder
-
Whether an ASCII character is URL-safe.
- 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.
- sanitizeFilename(String) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
Sanitize filename.
- 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(boolean, ExecutorService, int) - Method in class io.github.classgraph.ClassGraph
-
Asynchronously scans the classpath for matching files, returning a
Future<ScanResult>
. - scanAsync(ExecutorService, int) - Method in class io.github.classgraph.ClassGraph
-
Asynchronously scans the classpath for matching files, returning a
Future<ScanResult>
. - scanAsync(ExecutorService, int, ClassGraph.ScanResultProcessor, ClassGraph.FailureHandler) - Method in class io.github.classgraph.ClassGraph
-
Asynchronously scans the classpath, calling a
ClassGraph.ScanResultProcessor
callback on success or aClassGraph.FailureHandler
callback on failure. - scanDirs - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
If true, scan directories.
- scanJars - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
If true, scan jarfiles.
- scanLog - Variable in class io.github.classgraph.Resource
-
The
LogNode
used to log that the resource was found when classpath element paths are scanned. - scanModules - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
If true, scan modules.
- scanned - Variable in class io.github.classgraph.ClasspathElement
-
Flag to ensure classpath element is only scanned once.
- scannedCanonicalPaths - Variable in class io.github.classgraph.ClasspathElementDir
-
Used to ensure that recursive scanning doesn't get into an infinite loop due to a link cycle.
- scannedClassfiles - Variable in class io.github.classgraph.Scanner.ClassfileScannerWorkUnitProcessor
-
The valid
Classfile
objects created by scanning classfiles. - Scanner - Class in io.github.classgraph
-
The classpath scanner.
- Scanner(boolean, ScanSpec, ExecutorService, int, ClassGraph.ScanResultProcessor, ClassGraph.FailureHandler, ReflectionUtils, LogNode) - Constructor for class io.github.classgraph.Scanner
-
The classpath scanner.
- Scanner.ClassfileScannerWorkUnitProcessor - Class in io.github.classgraph
-
WorkUnitProcessor for scanning classfiles.
- Scanner.ClassfileScanWorkUnit - Class in io.github.classgraph
-
Used to enqueue classfiles for scanning.
- Scanner.ClasspathEntryWorkUnit - Class in io.github.classgraph
-
Used to enqueue classpath elements for opening.
- scanNestedJars - Variable in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
If true, scan nested jarfiles (jarfiles within jarfiles).
- scanPathRecursively(Path, LogNode) - Method in class io.github.classgraph.ClasspathElementDir
-
Recursively scan a
Path
for sub-path patterns matching the scan spec. - scanPaths(LogNode) - Method in class io.github.classgraph.ClasspathElement
-
Scan paths in the classpath element for accept/reject criteria, creating Resource objects for accepted and non-rejected resources and classfiles.
- scanPaths(LogNode) - Method in class io.github.classgraph.ClasspathElementDir
-
Hierarchically scan directory structure for classfiles and matching files.
- scanPaths(LogNode) - Method in class io.github.classgraph.ClasspathElementModule
-
Scan for package matches within module.
- scanPaths(LogNode) - Method in class io.github.classgraph.ClasspathElementZip
-
Scan for path matches within jarfile, and record ZipEntry objects of matching files.
- scanResult - Variable in class io.github.classgraph.ClassGraphClassLoader
-
The scan result.
- scanResult - Variable in class io.github.classgraph.MethodParameterInfo
-
The scan result.
- scanResult - Variable in class io.github.classgraph.ScanResultObject
-
The scan result.
- ScanResult - Class in io.github.classgraph
-
The result of a scan.
- ScanResult(ScanSpec, List<ClasspathElement>, List<String>, ClasspathFinder, Map<String, ClassInfo>, Map<String, PackageInfo>, Map<String, ModuleInfo>, Map<File, Long>, NestedJarHandler, LogNode) - Constructor for class io.github.classgraph.ScanResult
-
The result of a scan.
- ScanResult.SerializationFormat - Class in io.github.classgraph
-
A class to hold a serialized ScanResult along with the ScanSpec that was used to scan.
- ScanResultObject - Class in io.github.classgraph
-
A superclass of objects accessible from a
ScanResult
that are associated with aClassInfo
object. - ScanResultObject() - Constructor for class io.github.classgraph.ScanResultObject
- scanResultProcessor - Variable in class io.github.classgraph.Scanner
-
The scan result processor.
- scanSpec - Variable in class io.github.classgraph.Classfile
-
The scan spec.
- scanSpec - Variable in class io.github.classgraph.ClassGraph
-
The scanning specification.
- scanSpec - Variable in class io.github.classgraph.ClasspathElement
-
The scan spec.
- scanSpec - Variable in class io.github.classgraph.Scanner.ClassfileScannerWorkUnitProcessor
-
The scan spec.
- scanSpec - Variable in class io.github.classgraph.Scanner
-
The scan spec.
- scanSpec - Variable in class io.github.classgraph.ScanResult
-
The scan spec.
- scanSpec - Variable in class io.github.classgraph.ScanResult.SerializationFormat
-
The scan spec.
- scanSpec - Variable in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
The scan spec.
- scanSpec - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
The
ScanSpec
. - 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.
- ScanSpecPathMatch() - Constructor for enum nonapi.io.github.classgraph.scanspec.ScanSpec.ScanSpecPathMatch
- scheduleScanningIfExternalClass(String, String, LogNode) - Method in class io.github.classgraph.Classfile
-
Extend scanning to a superclass, interface or annotation.
- SCHEME_PREFIXES - Static variable in class nonapi.io.github.classgraph.utils.URLPathEncoder
-
Valid classpath URL scheme prefixes.
- schemeMatcher - Static variable in class nonapi.io.github.classgraph.classpath.ClasspathOrder
-
Match URL schemes (must consist of at least two chars, otherwise this is Windows drive letter).
- schemeOneSlashMatcher - Static variable in class nonapi.io.github.classgraph.utils.FastPathResolver
-
Match custom URLs that are followed by one slash.
- schemeTwoSlashMatcher - Static variable in class nonapi.io.github.classgraph.utils.FastPathResolver
-
Match custom URLs that are followed by two slashes.
- scratchArr - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
-
The scratch arr.
- scratchByteBuf - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
-
The scratch byte buf.
- sendPoisonPills() - Method in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
Send poison pills to workers.
- 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.
- SERIALIZATION_FORMAT_CLASS_NAME - Static variable in class nonapi.io.github.classgraph.json.ClassFields
-
The name of the SerializationFormat class (used by ClassGraph to serialize a ScanResult).
- SERIALIZATION_FORMAT_FIELD_NAME_ORDER_COMPARATOR - Static variable in class nonapi.io.github.classgraph.json.ClassFields
-
Used to sort fields into deterministic order for SerializationFormat class (which needs to have "format" field in first position for ClassGraph's serialization format) (#383).
- SerializationFormat() - Constructor for class io.github.classgraph.ScanResult.SerializationFormat
-
Constructor.
- SerializationFormat(String, ScanSpec, List<ClassInfo>, List<PackageInfo>, List<ModuleInfo>, List<String>) - Constructor for class io.github.classgraph.ScanResult.SerializationFormat
-
Constructor.
- 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.
- serialVersionUID - Static variable in class io.github.classgraph.AnnotationInfoList
-
serialVersionUID
- serialVersionUID - Static variable in class io.github.classgraph.AnnotationParameterValueList
-
serialVersionUID
- serialVersionUID - Static variable in exception io.github.classgraph.Classfile.ClassfileFormatException
-
serialVersionUID.
- serialVersionUID - Static variable in exception io.github.classgraph.Classfile.SkipClassException
-
serialVersionUID.
- serialVersionUID - Static variable in exception io.github.classgraph.ClassGraphException
-
serialVersionUID.
- serialVersionUID - Static variable in class io.github.classgraph.ClassInfoList
-
serialVersionUID
- serialVersionUID - Static variable in class io.github.classgraph.FieldInfoList
-
serialVersionUID
- serialVersionUID - Static variable in class io.github.classgraph.InfoList
-
serialVersionUID.
- serialVersionUID - Static variable in class io.github.classgraph.MappableInfoList
-
serialVersionUID
- serialVersionUID - Static variable in class io.github.classgraph.MethodInfoList
-
serialVersionUID
- serialVersionUID - Static variable in class io.github.classgraph.ModuleInfoList
-
serialVersionUID
- serialVersionUID - Static variable in class io.github.classgraph.PackageInfoList
-
serialVersionUID
- serialVersionUID - Static variable in class io.github.classgraph.PotentiallyUnmodifiableList
-
serialVersionUID.
- serialVersionUID - Static variable in class io.github.classgraph.ResourceList
-
serialVersionUID.
- serialVersionUID - Static variable in exception nonapi.io.github.classgraph.concurrency.SingletonMap.NewInstanceException
-
serialVersionUID.
- serialVersionUID - Static variable in exception nonapi.io.github.classgraph.concurrency.SingletonMap.NullSingletonException
-
serialVersionUID.
- serialVersionUID - Static variable in exception nonapi.io.github.classgraph.types.ParseException
-
serialVersionUID.
- set(int, T) - Method in class io.github.classgraph.PotentiallyUnmodifiableList
- set(V) - Method in class nonapi.io.github.classgraph.concurrency.SingletonMap.SingletonHolder
-
Set the singleton value, and decreases the countdown latch to 0.
- SET_COMPARATOR - Static variable in class nonapi.io.github.classgraph.json.JSONSerializer
-
Comparator for set elements, to sort them into some sort of consistent order, so that JSON ordering is deterministic.
- setAccessibleMethod - Static variable in class nonapi.io.github.classgraph.json.JSONUtils
- setAccessibleMethod - Variable in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- setAccessibleMethod - Static variable in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- setClassfileVersion(int, int) - Method in class io.github.classgraph.ClassInfo
-
Set classfile version.
- setExecutionException(ExecutionException) - Method in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
-
Set the
ExecutionException
that was thrown by a worker. - setField - Variable in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- setField - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- setField(Object, Field, Object) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- setField(Object, Field, Object) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- setField(Object, Field, Object) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Set the value of a non-static field, unboxing the value if necessary.
- setField(Object, Field, Object) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- setFieldValue(Object, Object) - Method in class nonapi.io.github.classgraph.json.FieldTypeInfo
-
Set the field's value, appropriately handling primitive-typed fields.
- setIsAnnotation(boolean) - Method in class io.github.classgraph.ClassInfo
-
Set isAnnotation status.
- setIsInterface(boolean) - Method in class io.github.classgraph.ClassInfo
-
Set isInterface status.
- setIsRecord(boolean) - Method in class io.github.classgraph.ClassInfo
-
Set isRecord status.
- setMaxBufferedJarRAMSize(int) - Method in class io.github.classgraph.ClassGraph
-
The maximum size of an inner (nested) jar that has been deflated (i.e.
- setModifiers(int) - Method in class io.github.classgraph.ClassInfo
-
Set class modifiers.
- setPosition(int) - Method in class nonapi.io.github.classgraph.types.Parser
-
Set the position of the parser within the string.
- setReferencedClasses(ClassInfoList) - Method in class io.github.classgraph.ClassInfo
-
Set the list of ClassInfo objects for classes referenced by this class.
- setScanResult(ScanResult) - Method in class io.github.classgraph.AnnotationClassRef
- setScanResult(ScanResult) - Method in class io.github.classgraph.AnnotationInfo
- setScanResult(ScanResult) - Method in class io.github.classgraph.AnnotationParameterValue
- setScanResult(ScanResult) - Method in class io.github.classgraph.ArrayClassInfo
- setScanResult(ScanResult) - Method in class io.github.classgraph.ArrayTypeSignature
- setScanResult(ScanResult) - Method in class io.github.classgraph.BaseTypeSignature
- setScanResult(ScanResult) - Method in class io.github.classgraph.ClassInfo
- setScanResult(ScanResult) - Method in class io.github.classgraph.ClassRefTypeSignature
- setScanResult(ScanResult) - Method in class io.github.classgraph.ClassTypeSignature
- setScanResult(ScanResult) - Method in class io.github.classgraph.FieldInfo
- setScanResult(ScanResult) - Method in class io.github.classgraph.HierarchicalTypeSignature
- setScanResult(ScanResult) - Method in class io.github.classgraph.MethodInfo
- setScanResult(ScanResult) - Method in class io.github.classgraph.MethodParameterInfo
-
Sets the scan result.
- setScanResult(ScanResult) - Method in class io.github.classgraph.MethodTypeSignature
- setScanResult(ScanResult) - Method in class io.github.classgraph.ObjectTypedValueWrapper
- setScanResult(ScanResult) - Method in class io.github.classgraph.ScanResultObject
-
Set ScanResult backreferences in info objects after scan has completed.
- setScanResult(ScanResult) - Method in class io.github.classgraph.TypeArgument
- setScanResult(ScanResult) - Method in class io.github.classgraph.TypeParameter
- setScanResult(ScanResult) - Method in class io.github.classgraph.TypeVariableSignature
- setSourceFile(String) - Method in class io.github.classgraph.ClassInfo
-
Set source file.
- 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).
- setStaticField - Variable in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- setStaticField(Field, Object) - Method in class nonapi.io.github.classgraph.reflection.JVMDriverReflectionDriver
- setStaticField(Field, Object) - Method in class nonapi.io.github.classgraph.reflection.NarcissusReflectionDriver
- setStaticField(Field, Object) - Method in class nonapi.io.github.classgraph.reflection.ReflectionDriver
-
Set the value of a static field, unboxing the value if necessary.
- setStaticField(Field, Object) - Method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- setTypeSignature(String) - Method in class io.github.classgraph.ClassInfo
-
Set the class type signature, including any type params.
- setValue(Object) - Method in class io.github.classgraph.AnnotationParameterValue
-
Set (update) the value of the annotation parameter.
- SHORT - nonapi.io.github.classgraph.json.FieldTypeInfo.PrimitiveType
-
Short type.
- shortArrayValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Short array value.
- shortValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
Short value.
- SHOW_AFTER - Static variable in class nonapi.io.github.classgraph.types.Parser
-
How much context to show after the current position.
- SHOW_BEFORE - Static variable in class nonapi.io.github.classgraph.types.Parser
-
How much context to show before the current position.
- SimpleThreadFactory - Class in nonapi.io.github.classgraph.concurrency
-
Simple implementation of a thread factory.
- SimpleThreadFactory(String, boolean) - Constructor for class nonapi.io.github.classgraph.concurrency.SimpleThreadFactory
-
Constructor.
- singleton - Variable in class nonapi.io.github.classgraph.concurrency.SingletonMap.SingletonHolder
-
The singleton.
- SingletonHolder() - Constructor for class nonapi.io.github.classgraph.concurrency.SingletonMap.SingletonHolder
- SingletonMap<K,V,E extends java.lang.Exception> - 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 in nonapi.io.github.classgraph.concurrency
-
Thrown when
SingletonMap.newInstance(Object, LogNode)
throws an exception. - SingletonMap.NewInstanceFactory<V,E extends java.lang.Exception> - Interface in nonapi.io.github.classgraph.concurrency
-
Create a new instance.
- SingletonMap.NullSingletonException - Exception in nonapi.io.github.classgraph.concurrency
-
Thrown when
SingletonMap.newInstance(Object, LogNode)
returns null. - SingletonMap.SingletonHolder<V> - Class in nonapi.io.github.classgraph.concurrency
-
Wrapper to allow an object instance to be put into a ConcurrentHashMap using putIfAbsent() without requiring the instance to be initialized first, so that putIfAbsent can be performed without wrapping it with a synchronized lock, and so that initialization work is not wasted if an object is already in the map for the key.
- 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
- SkipClassException(String) - Constructor for exception io.github.classgraph.Classfile.SkipClassException
-
Constructor.
- skipClasspathElement - Variable in class io.github.classgraph.ClasspathElement
-
True if there was an exception when trying to open this classpath element (e.g.
- skipNBytes - Static variable 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.FastZipEntry
-
The
Slice
for the zip entry's raw data (which can be either stored or deflated). - slice - Variable in class nonapi.io.github.classgraph.fastzipfilereader.PhysicalZipFile
-
The
Slice
for the zipfile. - 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
- Slice - Class in nonapi.io.github.classgraph.fileslice
-
A slice of a
File
,ByteBuffer
orInputStream
. - 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.reader.RandomAccessArrayReader
-
The length of the slice within the array.
- sliceLength - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
-
The slice length.
- sliceLength - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
-
The slice length.
- 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.reader.RandomAccessArrayReader
-
The start index of the slice within the array.
- sliceStartPos - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessByteBufferReader
-
The slice start pos.
- sliceStartPos - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
-
The slice start pos.
- 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 - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Solaris.
- sortByName - Variable in class io.github.classgraph.ClassInfoList
-
Whether to sort by name.
- sortCopy(Collection<T>) - Static method in class nonapi.io.github.classgraph.utils.CollectionUtils
-
Copy and sort a collection.
- sortIfNotEmpty(List<T>) - 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<T>, Comparator<? super T>) - 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). - sortKeyPrefix - Variable in class nonapi.io.github.classgraph.utils.LogNode
-
The sort key prefix for deterministic ordering of log entries.
- sortKeyUniqueSuffix - Static variable in class nonapi.io.github.classgraph.utils.LogNode
-
The sort key suffix for this log entry, used to make sort keys unique.
- sortPrefixes() - Method in class nonapi.io.github.classgraph.scanspec.AcceptReject
-
Need to sort prefixes to ensure correct accept/reject evaluation (see Issue #167).
- sortPrefixes() - Method in class nonapi.io.github.classgraph.scanspec.ScanSpec
-
Sort prefixes to ensure correct accept/reject evaluation (see Issue #167).
- sourceFile - Variable in class io.github.classgraph.Classfile
-
The source file, such as Classfile.java
- sourceFile - Variable in class io.github.classgraph.ClassInfo
-
The name of the source file this class has been compiled from
- SPECIFICATION_TITLE_KEY - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
The
"Specification-Title"
manifest key. - spillToDisk(InputStream, String, byte[], byte[], LogNode) - Method in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
Spill an
InputStream
to disk if the stream is too large to fit in RAM. - SPRING_BOOT_CLASSES_KEY - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
The
"Spring-Boot-Classes"
manifest key. - SPRING_BOOT_LIB_KEY - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
The
"Spring-Boot-Lib"
manifest key. - SpringBootRestartClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
This handler uses
nonapi.io.github.classgraph.classloaderhandler.ClassLoaderHandler.DelegationOrder#PARENT_LAST
to support theRestartClassLoader
of Spring Boot's devtools. - SpringBootRestartClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.SpringBootRestartClassLoaderHandler
-
Class cannot be constructed.
- stackTrace - Variable in class nonapi.io.github.classgraph.utils.LogNode
-
The stacktrace, if this log entry was due to an exception.
- STANDARD_CLASS - io.github.classgraph.ClassInfo.ClassType
-
A standard class (not an interface or annotation).
- STANDARD_CLASS_COLOR - Static variable in class io.github.classgraph.GraphvizDotfileGenerator
-
The color for standard classes.
- StandardReflectionDriver - Class in nonapi.io.github.classgraph.reflection
-
Standard reflection driver (uses
AccessibleObject.setAccessible(boolean)
to access non-public fields if necessary). - StandardReflectionDriver() - Constructor for class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- StandardReflectionDriver.PrivilegedActionInvocationHandler<T> - Class in nonapi.io.github.classgraph.reflection
- startWorkers(ExecutorService, int) - Method in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
Start worker threads with a shared log.
- state - Variable in class nonapi.io.github.classgraph.types.Parser
-
Extra parsing state.
- 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.
- string - Variable in class nonapi.io.github.classgraph.types.Parser
-
The string being parsed.
- stringArrayValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
String array value.
- stringInternMap - Variable in class io.github.classgraph.Classfile
-
The string intern map.
- stringInternMap - Variable in class io.github.classgraph.Scanner.ClassfileScannerWorkUnitProcessor
-
The string intern map.
- StringUtils - Class in nonapi.io.github.classgraph.utils
-
File utilities.
- StringUtils() - Constructor for class nonapi.io.github.classgraph.utils.StringUtils
-
Constructor.
- stringValue - Variable in class io.github.classgraph.ObjectTypedValueWrapper
-
String value.
- strippedAutomaticPackageRootPrefixes - Variable in class io.github.classgraph.ClasspathElementZip
-
A list of all automatic package root prefixes found as prefixes of paths within this zipfile.
- SUBCLASSES - io.github.classgraph.ClassInfo.RelType
-
Subclasses of this class, if this is a regular class.
- suffixes - Variable in class io.github.classgraph.ClassRefTypeSignature
-
Type suffixes.
- suffixesMatch(ClassRefTypeSignature, ClassRefTypeSignature) - Static method in class io.github.classgraph.ClassRefTypeSignature
- suffixTypeAnnotations - Variable in class io.github.classgraph.ClassRefTypeSignature
-
The suffix type annotations.
- suffixTypeArguments - Variable in class io.github.classgraph.ClassRefTypeSignature
-
The suffix type arguments.
- SUPER - io.github.classgraph.TypeArgument.Wildcard
-
super.
- SUPERCLASSES - io.github.classgraph.ClassInfo.RelType
-
Superclasses of this class, if this is a regular class.
- superclassName - Variable in class io.github.classgraph.Classfile
-
The superclass name.
- superclassSignature - Variable in class io.github.classgraph.ClassTypeSignature
-
The superclass type.
- superinterfaceSignatures - Variable in class io.github.classgraph.ClassTypeSignature
-
The superinterface signatures.
- SystemJarFinder - Class in nonapi.io.github.classgraph.classpath
-
A class to find rt.jar and any JRE "lib/" or "ext/" jars.
- SystemJarFinder() - Constructor for class nonapi.io.github.classgraph.classpath.SystemJarFinder
-
Constructor.
- systemModuleRefs - Variable in class nonapi.io.github.classgraph.classpath.ModuleFinder
-
The system module refs.
T
- TEMP_FILENAME_LEAF_SEPARATOR - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
The separator between random temp filename part and leafname.
- tempFiles - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
Any temporary files created while scanning.
- theUnsafe - Static variable in class nonapi.io.github.classgraph.utils.FileUtils
-
The Unsafe object.
- threadIdx - Static variable in class nonapi.io.github.classgraph.concurrency.SimpleThreadFactory
-
The thread index counter, used for assigning unique thread ids.
- threadNamePrefix - Variable in class nonapi.io.github.classgraph.concurrency.SimpleThreadFactory
-
The thread name prefix.
- thrownExceptionNames - Variable in class io.github.classgraph.MethodInfo
- thrownExceptions - Variable in class io.github.classgraph.MethodInfo
- thrownExecutionException - Variable in class nonapi.io.github.classgraph.concurrency.InterruptionChecker
-
The first
ExecutionException
that was thrown. - throwsSignatures - Variable in class io.github.classgraph.ClassTypeSignature
-
The throws signatures (usually null).
- throwsSignatures - Variable in class io.github.classgraph.MethodTypeSignature
-
The throws type signatures.
- timeStampMillis - Variable in class nonapi.io.github.classgraph.utils.LogNode
-
The timestamp at which the log node was created, in epoch millis.
- timeStampNano - Variable in class nonapi.io.github.classgraph.utils.LogNode
-
The timestamp at which the log node was created (relative to some arbitrary system timepoint).
- 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.
- toJSONGraph(Object, Set<ReferenceEqualityKey<Object>>, Set<ReferenceEqualityKey<Object>>, ClassFieldCache, Map<ReferenceEqualityKey<Object>, JSONObject>, boolean) - Static method in class nonapi.io.github.classgraph.json.JSONSerializer
-
Turn an object graph into a graph of JSON objects, arrays, and values.
- toJSONString(Map<ReferenceEqualityKey<JSONReference>, CharSequence>, boolean, int, int, StringBuilder) - Method in class nonapi.io.github.classgraph.json.JSONArray
-
Serialize this JSONArray to a string.
- toJSONString(Map<ReferenceEqualityKey<JSONReference>, CharSequence>, boolean, int, int, StringBuilder) - Method in class nonapi.io.github.classgraph.json.JSONObject
-
Serialize this JSONObject to a string.
- token - Variable in class nonapi.io.github.classgraph.types.Parser
-
The token buffer.
- toLowerCase - Static variable in class nonapi.io.github.classgraph.fastzipfilereader.LogicalZipFile
-
For quickly converting ASCII characters to lower case.
- TomcatWebappClassLoaderBaseHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Tomcat/Catalina WebappClassLoaderBase.
- TomcatWebappClassLoaderBaseHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.TomcatWebappClassLoaderBaseHandler
-
Class cannot be constructed.
- topLevelLog - Variable in class io.github.classgraph.ClassGraph
-
If non-null, log while scanning.
- topLevelLog - Variable in class io.github.classgraph.Scanner
-
The toplevel log.
- topLevelLog - Variable in class io.github.classgraph.ScanResult
-
The toplevel log.
- toString - Variable in class io.github.classgraph.Resource
-
The cached result of toString().
- toString() - Method in class io.github.classgraph.Classfile.TypePathNode
- toString() - Method in class io.github.classgraph.ClasspathElementDir
-
Return the classpath element directory as a String.
- toString() - Method in class io.github.classgraph.ClasspathElementModule
-
Return the module reference as a String.
- toString() - Method in class io.github.classgraph.ClasspathElementZip
-
Return the classpath element path.
- 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.ScanResultObject
-
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.PhysicalZipFile
- toString() - Method in class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
- toString() - Method in class nonapi.io.github.classgraph.json.FieldTypeInfo
- toString() - Method in class nonapi.io.github.classgraph.json.ParameterizedTypeImpl
- toString() - Method in class nonapi.io.github.classgraph.json.ReferenceEqualityKey
-
To string.
- toString() - Method in class nonapi.io.github.classgraph.json.TypeResolutions
- 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) - Method in class io.github.classgraph.ScanResultObject
-
Render to string, with simple names for classes if useSimpleNames is true.
- toString(boolean, boolean, StringBuilder) - Method in class io.github.classgraph.FieldInfo
- 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.ObjectTypedValueWrapper
- toString(boolean, StringBuilder) - Method in class io.github.classgraph.ScanResultObject
-
Render to string.
- toString(int, StringBuilder) - Method in class nonapi.io.github.classgraph.utils.LogNode
-
Recursively build the log output.
- toString(Object, boolean, StringBuilder) - Static method in class io.github.classgraph.AnnotationParameterValue
-
Write an annotation parameter value's string representation to the buffer.
- 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
- toStringInternal(String, boolean, int, boolean, boolean, AnnotationInfoList, StringBuilder) - Method in class io.github.classgraph.ClassTypeSignature
-
Render into String form.
- toStringParamValueOnly() - Method in class io.github.classgraph.AnnotationParameterValue
-
To string, param value only.
- toStringParamValueOnly(boolean, StringBuilder) - Method in class io.github.classgraph.AnnotationParameterValue
-
To string, param value only.
- toStringWithSimpleNames() - Method in class io.github.classgraph.MethodParameterInfo
-
Render to string with simple names for classes.
- toStringWithSimpleNames() - Method in class io.github.classgraph.ScanResultObject
-
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.
- TRAILING_DOTS - Static variable in class nonapi.io.github.classgraph.utils.JarUtils
-
The Constant TRAILING_DOTS.
- transferTo - Static variable in class nonapi.io.github.classgraph.utils.ProxyingInputStream
- transferTo(OutputStream) - Method in class nonapi.io.github.classgraph.utils.ProxyingInputStream
- translateSeparator(String, int, int, boolean, StringBuilder) - Static method in class nonapi.io.github.classgraph.utils.FastPathResolver
-
Translate backslashes to forward slashes, optionally removing trailing separator.
- tryMakeAccessible(AccessibleObject) - Static method in class nonapi.io.github.classgraph.json.JSONUtils
- tryMakeAccessible(AccessibleObject) - Static method in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- trySetAccessibleMethod - Static variable in class nonapi.io.github.classgraph.json.JSONUtils
- trySetAccessibleMethod - Static variable in class nonapi.io.github.classgraph.reflection.StandardReflectionDriver
- type - Variable in class nonapi.io.github.classgraph.json.JSONDeserializer.ObjectInstantiation
-
The resolved type of the object instance.
- typeAnnotationDecorators - Variable in class io.github.classgraph.ClassInfo
-
The type annotation decorators for the
ClassTypeSignature
instance. - typeAnnotationDecorators - Variable in class io.github.classgraph.FieldInfo
-
The type annotation decorators for the
TypeSignature
instance of this field. - typeAnnotationDecorators - Variable in class io.github.classgraph.MethodInfo
-
The type annotation decorators for the
MethodTypeSignature
instance. - typeAnnotationInfo - Variable in class io.github.classgraph.HierarchicalTypeSignature
- TypeArgument - Class in io.github.classgraph
-
A type argument.
- TypeArgument(TypeArgument.Wildcard, ReferenceTypeSignature) - Constructor for class io.github.classgraph.TypeArgument
-
Constructor.
- TypeArgument.Wildcard - Enum in io.github.classgraph
-
A type wildcard.
- typeArgumentIdx - Variable in class io.github.classgraph.Classfile.TypePathNode
- typeArguments - Variable in class io.github.classgraph.ClassRefTypeSignature
-
The class type arguments.
- typeDescriptor - Variable in class io.github.classgraph.ClassInfo
-
The synthetic class type descriptor.
- typeDescriptor - Variable in class io.github.classgraph.FieldInfo
-
The parsed type descriptor.
- typeDescriptor - Variable in class io.github.classgraph.MethodInfo
-
The parsed type descriptor.
- typeDescriptor - Variable in class io.github.classgraph.MethodParameterInfo
-
The type descriptor.
- typeDescriptorStr - Variable in class io.github.classgraph.AnnotationClassRef
-
The type descriptor str.
- 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<ReferenceTypeSignature>) - Constructor for class io.github.classgraph.TypeParameter
-
Constructor.
- typeParameterCached - Variable in class io.github.classgraph.TypeVariableSignature
-
The resolved type parameter, if any.
- typeParameters - Variable in class io.github.classgraph.ClassTypeSignature
-
The class type parameters.
- typeParameters - Variable in class io.github.classgraph.MethodTypeSignature
-
The method type parameters.
- typePathKind - Variable in class io.github.classgraph.Classfile.TypePathNode
- TypePathNode(int, int) - Constructor for class io.github.classgraph.Classfile.TypePathNode
- TypeResolutions - Class in nonapi.io.github.classgraph.json
-
A mapping from
TypeVariable
to resolvedType
. - TypeResolutions(ParameterizedType) - Constructor for class nonapi.io.github.classgraph.json.TypeResolutions
-
Produce a list of type variable resolutions from a resolved type, by comparing its actual type parameters with the generic (declared) parameters of its generic type.
- typeSignature - Variable in class io.github.classgraph.AnnotationClassRef
-
The type signature.
- typeSignature - Variable in class io.github.classgraph.ClassInfo
-
The class type signature, parsed.
- typeSignature - Variable in class io.github.classgraph.FieldInfo
-
The parsed type signature.
- typeSignature - Variable in class io.github.classgraph.MethodInfo
-
The parsed type signature (or null if none).
- typeSignature - Variable in class io.github.classgraph.MethodParameterInfo
-
The type signature.
- typeSignature - Variable in class io.github.classgraph.TypeArgument
-
Type signature (will be null if wildcard == ANY).
- 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.
- typeSignatureChar - Variable in class io.github.classgraph.BaseTypeSignature
-
The type signature character used to represent the base type.
- typeSignatureStr - Variable in class io.github.classgraph.ArrayTypeSignature
-
The raw type signature string for the array type.
- typeSignatureStr - Variable in class io.github.classgraph.Classfile
-
The type signature.
- 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() - Constructor for class nonapi.io.github.classgraph.types.TypeUtils
-
Constructor.
- TypeUtils.ModifierType - Enum in nonapi.io.github.classgraph.types
-
The origin of the modifier bits.
- typeVariables - Variable in class nonapi.io.github.classgraph.json.TypeResolutions
-
The type variables.
- TypeVariableSignature - Class in io.github.classgraph
-
A type variable signature.
- TypeVariableSignature(String, String) - Constructor for class io.github.classgraph.TypeVariableSignature
-
Constructor.
U
- uncompressedSize - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The uncompressed size of the zip entry, in bytes.
- unescapeChars(String, boolean, ByteArrayOutputStream) - Static method in class nonapi.io.github.classgraph.utils.URLPathEncoder
-
Unescape chars in a URL.
- unescapePercentEncoding(String, int, int, StringBuilder) - Static method in class nonapi.io.github.classgraph.utils.FastPathResolver
-
Unescape runs of percent encoding, e.g.
- union(ClassInfoList...) - Method in class io.github.classgraph.ClassInfoList
-
Find the union of this
ClassInfoList
with one or more others. - Unix - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Unix or AIX.
- UNIX_NON_PATH_SEPARATOR_COLON_POSITIONS - Static variable in class nonapi.io.github.classgraph.utils.JarUtils
-
The position of the colon characters in the corresponding UNIX_NON_PATH_SEPARATORS array entry.
- UNIX_NON_PATH_SEPARATORS - Static variable in class nonapi.io.github.classgraph.utils.JarUtils
-
On everything but Windows, where the path separator is ':', need to treat the colon in these substrings as non-separators, when at the beginning of the string or following a ':'.
- Unknown - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Unknown.
- UnoOneJarClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Uno-Jar's JarClassLoader and One-Jar's JarClassLoader.
- UnoOneJarClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.UnoOneJarClassLoaderHandler
-
Class cannot be constructed.
- unusedInstances - Variable in class nonapi.io.github.classgraph.recycler.Recycler
-
Instances that have been allocated but are unused.
- uriToURL(URI) - Static method in class io.github.classgraph.Resource
-
Convert a URI to URL, catching "jrt:" URIs as invalid.
- URL_SCHEME_PATTERN - Static variable in class nonapi.io.github.classgraph.utils.JarUtils
-
Check if a path has a URL scheme at the beginning.
- URLClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
ClassLoaderHandler that is able to extract the URLs from a URLClassLoader.
- URLClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.URLClassLoaderHandler
-
Class cannot be constructed.
- URLPathEncoder - Class in nonapi.io.github.classgraph.utils
-
A simple URL path encoder.
- URLPathEncoder() - Constructor for class nonapi.io.github.classgraph.utils.URLPathEncoder
-
Constructor.
- usedInstances - Variable in class nonapi.io.github.classgraph.recycler.Recycler
-
Instances that have been allocated.
- utf8Bytes - Variable in class nonapi.io.github.classgraph.fileslice.reader.RandomAccessFileChannelReader
-
The utf 8 bytes.
V
- value - Variable in class io.github.classgraph.AnnotationParameterValue
-
The parameter value.
- valueName - Variable in class io.github.classgraph.AnnotationEnumValue
-
The value name.
- 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.ClassInfo.ClassType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.classgraph.ClassInfo.RelType
-
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.json.FieldTypeInfo.PrimitiveType
-
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.ClassInfo.ClassType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.classgraph.ClassInfo.RelType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.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.json.FieldTypeInfo.PrimitiveType
-
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.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.
- version - Variable in class nonapi.io.github.classgraph.fastzipfilereader.FastZipEntry
-
The version code (>= 9), or 8 for the base layer or a non-versioned jar (whether JDK 7 or 8 compatible).
- VersionFinder - Class in nonapi.io.github.classgraph.utils
-
Finds the version number of ClassGraph, and the version of the JDK.
- VersionFinder() - Constructor for class nonapi.io.github.classgraph.utils.VersionFinder
-
Constructor.
- VersionFinder.OperatingSystem - Enum in nonapi.io.github.classgraph.utils
-
The operating system type.
W
- weakReference - Variable in class io.github.classgraph.ScanResult
-
The
WeakReference
for this ScanResult. - WeblogicClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Extract classpath entries from the Weblogic ClassLoaders.
- WeblogicClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.WeblogicClassLoaderHandler
-
Class cannot be constructed.
- WebsphereLibertyClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
WebsphereLibertyClassLoaderHandler.
- WebsphereLibertyClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.WebsphereLibertyClassLoaderHandler
-
Class cannot be constructed.
- WebsphereTraditionalClassLoaderHandler - Class in nonapi.io.github.classgraph.classloaderhandler
-
Handle the WebSphere traditonal ClassLoaders.
- WebsphereTraditionalClassLoaderHandler() - Constructor for class nonapi.io.github.classgraph.classloaderhandler.WebsphereTraditionalClassLoaderHandler
-
Class cannot be constructed.
- whitelistClasses(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.acceptClasses(String...)
instead. - whitelistClasspathElementsContainingResourcePath(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.
- whitelistJars(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.acceptJars(String...)
instead. - whitelistLibOrExtJars(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.acceptLibOrExtJars(String...)
instead. - whitelistModules(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.acceptModules(String...)
instead. - whitelistPackages(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.acceptPackages(String...)
instead. - whitelistPackagesNonRecursive(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.acceptPackagesNonRecursive(String...)
instead. - whitelistPaths(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.acceptPaths(String...)
instead. - whitelistPathsNonRecursive(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.Use
ClassGraph.acceptPathsNonRecursive(String...)
instead. - wildcard - Variable in class io.github.classgraph.TypeArgument
-
A wildcard type.
- Wildcard() - Constructor for enum io.github.classgraph.TypeArgument.Wildcard
- Windows - nonapi.io.github.classgraph.utils.VersionFinder.OperatingSystem
-
Windows.
- workerFutures - Variable in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
The Future object added for each worker, used to detect worker completion.
- WorkQueue<T> - Class in nonapi.io.github.classgraph.concurrency
-
A parallel work queue.
- WorkQueue(Collection<T>, WorkQueue.WorkUnitProcessor<T>, int, InterruptionChecker, LogNode) - Constructor for class nonapi.io.github.classgraph.concurrency.WorkQueue
-
A parallel work queue.
- WorkQueue.WorkUnitProcessor<T> - Interface in nonapi.io.github.classgraph.concurrency
-
A work unit processor.
- WorkQueue.WorkUnitWrapper<T> - Class in nonapi.io.github.classgraph.concurrency
-
A wrapper for work units (needed to send a poison pill as a null value, since BlockingQueue does not accept null values).
- workUnit - Variable in class nonapi.io.github.classgraph.concurrency.WorkQueue.WorkUnitWrapper
-
The work unit.
- workUnitProcessor - Variable in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
The work unit processor.
- workUnits - Variable in class nonapi.io.github.classgraph.concurrency.WorkQueue
-
The queue of work units.
- WorkUnitWrapper(T) - Constructor for class nonapi.io.github.classgraph.concurrency.WorkQueue.WorkUnitWrapper
-
Constructor.
- wrappedKey - Variable in class nonapi.io.github.classgraph.json.ReferenceEqualityKey
-
The wrapped key.
Z
- zipFilePath - Variable in class io.github.classgraph.ClasspathElementZip
-
The normalized path of the jarfile, "!/"-separated if nested, excluding any package root.
- ZipFileSlice - Class in nonapi.io.github.classgraph.fastzipfilereader
-
A zipfile slice (a sub-range of bytes within a PhysicalZipFile.
- ZipFileSlice(FastZipEntry) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
-
Create a ZipFileSlice that wraps a single stored (not deflated)
FastZipEntry
. - ZipFileSlice(PhysicalZipFile) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
-
Create a ZipFileSlice that wraps a toplevel
PhysicalZipFile
. - ZipFileSlice(PhysicalZipFile, FastZipEntry) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
-
Create a ZipFileSlice that wraps a
PhysicalZipFile
that was extracted or inflated from a nested jar to memory or disk. - ZipFileSlice(ZipFileSlice) - Constructor for class nonapi.io.github.classgraph.fastzipfilereader.ZipFileSlice
-
Clone constructor.
- zipFileSliceToLogicalZipFileMap - Variable in class nonapi.io.github.classgraph.fastzipfilereader.NestedJarHandler
-
A singleton map from a
ZipFileSlice
to theLogicalZipFile
for that slice.
All Classes All Packages