Index
All Classes and Interfaces|All Packages|Serialized Form
A
- accept(AnnotationInfo) - Method in interface io.github.classgraph.AnnotationInfoList.AnnotationInfoFilter
-
Whether or not to allow an
AnnotationInfo
list item through the filter. - accept(ClassInfo) - Method in interface io.github.classgraph.ClassInfoList.ClassInfoFilter
-
Whether or not to allow a
ClassInfo
list item through the filter. - accept(FieldInfo) - Method in interface io.github.classgraph.FieldInfoList.FieldInfoFilter
-
Whether or not to allow an
FieldInfo
list item through the filter. - accept(MethodInfo) - Method in interface io.github.classgraph.MethodInfoList.MethodInfoFilter
-
Whether or not to allow an
MethodInfo
list item through the filter. - accept(ModuleInfo) - Method in interface io.github.classgraph.ModuleInfoList.ModuleInfoFilter
-
Whether or not to allow an
ModuleInfo
list item through the filter. - accept(PackageInfo) - Method in interface io.github.classgraph.PackageInfoList.PackageInfoFilter
-
Whether or not to allow an
PackageInfo
list item through the filter. - accept(Resource) - Method in interface io.github.classgraph.ResourceList.ResourceFilter
-
Whether or not to allow a
Resource
list item through the filter. - accept(Resource, byte[]) - Method in interface io.github.classgraph.ResourceList.ByteArrayConsumer
-
Consume the complete content of a
Resource
as a byte array. - accept(Resource, 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. - 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.
- acceptJars(String...) - Method in class io.github.classgraph.ClassGraph
-
Accept one or more jars.
- acceptLibOrExtJars(String...) - Method in class io.github.classgraph.ClassGraph
-
Accept one or more jars in a JRE/JDK "lib/" or "ext/" directory (these directories are not scanned unless
ClassGraph.enableSystemJarsAndModules()
is called, by association with the JRE/JDK). - acceptModules(String...) - Method in class io.github.classgraph.ClassGraph
-
Accept one or more modules for scanning.
- acceptPackages(String...) - Method in class io.github.classgraph.ClassGraph
-
Scan one or more specific packages and their sub-packages.
- acceptPackagesNonRecursive(String...) - Method in class io.github.classgraph.ClassGraph
-
Scan one or more specific packages, without recursively scanning sub-packages unless they are themselves accepted.
- acceptPaths(String...) - Method in class io.github.classgraph.ClassGraph
-
Scan one or more specific paths, and their sub-directories or nested paths.
- acceptPathsNonRecursive(String...) - Method in class io.github.classgraph.ClassGraph
-
Scan one or more specific paths, without recursively scanning sub-directories or nested paths unless they are themselves accepted.
- add(int, T) - Method in class io.github.classgraph.MappableInfoList
- add(T) - Method in class io.github.classgraph.MappableInfoList
- addAll(int, Collection<? extends T>) - Method in class io.github.classgraph.MappableInfoList
- addAll(Collection<? extends T>) - Method in class io.github.classgraph.MappableInfoList
- addClassLoader(ClassLoader) - Method in class io.github.classgraph.ClassGraph
-
Add a ClassLoader to the list of ClassLoaders to scan.
- 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. - addModuleLayer(Object) - Method in class io.github.classgraph.ClassGraph
-
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. - 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. - AnnotationClassRef - Class in io.github.classgraph
-
Stores the type descriptor of a
Class<?>
, as found in an annotation parameter value. - AnnotationEnumValue - Class in io.github.classgraph
-
Class for wrapping an enum constant value (split into class name and constant name), as used as an annotation parameter value.
- AnnotationInfo - Class in io.github.classgraph
-
Holds metadata about a specific annotation instance on a class, method, method parameter or field.
- AnnotationInfoList - Class in io.github.classgraph
-
A list of
AnnotationInfo
objects. - AnnotationInfoList() - 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.AnnotationInfoFilter - Interface in io.github.classgraph
-
Filter an
AnnotationInfoList
using a predicate mapping anAnnotationInfo
object to a boolean, producing anotherAnnotationInfoList
for all items in the list for which the predicate is true. - AnnotationParameterValue - Class in io.github.classgraph
-
A wrapper used to pair annotation parameter names with annotation parameter values.
- AnnotationParameterValueList - Class in io.github.classgraph
-
A list of
AnnotationParameterValue
objects. - 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. - ANY - Enum constant in enum io.github.classgraph.TypeArgument.Wildcard
-
The '?' wildcard.
- ArrayClassInfo - Class in io.github.classgraph
-
Holds metadata about an array class.
- ArrayTypeSignature - Class in io.github.classgraph
-
An array type signature.
- asMap() - Method in class io.github.classgraph.MappableInfoList
-
Get an index for this list, as a map from the name of each list item (obtained by calling
getName()
on each list item) to the list item. - asMap() - Method in class io.github.classgraph.MethodInfoList
-
Get this
MethodInfoList
as a map from method name to 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.
B
- BaseTypeSignature - Class in io.github.classgraph
-
A type signature for a base type (byte, char, double, float, int, long, short, boolean, or void).
- blacklistClasses(String...) - Method in class io.github.classgraph.ClassGraph
-
Deprecated.
- blacklistClasspathElementsContainingResourcePath(String...) - Method in class io.github.classgraph.ClassGraph
-
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.
C
- 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.
- classFilesOnly() - Method in class io.github.classgraph.ResourceList
-
Return a new
ResourceList
consisting of only the resources with the filename extension ".class". - ClassGraph - Class in io.github.classgraph
-
Uber-fast, ultra-lightweight Java classpath and module path scanner.
- ClassGraph() - Constructor for class io.github.classgraph.ClassGraph
-
Construct a ClassGraph instance.
- ClassGraph.CircumventEncapsulationMethod - Enum in io.github.classgraph
-
Method to use to attempt to circumvent encapsulation in JDK 16+, in order to get access to a classloader's private classpath.
- ClassGraph.ClasspathElementFilter - Interface in io.github.classgraph
-
Add a classpath element filter.
- ClassGraph.ClasspathElementURLFilter - Interface in io.github.classgraph
-
Add a classpath element URL filter.
- ClassGraph.FailureHandler - Interface in io.github.classgraph
-
A callback used to handle failure during an asynchronous scan.
- ClassGraph.ScanResultProcessor - Interface in io.github.classgraph
-
A callback used to process the result of a successful asynchronous scan.
- ClassGraphClassLoader - Class in io.github.classgraph
-
ClassLoader
for classes found by ClassGraph during scanning. - ClassGraphException - Exception in io.github.classgraph
-
An unchecked exception that is thrown when an error state occurs or an unhandled exception is caught during scanning.
- ClassInfo - Class in io.github.classgraph
-
Holds metadata about a class encountered during a scan.
- ClassInfoList - Class in io.github.classgraph
-
A uniquified (deduplicated) list of
ClassInfo
objects, which stores both reachable classes (obtained through a given class relationship, either by direct relationship or through an indirect path), and directly related classes (classes reachable through a direct relationship only). - ClassInfoList() - Constructor for class io.github.classgraph.ClassInfoList
-
Construct a new empty modifiable list of
ClassInfo
objects. - ClassInfoList(int) - Constructor for class io.github.classgraph.ClassInfoList
-
Construct a new empty modifiable list of
ClassInfo
objects, given a size hint. - ClassInfoList(Collection<ClassInfo>) - Constructor for class io.github.classgraph.ClassInfoList
-
Construct a new modifiable empty
ClassInfoList
, given an initial list ofClassInfo
objects. - 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. - ClassMemberInfo - Class in io.github.classgraph
-
Holds metadata about class members of a class encountered during a scan.
- ClassMemberInfo(String, String, int, String, String, AnnotationInfoList) - Constructor for class io.github.classgraph.ClassMemberInfo
-
Constructor.
- 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.
- ClassRefOrTypeVariableSignature - Class in io.github.classgraph
-
A class type or type variable.
- ClassRefTypeSignature - Class in io.github.classgraph
-
A class reference type signature (called "ClassTypeSignature" in the classfile documentation).
- ClassTypeSignature - Class in io.github.classgraph
-
A class type signature (called "ClassSignature" in the classfile documentation).
- clear() - Method in class io.github.classgraph.MappableInfoList
- 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.
- CloseableByteBuffer - Class in io.github.classgraph
-
A wrapper for
ByteBuffer
that implements theCloseable
interface, releasing theByteBuffer
when it is no longer needed. - closeAll() - Static method in class io.github.classgraph.ScanResult
-
Close all
ScanResult
instances that have not yet been closed. - compareTo(AnnotationEnumValue) - Method in class io.github.classgraph.AnnotationEnumValue
- compareTo(AnnotationInfo) - Method in class io.github.classgraph.AnnotationInfo
- compareTo(AnnotationParameterValue) - Method in class io.github.classgraph.AnnotationParameterValue
- compareTo(ClassInfo) - Method in class io.github.classgraph.ClassInfo
-
Compare based on class name.
- compareTo(FieldInfo) - Method in class io.github.classgraph.FieldInfo
-
Sort in order of class name then field name.
- compareTo(MethodInfo) - Method in class io.github.classgraph.MethodInfo
-
Sort in order of class name, method name, then type descriptor.
- compareTo(ModuleInfo) - Method in class io.github.classgraph.ModuleInfo
- compareTo(ModuleRef) - Method in class io.github.classgraph.ModuleRef
- compareTo(PackageInfo) - Method in class io.github.classgraph.PackageInfo
- compareTo(Resource) - Method in class io.github.classgraph.Resource
-
Compare to.
- 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.
D
- 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() - Method in class io.github.classgraph.ClassGraph
-
Causes only runtime visible annotations to be scanned (causes runtime invisible annotations to be ignored).
E
- emptyList() - Static method in class io.github.classgraph.AnnotationInfoList
-
Return an unmodifiable empty
AnnotationInfoList
. - emptyList() - Static method in class io.github.classgraph.AnnotationParameterValueList
-
Return an unmodifiable empty
AnnotationParameterValueList
. - emptyList() - Static method in class io.github.classgraph.ClassInfoList
-
Return an unmodifiable empty
ClassInfoList
. - emptyList() - Static method in class io.github.classgraph.FieldInfoList
-
Return an unmodifiable empty
FieldInfoList
. - emptyList() - Static method in class io.github.classgraph.MethodInfoList
-
Return an unmodifiable empty
MethodInfoList
. - emptyList() - Static method in class io.github.classgraph.ResourceList
-
Return an unmodifiable empty
ResourceList
. - enableAllInfo() - Method in class io.github.classgraph.ClassGraph
-
Enables the scanning of all classes, fields, methods, annotations, and static final field constant initializer values, and ignores all visibility modifiers, so that both public and non-public classes, fields and methods are all scanned.
- enableAnnotationInfo() - 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() - Method in class io.github.classgraph.ClassGraph
-
Enables the scanning of classfiles, producing
ClassInfo
objects in theScanResult
. - 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() - Method in class io.github.classgraph.ClassGraph
-
Enables the saving of field info during the scan.
- 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() - 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() - Method in class io.github.classgraph.ClassGraph
-
Enables the saving of method info during the scan.
- 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() - Method in class io.github.classgraph.ClassGraph
-
Enables the saving of static final field constant initializer values.
- 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). - equals(Object) - Method in class io.github.classgraph.AnnotationClassRef
- equals(Object) - Method in class io.github.classgraph.AnnotationEnumValue
- equals(Object) - Method in class io.github.classgraph.AnnotationInfo
- equals(Object) - Method in class io.github.classgraph.AnnotationInfoList
- equals(Object) - Method in class io.github.classgraph.AnnotationParameterValue
- equals(Object) - Method in class io.github.classgraph.ArrayClassInfo
- equals(Object) - Method in class io.github.classgraph.ArrayTypeSignature
- equals(Object) - Method in class io.github.classgraph.BaseTypeSignature
- equals(Object) - Method in class io.github.classgraph.ClassInfo
-
Use class name for equals().
- equals(Object) - Method in class io.github.classgraph.ClassInfoList
- equals(Object) - Method in class io.github.classgraph.ClassRefTypeSignature
- equals(Object) - Method in class io.github.classgraph.ClassTypeSignature
- equals(Object) - Method in class io.github.classgraph.FieldInfo
-
Use class name and field name for equals().
- equals(Object) - Method in class io.github.classgraph.InfoList
- equals(Object) - Method in class io.github.classgraph.MethodInfo
-
Test class name, method name and type descriptor for equals().
- equals(Object) - Method in class io.github.classgraph.MethodParameterInfo
- equals(Object) - Method in class io.github.classgraph.MethodTypeSignature
- equals(Object) - Method in class io.github.classgraph.ModuleInfo
- equals(Object) - Method in class io.github.classgraph.ModuleRef
- equals(Object) - Method in class io.github.classgraph.PackageInfo
- equals(Object) - Method in class io.github.classgraph.ResourceList
- equals(Object) - Method in class io.github.classgraph.Resource
-
Equals.
- equals(Object) - Method in class io.github.classgraph.TypeArgument
- equals(Object) - Method in class io.github.classgraph.TypeParameter
- equals(Object) - Method in class io.github.classgraph.TypeVariableSignature
- 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
- exclude(ClassInfoList) - Method in class io.github.classgraph.ClassInfoList
-
Find the set difference between this
ClassInfoList
and anotherClassInfoList
, i.e. - EXTENDS - Enum constant in enum io.github.classgraph.TypeArgument.Wildcard
-
extends.
- 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
- FieldInfo - Class in io.github.classgraph
-
Holds metadata about fields of a class encountered during a scan.
- FieldInfoList - Class in io.github.classgraph
-
A list of
FieldInfo
objects. - FieldInfoList() - Constructor for class io.github.classgraph.FieldInfoList
-
Construct a new modifiable empty list of
FieldInfo
objects. - FieldInfoList(int) - Constructor for class io.github.classgraph.FieldInfoList
-
Construct a new modifiable empty list of
FieldInfo
objects, given a size hint. - FieldInfoList(Collection<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. - filter(AnnotationInfoList.AnnotationInfoFilter) - Method in class io.github.classgraph.AnnotationInfoList
-
Find the subset of the
AnnotationInfo
objects in this list for which the given filter predicate is true. - filter(ClassInfoList.ClassInfoFilter) - Method in class io.github.classgraph.ClassInfoList
-
Find the subset of this
ClassInfoList
for which the given filter predicate is true. - filter(FieldInfoList.FieldInfoFilter) - Method in class io.github.classgraph.FieldInfoList
-
Find the subset of the
FieldInfo
objects in this list for which the given filter predicate is true. - filter(MethodInfoList.MethodInfoFilter) - Method in class io.github.classgraph.MethodInfoList
-
Find the subset of the
MethodInfo
objects in this list for which the given filter predicate is true. - filter(ModuleInfoList.ModuleInfoFilter) - Method in class io.github.classgraph.ModuleInfoList
-
Find the subset of the
ModuleInfo
objects in this list for which the given filter predicate is true. - filter(PackageInfoList.PackageInfoFilter) - Method in class io.github.classgraph.PackageInfoList
-
Find the subset of the
PackageInfo
objects in this list for which the given filter predicate is true. - filter(ResourceList.ResourceFilter) - Method in class io.github.classgraph.ResourceList
-
Find the subset of the
Resource
objects in this list for which the given filter predicate is true. - filterClasspathElements(ClassGraph.ClasspathElementFilter) - Method in class io.github.classgraph.ClassGraph
-
Add a classpath element filter.
- filterClasspathElementsByURL(ClassGraph.ClasspathElementURLFilter) - Method in class io.github.classgraph.ClassGraph
-
Add a classpath element filter.
- findDuplicatePaths() - Method in class io.github.classgraph.ResourceList
-
Find duplicate resource paths within this
ResourceList
. - findReferencedClassNames(Set<String>) - Method in class io.github.classgraph.TypeArgument
-
Get the names of any classes referenced in the type signature.
- 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()
. - fromJSON(String) - Static method in class io.github.classgraph.ScanResult
-
Deserialize a ScanResult from previously-serialized JSON.
G
- generateGraphVizDotFile() - Method in class io.github.classgraph.ClassInfoList
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- generateGraphVizDotFile(float, float) - Method in class io.github.classgraph.ClassInfoList
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- generateGraphVizDotFile(float, float, boolean, boolean, boolean, boolean, boolean) - Method in class io.github.classgraph.ClassInfoList
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- generateGraphVizDotFile(float, float, boolean, boolean, boolean, boolean, boolean, boolean) - Method in class io.github.classgraph.ClassInfoList
-
Generate a .dot file which can be fed into GraphViz for layout and visualization of the class graph.
- generateGraphVizDotFile(File) - Method in class io.github.classgraph.ClassInfoList
-
Generate a and save a .dot file, which can be fed into GraphViz for layout and visualization of the class graph.
- generateGraphVizDotFileFromClassDependencies() - Method in class io.github.classgraph.ClassInfoList
-
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.
- 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.
- getAllAnnotations() - Method in class io.github.classgraph.ScanResult
-
Get all annotation classes found during the scan.
- getAllClasses() - Method in class io.github.classgraph.ScanResult
-
Get all classes, interfaces and annotations found during the scan.
- getAllClassesAsMap() - Method in class io.github.classgraph.ScanResult
-
Get a map from class name to
ClassInfo
object for all classes, interfaces and annotations found during the scan. - getAllEnums() - Method in class io.github.classgraph.ScanResult
-
Get all
Enum
classes found during the scan. - getAllInterfaces() - Method in class io.github.classgraph.ScanResult
-
Get all interface classes found during the scan (not including annotations, which are also technically interfaces).
- getAllInterfacesAndAnnotations() - Method in class io.github.classgraph.ScanResult
-
Get all interface or annotation classes found during the scan.
- getAllRecords() - Method in class io.github.classgraph.ScanResult
-
Get all
record
classes found during the scan (JDK 14+). - getAllResources() - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources.
- getAllResourcesAsMap() - Method in class io.github.classgraph.ScanResult
-
Get a map from resource path to
Resource
for all resources (including classfiles and non-classfiles) found in accepted packages. - getAllStandardClasses() - Method in class io.github.classgraph.ScanResult
-
Get all standard (non-interface/non-annotation) classes found during the scan.
- getAnnotationDefaultParameterValues() - Method in class io.github.classgraph.ClassInfo
-
Get the default parameter values for this annotation, if this is an annotation class.
- getAnnotationInfo() - Method in class io.github.classgraph.ClassInfo
-
Get a list of the annotations on this class, or the empty list if none.
- getAnnotationInfo() - Method in class io.github.classgraph.ClassMemberInfo
-
Get a list of annotations on this class member, along with any annotation parameter values, wrapped in
AnnotationInfo
objects. - getAnnotationInfo() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter annotation info (or null if no annotations).
- getAnnotationInfo() - Method in class io.github.classgraph.ModuleInfo
-
Get any annotations on the
package-info.class
file. - getAnnotationInfo() - Method in class io.github.classgraph.PackageInfo
-
Get any annotations on the
package-info.class
file. - getAnnotationInfo(Class<? 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.
- 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
- getChildren() - Method in class io.github.classgraph.PackageInfo
-
The child packages of this package, or the empty list if none.
- getClassBound() - Method in class io.github.classgraph.TypeParameter
-
Get the type parameter class bound.
- getClassDependencies() - Method in class io.github.classgraph.ClassInfo
-
Get the class dependencies.
- getClassDependencyMap() - Method in class io.github.classgraph.ScanResult
-
Get a map from the
ClassInfo
object for each accepted class to a list of the classes referenced by that class (i.e. - 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.
- 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.
- 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.
- 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.
- 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.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.ModuleInfo
-
Get the list of
ClassInfo
objects for all classes that are members of this package. - getClassInfo() - Method in class io.github.classgraph.PackageInfo
-
Get the
ClassInfo
objects for all classes that are members of this package. - getClassInfo(String) - Method in class io.github.classgraph.ModuleInfo
-
Get the
ClassInfo
object for the named class in this module, or null if the class was not found in this module. - getClassInfo(String) - Method in class io.github.classgraph.PackageInfo
-
Get the
ClassInfo
object for the named class in this package, or null if the class was not found in this package. - getClassInfo(String) - Method in class io.github.classgraph.ScanResult
-
Get the
ClassInfo
object for the named class, or null if no class of the requested name was found in an accepted/non-rejected package during the scan. - getClassInfoRecursive() - Method in class io.github.classgraph.PackageInfo
-
Get the
ClassInfo
objects for all classes that are members of this package or a sub-package. - getClassLoader() - Method in class io.github.classgraph.ModuleRef
-
Get the class loader for the module.
- getClassName() - Method in class io.github.classgraph.AnnotationEnumValue
-
Get the class name.
- getClassName() - Method in class io.github.classgraph.ClassMemberInfo
-
Get the name of the class that declares this member.
- 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. - 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.
- getClasspathURIs() - Method in class io.github.classgraph.ClassGraph
-
Returns the ordered list of all unique
URI
objects representing directory/jar classpath elements and modules. - getClasspathURIs() - Method in class io.github.classgraph.ScanResult
-
Returns an ordered list of unique classpath element and module URIs.
- getClasspathURLs() - Method in class io.github.classgraph.ClassGraph
-
Returns the ordered list of all unique
URL
objects representing directory/jar classpath elements and modules. - getClasspathURLs() - Method in class io.github.classgraph.ScanResult
-
Returns an ordered list of unique classpath element and module URLs.
- getConstantInitializerValue() - Method in class io.github.classgraph.FieldInfo
-
Returns the constant initializer value of a field.
- getConstructorInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible constructors declared by this class, or by its interfaces or superclasses.
- getContentAsString() - Method in class io.github.classgraph.Resource
-
Convenience method to get the content of this
Resource
as a String. - getDeclaredConstructorInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible constructors declared by this class, but not by its interfaces or superclasses.
- getDeclaredFieldInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on all visible fields declared by this class, but not by its superclasses.
- getDeclaredFieldInfo(String) - Method in class io.github.classgraph.ClassInfo
-
Returns information on the named field declared by the class, but not by its superclasses.
- getDeclaredMethodAndConstructorInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible methods and constructors declared by this class, but not by its interfaces or superclasses.
- getDeclaredMethodInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible methods declared by this class, but not by its interfaces or superclasses, that are not constructors.
- getDeclaredMethodInfo(String) - Method in class io.github.classgraph.ClassInfo
-
Returns information on the method(s) or constructor(s) of the given name declared by this class, but not by its interfaces or superclasses.
- getDefaultParameterValues() - Method in class io.github.classgraph.AnnotationInfo
-
Get the default parameter values.
- 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. - getFieldAnnotations() - Method in class io.github.classgraph.ClassInfo
-
Get all field annotations.
- getFieldInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on all visible fields declared by this class, or by its superclasses.
- getFieldInfo(String) - Method in class io.github.classgraph.ClassInfo
-
Returns information on the named filed declared by this class, or by its superclasses.
- 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.
- getImplementedInterfaces() - Method in class io.github.classgraph.ClassInfoList
-
Filter this
ClassInfoList
to include only implemented interfaces, i.e. - 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). - getLastModified() - Method in class io.github.classgraph.Resource
-
Get the last modified time for the resource, in milliseconds since the epoch.
- getLayer() - Method in class io.github.classgraph.ModuleRef
-
Get the module layer (of JPMS type ModuleLayer).
- getLength() - Method in class io.github.classgraph.Resource
-
Get the length of the resource.
- getLocation() - Method in class io.github.classgraph.ModuleInfo
-
The module location, or null for modules whose location is unknown.
- getLocation() - Method in class io.github.classgraph.ModuleRef
-
Get the module location, i.e.
- getLocationFile() - Method in class io.github.classgraph.ModuleRef
-
Get the module location as a File, i.e.
- getLocationStr() - Method in class io.github.classgraph.ModuleRef
-
Get the module location as a string, i.e.
- getMaxLineNum() - Method in class io.github.classgraph.MethodInfo
-
The line number of the last non-empty line in the body of this method, or 0 if unknown.
- getMethodAndConstructorInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible constructors declared by this class, or by its interfaces or superclasses.
- getMethodAnnotations() - Method in class io.github.classgraph.ClassInfo
-
Get all method annotations.
- getMethodInfo() - Method in class io.github.classgraph.ClassInfo
-
Returns information on visible methods declared by this class, or by its interfaces or superclasses, that are not constructors.
- getMethodInfo() - Method in class io.github.classgraph.MethodParameterInfo
-
Get the
MethodInfo
for the defining method. - getMethodInfo(String) - Method in class io.github.classgraph.ClassInfo
-
Returns information on the method(s) or constructor(s) of the given name declared by this class, but not by its interfaces or superclasses.
- getMethodParameterAnnotations() - Method in class io.github.classgraph.ClassInfo
-
Get all method parameter annotations.
- getMinLineNum() - Method in class io.github.classgraph.MethodInfo
-
The line number of the first non-empty line in the body of this method, or 0 if unknown.
- getModifiers() - Method in class io.github.classgraph.ClassInfo
-
Get the class modifier bits.
- getModifiers() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns the modifier bits for the class member.
- getModifiers() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter modifiers.
- getModifiersStr() - Method in class io.github.classgraph.ClassInfo
-
Get the class modifiers as a String.
- getModifiersStr() - Method in class io.github.classgraph.ClassMemberInfo
-
Get the modifiers as a string, e.g.
- getModifiersStr() - Method in class io.github.classgraph.FieldInfo
-
Get the field modifiers as a string, e.g.
- getModifiersStr() - Method in class io.github.classgraph.MethodInfo
-
Get the method modifiers as a String, e.g.
- getModifiersStr() - Method in class io.github.classgraph.MethodParameterInfo
-
Get the method parameter modifiers as a String, e.g.
- getModifierStr() - Method in class io.github.classgraph.FieldInfo
-
Deprecated.Use
FieldInfo.getModifiersStr()
instead. - getModuleInfo() - Method in class io.github.classgraph.ClassInfo
-
Get the
ModuleInfo
object for the class. - getModuleInfo() - Method in class io.github.classgraph.ScanResult
-
Get all modules found during the scan.
- getModuleInfo(String) - Method in class io.github.classgraph.ScanResult
-
Get the
ModuleInfo
object for the named module, or null if no module of the requested name was found during the scan. - getModulePathInfo() - Method in class io.github.classgraph.ClassGraph
-
Get the module path info provided on the commandline with
--module-path
,--add-modules
,--patch-module
,--add-exports
,--add-opens
, and--add-reads
. - getModulePathInfo() - Method in class io.github.classgraph.ScanResult
-
Get the module path info provided on the commandline with
--module-path
,--add-modules
,--patch-module
,--add-exports
,--add-opens
, and--add-reads
, and also 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.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. - 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.
- getOuterClasses() - Method in class io.github.classgraph.ClassInfo
-
Get the containing outer classes, if this is an inner class.
- getPackageInfo() - Method in class io.github.classgraph.ClassInfo
-
Get the
PackageInfo
object for the class. - getPackageInfo() - Method in class io.github.classgraph.ModuleInfo
-
Get the
PackageInfo
objects for all packages that are members of this module. - getPackageInfo() - Method in class io.github.classgraph.ScanResult
-
Get all packages found during the scan.
- getPackageInfo(String) - Method in class io.github.classgraph.ModuleInfo
-
Get the
PackageInfo
object for the named package in this module, or null if the package was not found in this module. - getPackageInfo(String) - Method in class io.github.classgraph.ScanResult
-
Get the
PackageInfo
object for the named package, or null if no package of the requested name was found during the scan. - getPackageName() - Method in class io.github.classgraph.ClassInfo
-
Get the name of the class' package.
- getPackages() - Method in class io.github.classgraph.ModuleRef
-
Get a list of packages in the module.
- getParameterInfo() - Method in class io.github.classgraph.MethodInfo
-
Get the available information on method parameters.
- getParameterValues() - Method in class io.github.classgraph.AnnotationInfo
-
Get the parameter values.
- getParameterValues(boolean) - Method in class io.github.classgraph.AnnotationInfo
-
Get the parameter values.
- getParent() - Method in class io.github.classgraph.PackageInfo
-
The parent package of this package, or null if this is the root package.
- getPath() - Method in class io.github.classgraph.Resource
-
Get the path of this classpath resource relative to the package root.
- getPathRelativeToClasspathElement() - Method in class io.github.classgraph.Resource
-
Get the full path of this classpath resource relative to the root of the classpath element.
- getPaths() - Method in class io.github.classgraph.ResourceList
-
Get the paths of all resources in this list relative to the package root.
- getPathsRelativeToClasspathElement() - Method in class io.github.classgraph.ResourceList
-
Get the paths of all resources in this list relative to the root of the classpath element.
- getPosixFilePermissions() - Method in class io.github.classgraph.Resource
-
Get the POSIX file permissions for the resource.
- 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).
- 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
- getResourceAsStream(String) - Method in class io.github.classgraph.ClassGraphClassLoader
- getResources(String) - Method in class io.github.classgraph.ClassGraphClassLoader
- getResourcesMatchingPattern(Pattern) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in accepted packages that have a path matching the requested regex pattern.
- getResourcesMatchingWildcard(String) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in accepted packages that have a path matching the requested wildcard string.
- getResourcesWithExtension(String) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in accepted packages that have the requested filename extension.
- getResourcesWithLeafName(String) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in accepted packages that have the requested leafname.
- getResourcesWithPath(String) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in accepted packages that have the given path, relative to the package root of the classpath element.
- getResourcesWithPathIgnoringAccept(String) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in any classpath element, whether in accepted packages or not (as long as the resource is not rejected), that have the given path, relative to the package root of the classpath element.
- getResourcesWithPathIgnoringWhitelist(String) - Method in class io.github.classgraph.ScanResult
-
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.
- getSimpleName() - Method in class io.github.classgraph.ClassInfo
-
Get the simple name of the class.
- getSingleMethod(String) - Method in class io.github.classgraph.MethodInfoList
-
Returns a single method with the given name, or null if not found.
- 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). - 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.
- 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.
- getThrownExceptionNames() - Method in class io.github.classgraph.MethodInfo
-
Returns the exceptions thrown by the method, as an array.
- getThrownExceptions() - Method in class io.github.classgraph.MethodInfo
-
Returns the list of exceptions thrown by the method, as a
ClassInfoList
. - getThrowsSignatures() - Method in class io.github.classgraph.MethodTypeSignature
-
Get the throws type(s) for the method.
- getType() - Method in class io.github.classgraph.BaseTypeSignature
-
Get the type.
- getTypeAnnotationInfo() - Method in class io.github.classgraph.ArrayTypeSignature
-
Get a list of
AnnotationInfo
objects for the type annotations on this array type, or null if none. - getTypeAnnotationInfo() - Method in class io.github.classgraph.HierarchicalTypeSignature
-
Get a list of
AnnotationInfo
objects for any type annotations on this type, or null if none. - getTypeAnnotationInfo() - Method in class io.github.classgraph.TypeSignature
-
Get a list of
AnnotationInfo
objects for any type annotations on this type, or null if none. - getTypeArguments() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get any type arguments of the base class.
- getTypeDescriptor() - Method in class io.github.classgraph.ClassInfo
-
Returns a synthetic type descriptor for the method, created from the class name, superclass name, and implemented interfaces.
- getTypeDescriptor() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns the parsed type descriptor for the class member, which will not include type parameters.
- getTypeDescriptor() - Method in class io.github.classgraph.FieldInfo
-
Returns the parsed type descriptor for the field, which will not include type parameters.
- getTypeDescriptor() - Method in class io.github.classgraph.MethodInfo
-
Returns the parsed type descriptor for the method, which will not include type parameters.
- getTypeDescriptor() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter type descriptor.
- getTypeDescriptorStr() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns the type descriptor string for the class member, which will not include type parameters.
- getTypeParameters() - Method in class io.github.classgraph.ClassTypeSignature
-
Get the type parameters for the class.
- getTypeParameters() - Method in class io.github.classgraph.MethodTypeSignature
-
Get the type parameters for the method, if this is a generic method.
- getTypeSignature() - Method in class io.github.classgraph.ArrayClassInfo
-
Returns null, because array classes do not have a ClassTypeSignature.
- getTypeSignature() - Method in class io.github.classgraph.ClassInfo
-
Get the parsed type signature for the class.
- getTypeSignature() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns the parsed type signature for the class member, possibly including type parameters.
- getTypeSignature() - Method in class io.github.classgraph.FieldInfo
-
Returns the parsed type signature for the field, possibly including type parameters.
- getTypeSignature() - Method in class io.github.classgraph.MethodInfo
-
Returns the parsed type signature for the method, possibly including type parameters.
- getTypeSignature() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter type signature, possibly including generic type information (or null if no type signature information available for this parameter).
- getTypeSignature() - Method in class io.github.classgraph.TypeArgument
-
Get the type signature associated with the wildcard (or null, if the wildcard is ANY).
- getTypeSignatureChar() - Method in class io.github.classgraph.BaseTypeSignature
-
Get the type signature char used to represent the type, e.g.
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.classgraph.ClassInfo
-
Returns the parsed type signature for this class, possibly including type parameters.
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns the type signature for the class member, possibly including type parameters.
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.classgraph.FieldInfo
-
Returns the type signature for the field, possibly including type parameters.
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.classgraph.MethodInfo
-
Returns the parsed type signature for the method, possibly including type parameters.
- getTypeSignatureOrTypeDescriptor() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter type signature, or if not available, method type descriptor.
- getTypeSignatureOrTypeDescriptorStr() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns the type signature string for the class member, possibly including type parameters.
- getTypeSignatureStr() - Method in class io.github.classgraph.ArrayClassInfo
-
Get the raw type signature string of the array class, e.g.
- getTypeSignatureStr() - Method in class io.github.classgraph.ArrayTypeSignature
-
Get the raw array type signature string, e.g.
- getTypeSignatureStr() - Method in class io.github.classgraph.ClassInfo
-
Get the type signature string for the class.
- getTypeSignatureStr() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns the type signature string for the class member, possibly including type parameters.
- getTypeStr() - Method in class io.github.classgraph.BaseTypeSignature
-
Get the name of the type as a string.
- getURI() - Method in class io.github.classgraph.Resource
-
Get the
URI
representing the resource's location. - getURIs() - Method in class io.github.classgraph.ResourceList
-
Get the URIs of all resources in this list, by calling
Resource.getURI()
for each item in the list. - getURL() - Method in class io.github.classgraph.Resource
-
Get the
URL
representing the resource's location. - getURLs() - Method in class io.github.classgraph.ClassGraphClassLoader
-
Get classpath URLs.
- getURLs() - Method in class io.github.classgraph.ResourceList
-
Get the URLs of all resources in this list, by calling
Resource.getURL()
for each item in the list. - getValue() - Method in class io.github.classgraph.AnnotationParameterValue
-
Get the annotation parameter value.
- getValue(String) - Method in class io.github.classgraph.AnnotationParameterValueList
-
Get the annotation parameter value, by calling
AnnotationParameterValue.getValue()
on the result 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.
- getWildcard() - Method in class io.github.classgraph.TypeArgument
-
Get the type wildcard, which is one of {NONE, ANY, EXTENDS, SUPER}.
H
- 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() - 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() - Method in class io.github.classgraph.AnnotationClassRef
- hashCode() - Method in class io.github.classgraph.AnnotationEnumValue
- hashCode() - Method in class io.github.classgraph.AnnotationInfo
- hashCode() - Method in class io.github.classgraph.AnnotationInfoList
- hashCode() - Method in class io.github.classgraph.AnnotationParameterValue
- hashCode() - Method in class io.github.classgraph.ArrayClassInfo
- hashCode() - Method in class io.github.classgraph.ArrayTypeSignature
- hashCode() - Method in class io.github.classgraph.BaseTypeSignature
- hashCode() - Method in class io.github.classgraph.ClassInfo
-
Use hash code of class name.
- hashCode() - Method in class io.github.classgraph.ClassInfoList
- hashCode() - Method in class io.github.classgraph.ClassRefTypeSignature
- hashCode() - Method in class io.github.classgraph.ClassTypeSignature
- hashCode() - Method in class io.github.classgraph.FieldInfo
-
Use hash code of class name and field name.
- hashCode() - Method in class io.github.classgraph.InfoList
- hashCode() - Method in class io.github.classgraph.MethodInfo
-
Use hashcode of class name, method name and type descriptor.
- hashCode() - Method in class io.github.classgraph.MethodParameterInfo
- hashCode() - Method in class io.github.classgraph.MethodTypeSignature
- hashCode() - Method in class io.github.classgraph.ModuleInfo
- hashCode() - Method in class io.github.classgraph.ModuleRef
- hashCode() - Method in class io.github.classgraph.PackageInfo
- hashCode() - Method in class io.github.classgraph.ResourceList
- hashCode() - Method in class io.github.classgraph.Resource
-
Hash code.
- hashCode() - Method in class io.github.classgraph.TypeArgument
- hashCode() - Method in class io.github.classgraph.TypeParameter
- hashCode() - Method in class io.github.classgraph.TypeVariableSignature
- 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.
- 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.
- HierarchicalTypeSignature - Class in io.github.classgraph
-
A Java type signature.
- HierarchicalTypeSignature() - Constructor for class io.github.classgraph.HierarchicalTypeSignature
I
- 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() - Method in class io.github.classgraph.ClassGraph
-
Causes field visibility to be ignored, enabling private, package-private and protected fields to be scanned.
- 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() - Method in class io.github.classgraph.ClassGraph
-
Ignore parent classloaders (i.e.
- ignoreParentModuleLayers() - Method in class io.github.classgraph.ClassGraph
-
Ignore parent module layers (i.e.
- 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.
- InfoList<T extends HasName> - Class in io.github.classgraph
-
A list of named objects.
- 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). - intersect(ClassInfoList...) - Method in class io.github.classgraph.ClassInfoList
-
Find the intersection of this
ClassInfoList
with one or more others. - io.github.classgraph - package io.github.classgraph
- isAbstract() - Method in class io.github.classgraph.ClassInfo
-
Checks if the class is abstract.
- isAbstract() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is abstract.
- isAnnotation() - Method in class io.github.classgraph.ClassInfo
-
Checks if the class is an annotation.
- isAnonymousInnerClass() - Method in class io.github.classgraph.ClassInfo
-
Checks if this class is an anonymous inner class.
- isArrayClass() - Method in class io.github.classgraph.ClassInfo
-
Checks if this class is an array class.
- isBridge() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is a bridge method.
- 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.
- 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() - 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() - Method in class io.github.classgraph.AnnotationInfo
-
Checks if the annotation is inherited.
- isInnerClass() - Method in class io.github.classgraph.ClassInfo
-
Checks if this class is an inner class.
- isInterface() - Method in class io.github.classgraph.ClassInfo
-
Checks if is the class an interface and is not an annotation.
- isInterfaceOrAnnotation() - Method in class io.github.classgraph.ClassInfo
-
Checks if is an interface or an annotation.
- isMandated() - Method in class io.github.classgraph.MethodParameterInfo
-
Returns true if this method parameter is mandated.
- isNative() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is a native method.
- isObtainedFromDeserialization() - Method in class io.github.classgraph.ScanResult
-
Checks if this
ScanResult
was obtained from JSON by deserialization, by 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.
- isPrivate() - Method in class io.github.classgraph.ClassInfo
-
Checks if the class is private.
- isPrivate() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns true if this class member is private.
- isProtected() - Method in class io.github.classgraph.ClassInfo
-
Checks if the class is protected.
- isProtected() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns true if this class member is protected.
- isPublic() - Method in class io.github.classgraph.ClassInfo
-
Checks if the class is public.
- isPublic() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns true if this class member is public.
- isRecord() - Method in class io.github.classgraph.ClassInfo
-
Checks if is the class is a record (JDK 14+).
- isStandardClass() - Method in class io.github.classgraph.ClassInfo
-
Checks if this class is a standard class.
- isStatic() - Method in class io.github.classgraph.ClassInfo
-
Checks if the class is static.
- isStatic() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns true if this class member is static.
- isStrict() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is strict.
- isSynchronized() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is synchronized.
- isSynthetic() - Method in class io.github.classgraph.ClassInfo
-
Checks if the class is synthetic.
- isSynthetic() - Method in class io.github.classgraph.ClassMemberInfo
-
Returns true if this class member is synthetic.
- isSynthetic() - Method in class io.github.classgraph.MethodParameterInfo
-
Returns true if this method parameter is synthetic.
- isSystemModule() - Method in class io.github.classgraph.ModuleRef
-
Checks if this module is a system module.
- isTransient() - Method in class io.github.classgraph.FieldInfo
-
Returns true if this field is a transient field.
- isVarArgs() - Method in class io.github.classgraph.MethodInfo
-
Returns true if this method is a varargs method.
- iterator() - Method in class io.github.classgraph.MappableInfoList
J
- JVM_DRIVER - Enum constant in enum io.github.classgraph.ClassGraph.CircumventEncapsulationMethod
-
Use the JVM-Driver library to try to gain access to private classloader fields or methods in order to determine the classpath.
L
- list() - Method in class io.github.classgraph.ModuleReaderProxy
-
Get the list of resources accessible to a ModuleReader.
- listIterator() - Method in class io.github.classgraph.MappableInfoList
- load() - Method in class io.github.classgraph.Resource
-
Load a classpath resource and return its content as a byte array.
- 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.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object. - loadClass() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Load the referenced class, if not already loaded, returning a
Class<?>
reference for the referenced class. - loadClass(boolean) - Method in class io.github.classgraph.AnnotationClassRef
-
Loads the referenced class, returning a
Class<?>
reference for the referenced class. - loadClass(boolean) - Method in class io.github.classgraph.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(Class<T>) - Method in class io.github.classgraph.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object, casting it to the requested interface or superclass type. - loadClass(Class<T>, boolean) - Method in class io.github.classgraph.ClassInfo
-
Obtain a
Class<?>
reference for the class named by thisClassInfo
object, casting it to the requested interface or superclass type. - loadClass(String, boolean) - Method in class io.github.classgraph.ScanResult
-
Load a class given a class name.
- loadClass(String, Class<T>, boolean) - Method in class io.github.classgraph.ScanResult
-
Load a class given a class name.
- 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.
M
- MappableInfoList<T extends HasName> - Class in io.github.classgraph
-
A list of named objects that can be indexed by name.
- MethodInfo - Class in io.github.classgraph
-
Holds metadata about methods of a class encountered during a scan.
- MethodInfoList - Class in io.github.classgraph
-
A list of
MethodInfo
objects. - MethodInfoList() - Constructor for class io.github.classgraph.MethodInfoList
-
Construct a new modifiable empty list of
MethodInfo
objects. - MethodInfoList(int) - Constructor for class io.github.classgraph.MethodInfoList
-
Construct a new modifiable empty list of
MethodInfo
objects, given a size hint. - MethodInfoList(Collection<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. - MethodParameterInfo - Class in io.github.classgraph
-
Information on the parameters of a method.
- MethodTypeSignature - Class in io.github.classgraph
-
A method type signature (called "MethodSignature" in the classfile documentation).
- ModuleInfo - Class in io.github.classgraph
-
Holds metadata about a package encountered during a scan.
- ModuleInfoList - Class in io.github.classgraph
-
A list of
ModuleInfo
objects. - ModuleInfoList.ModuleInfoFilter - Interface in io.github.classgraph
-
Filter an
ModuleInfoList
using a predicate mapping anModuleInfo
object to a boolean, producing anotherModuleInfoList
for all items in the list for which the predicate is true. - 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 - Class in io.github.classgraph
-
Information on the module path.
- ModulePathInfo() - Constructor for class io.github.classgraph.ModulePathInfo
- ModuleReaderProxy - Class in io.github.classgraph
-
A ModuleReader proxy, written using reflection to preserve backwards compatibility with JDK 7 and 8.
- ModuleRef - Class in io.github.classgraph
-
A ModuleReference proxy, written using reflection to preserve backwards compatibility with JDK 7 and 8.
- ModuleRef(Object, Object, ReflectionUtils) - Constructor for class io.github.classgraph.ModuleRef
-
Constructor.
N
- NARCISSUS - Enum constant in enum io.github.classgraph.ClassGraph.CircumventEncapsulationMethod
-
Use the Narcissus library to try to gain access to private classloader fields or methods in order to determine the classpath.
- nonClassFilesOnly() - Method in class io.github.classgraph.ResourceList
-
Return a new
ResourceList
consisting of non-classfile resources only. - NONE - Enum constant in enum io.github.classgraph.ClassGraph.CircumventEncapsulationMethod
-
Use the reflection API and
AccessibleObject.setAccessible(boolean)
to try to gain access to private classpath fields or methods in order to determine the classpath. - NONE - Enum constant in enum io.github.classgraph.TypeArgument.Wildcard
-
No wildcard.
O
- onFailure(Throwable) - Method in interface io.github.classgraph.ClassGraph.FailureHandler
-
Called on scanning failure during an asynchronous scan.
- open() - Method in class io.github.classgraph.ModuleRef
-
Open the module, returning a
ModuleReaderProxy
. - open() - Method in class io.github.classgraph.Resource
-
Open an
InputStream
for a classpath resource. - open(String) - Method in class io.github.classgraph.ModuleReaderProxy
-
Use the proxied ModuleReader to open the named resource as an InputStream.
- overrideClassLoaders(ClassLoader...) - Method in class io.github.classgraph.ClassGraph
-
Completely override (and ignore) system ClassLoaders and the java.class.path system property.
- 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(Object...) - Method in class io.github.classgraph.ClassGraph
-
Completely override (and ignore) the visible ModuleLayers, and instead scan the requested ModuleLayers.
P
- PackageInfo - Class in io.github.classgraph
-
Holds metadata about a package encountered during a scan.
- PackageInfoList - Class in io.github.classgraph
-
A list of
PackageInfo
objects. - PackageInfoList.PackageInfoFilter - Interface in io.github.classgraph
-
Filter an
PackageInfoList
using a predicate mapping anPackageInfo
object to a boolean, producing anotherPackageInfoList
for all items in the list for which the predicate is true. - 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. - processScanResult(ScanResult) - Method in interface io.github.classgraph.ClassGraph.ScanResultProcessor
-
Process the result of an asynchronous scan after scanning has completed.
R
- read() - Method in class io.github.classgraph.Resource
-
Open a
ByteBuffer
for a classpath resource. - read(String) - Method in class io.github.classgraph.ModuleReaderProxy
-
Use the proxied ModuleReader to open the named resource as a ByteBuffer.
- 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()
. - ReferenceTypeSignature - Class in io.github.classgraph
-
A type signature for a reference type.
- 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.
- 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.
- release(ByteBuffer) - Method in class io.github.classgraph.ModuleReaderProxy
-
Release a
ByteBuffer
allocated by callingModuleReaderProxy.read(String)
. - remove(int) - Method in class io.github.classgraph.MappableInfoList
- remove(Object) - Method in class io.github.classgraph.MappableInfoList
- removeAll(Collection<?>) - Method in class io.github.classgraph.MappableInfoList
- 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.
- resolve() - Method in class io.github.classgraph.TypeVariableSignature
-
Look up a type variable (e.g.
- 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. - retainAll(Collection<?>) - Method in class io.github.classgraph.MappableInfoList
S
- scan() - Method in class io.github.classgraph.ClassGraph
-
Scans the classpath, blocking until the scan is complete.
- scan(int) - Method in class io.github.classgraph.ClassGraph
-
Scans the classpath with the requested number of threads, blocking until the scan is complete.
- scan(ExecutorService, int) - Method in class io.github.classgraph.ClassGraph
-
Scans the classpath using the requested
ExecutorService
and the requested degree of parallelism, blocking until the scan is complete. - scanAsync(ExecutorService, int) - Method in class io.github.classgraph.ClassGraph
-
Asynchronously scans the classpath for matching files, returning a
Future<ScanResult>
. - scanAsync(ExecutorService, int, ClassGraph.ScanResultProcessor, ClassGraph.FailureHandler) - Method in class io.github.classgraph.ClassGraph
-
Asynchronously scans the classpath, calling a
ClassGraph.ScanResultProcessor
callback on success or aClassGraph.FailureHandler
callback on failure. - ScanResult - Class in io.github.classgraph
-
The result of a scan.
- set(int, T) - Method in class io.github.classgraph.MappableInfoList
- setMaxBufferedJarRAMSize(int) - Method in class io.github.classgraph.ClassGraph
-
The maximum size of an inner (nested) jar that has been deflated (i.e.
- SUPER - Enum constant in enum io.github.classgraph.TypeArgument.Wildcard
-
super.
T
- toJSON() - Method in class io.github.classgraph.ScanResult
-
Serialize a ScanResult to minified (un-indented) JSON.
- toJSON(int) - Method in class io.github.classgraph.ScanResult
-
Serialize a ScanResult to JSON.
- toString() - Method in class io.github.classgraph.MethodParameterInfo
-
Render to string.
- toString() - Method in class io.github.classgraph.ModuleInfo
- toString() - Method in class io.github.classgraph.ModulePathInfo
-
Return the module path info in commandline format.
- toString() - Method in class io.github.classgraph.ModuleRef
- toString() - Method in class io.github.classgraph.PackageInfo
- toString() - Method in class io.github.classgraph.Resource
-
Get a string representation of the resource's location (as a URL string).
- toString() - Method in class io.github.classgraph.MethodTypeSignature
-
Render to string.
- toStringWithSimpleNames() - Method in class io.github.classgraph.MethodParameterInfo
-
Render to string with simple names for classes.
- toStringWithSimpleNames() - Method in class io.github.classgraph.MethodTypeSignature
-
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.
- TypeArgument - Class in io.github.classgraph
-
A type argument.
- TypeArgument.Wildcard - Enum in io.github.classgraph
-
A type wildcard.
- TypeParameter - Class in io.github.classgraph
-
A type parameter.
- TypeSignature - Class in io.github.classgraph
-
A type signature for a reference type or base type.
- TypeVariableSignature - Class in io.github.classgraph
-
A type variable signature.
U
- union(ClassInfoList...) - Method in class io.github.classgraph.ClassInfoList
-
Find the union of this
ClassInfoList
with one or more others.
V
- valueOf(String) - Static method in enum io.github.classgraph.ClassGraph.CircumventEncapsulationMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.github.classgraph.TypeArgument.Wildcard
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.github.classgraph.ClassGraph.CircumventEncapsulationMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.github.classgraph.TypeArgument.Wildcard
-
Returns an array containing the constants of this enum type, in the order they are declared.
- 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.
W
- 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.
All Classes and Interfaces|All Packages|Serialized Form
ClassGraph.rejectClasses(String...)
instead.