- 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(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) - 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() - 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
-
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 whitelisted 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(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() - Method in class io.github.classgraph.FieldInfo
-
Get a list of annotations on this field, along with any annotation parameter values, wrapped in
AnnotationInfo
objects.
- getAnnotationInfo(String) - Method in class io.github.classgraph.FieldInfo
-
Get a the named non-
Repeatable
annotation on this field, or null if the field does not have the named
annotation.
- getAnnotationInfo() - Method in class io.github.classgraph.MethodInfo
-
Get a list of annotations on this method, along with any annotation parameter values.
- getAnnotationInfo(String) - Method in class io.github.classgraph.MethodInfo
-
Get a the named non-
Repeatable
annotation on this method, or null if the method does not have the
named annotation.
- getAnnotationInfo() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter annotation info (or null if no annotations).
- 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() - Method in class io.github.classgraph.ModuleInfo
-
Get any annotations on the package-info.class
file.
- 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.
- getAnnotationInfo() - Method in class io.github.classgraph.PackageInfo
-
Get any annotations on the package-info.class
file.
- 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.FieldInfo
-
Get a the named
Repeatable
annotation on this field, or the empty list if the field does not have the
named annotation.
- getAnnotationInfoRepeatable(String) - Method in class io.github.classgraph.MethodInfo
-
Get a the named
Repeatable
annotation on this method, or the empty list if the method 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
-
- 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.
- getBaseClassName() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get the name of the base class.
- 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 whitelisted 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(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(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(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(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(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.ClassRefTypeSignature
-
Get the
ClassInfo
object for the referenced class.
- getClassInfo() - Method in class io.github.classgraph.FieldInfo
-
Get the
ClassInfo
object for the declaring class (i.e.
- getClassInfo() - Method in class io.github.classgraph.MethodInfo
-
Get the
ClassInfo
object for the declaring class (i.e.
- 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() - Method in class io.github.classgraph.ModuleInfo
-
Get the list of
ClassInfo
objects for all classes that are members of this package.
- 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() - 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.ScanResult
-
Get the
ClassInfo
object for the named class, or null if no class of the requested name was found in
a whitelisted/non-blacklisted package during the scan.
- getClassInfoRecursive() - Method in class io.github.classgraph.PackageInfo
-
Get the
ClassInfo
objects for all classes that are members of this package or a sub-package.
- getClassLoader() - Method in class io.github.classgraph.ModuleRef
-
Get the class loader for the module.
- getClassName() - Method in class io.github.classgraph.AnnotationEnumValue
-
Get the class name.
- 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 array elements.
- getEnums() - Method in class io.github.classgraph.ClassInfoList
-
- 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(String) - Method in class io.github.classgraph.ScanResult
-
Get all interfaces implemented by the named class or by one of its superclasses, if this is a standard class,
or the superinterfaces extended by this interface, if this is an interface.
- getInterfacesAndAnnotations() - Method in class io.github.classgraph.ClassInfoList
-
Filter this
ClassInfoList
to include only interfaces and annotations (annotations are interfaces, and
can be implemented).
- 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.
- 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(String) - Method in class io.github.classgraph.ClassInfo
-
Returns information on the method(s) or constructor(s) of the given name declared by this class, but not by
its interfaces or superclasses.
- getMethodInfo() - Method in class io.github.classgraph.MethodParameterInfo
-
- getMethodParameterAnnotations() - Method in class io.github.classgraph.ClassInfo
-
Get all method parameter annotations.
- getModifiers() - Method in class io.github.classgraph.ClassInfo
-
Get the class modifier bits.
- getModifiers() - Method in class io.github.classgraph.FieldInfo
-
Returns the modifier bits for the field.
- getModifiers() - Method in class io.github.classgraph.MethodInfo
-
Returns the modifier bits for the method.
- getModifiers() - Method in class io.github.classgraph.MethodParameterInfo
-
Method parameter modifiers.
- getModifiersStr() - Method in class io.github.classgraph.ClassInfo
-
Get the class modifiers as a String.
- getModifiersStr() - Method in class io.github.classgraph.MethodInfo
-
Get the method modifiers as a String, e.g.
- getModifiersStr() - Method in class io.github.classgraph.MethodParameterInfo
-
Get the method parameter modifiers as a String, e.g.
- getModifierStr() - Method in class io.github.classgraph.FieldInfo
-
Get the field modifiers as a string, e.g.
- getModuleInfo() - Method in class io.github.classgraph.ClassInfo
-
- 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.
- getModuleInfo() - Method in class io.github.classgraph.ScanResult
-
Get all modules found during the scan.
- getModulePathInfo() - Method in class io.github.classgraph.ClassGraph
-
Get the module path info provided on the commandline with --module-path
, --add-modules
,
--patch-module
, --add-exports
, --add-opens
, and --add-reads
.
- getModulePathInfo() - Method in class io.github.classgraph.ScanResult
-
Get the module path info provided on the commandline with --module-path
, --add-modules
,
--patch-module
, --add-exports
, --add-opens
, and --add-reads
, and also the
Add-Exports
and Add-Opens
entries from jarfile manifest files encountered during scanning.
- getModuleRef() - Method in class io.github.classgraph.ClassInfo
-
Get the module that this class was found within, as a
ModuleRef
, or null if this class was found in a
directory or jar in the classpath.
- getModuleRef() - Method in class io.github.classgraph.ModuleInfo
-
The
ModuleRef
for this module, or null if this module was obtained from a classpath element on the
traditional classpath that contained a
module-info.class
file.
- getModuleRef() - Method in class io.github.classgraph.Resource
-
- 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.FieldInfo
-
Get the name of the field.
- 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.
- 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
-
- 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() - Method in class io.github.classgraph.ModuleInfo
-
Get the
PackageInfo
objects for all packages that are members of 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.
- getPackageInfo() - Method in class io.github.classgraph.ScanResult
-
Get all packages 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.
- 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.
- getRecords() - Method in class io.github.classgraph.ClassInfoList
-
- getReference() - Method in class io.github.classgraph.ModuleRef
-
Get the module reference (of JPMS type ModuleReference).
- 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.
- getResourcesMatchingPattern(Pattern) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in whitelisted packages that have a path matching the requested pattern.
- getResourcesWithExtension(String) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in whitelisted packages that have the requested filename extension.
- getResourcesWithLeafName(String) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in whitelisted packages that have the requested leafname.
- getResourcesWithPath(String) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in whitelisted packages that have the given path, relative to the package
root of the classpath element.
- getResourcesWithPathIgnoringWhitelist(String) - Method in class io.github.classgraph.ScanResult
-
Get the list of all resources found in any classpath element, whether in whitelisted packages or not (as
long as the resource is not blacklisted), that have the given path, relative to the package root of the
classpath element.
- 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.
- 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(String) - Method in class io.github.classgraph.ScanResult
-
Get all subclasses of the named superclass.
- getSuffixes() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get any suffixes of the class (typically nested inner class names).
- getSuffixTypeArguments() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get any type arguments for any suffixes of the class, one list per suffix.
- getSuperclass() - Method in class io.github.classgraph.ClassInfo
-
Get the single direct superclass of this class, or null if none.
- getSuperclasses() - Method in class io.github.classgraph.ClassInfo
-
Get all superclasses of this class, in ascending order in the class hierarchy.
- getSuperclasses(String) - Method in class io.github.classgraph.ScanResult
-
Get superclasses of the named subclass.
- getSuperclassSignature() - Method in class io.github.classgraph.ClassTypeSignature
-
Get the type signature for the superclass (possibly null in the case of
Object
, since it
doesn't have a superclass).
- getSuperinterfaceSignatures() - Method in class io.github.classgraph.ClassTypeSignature
-
Get the type signatures of any superinterfaces.
- 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.
- getTypeArguments() - Method in class io.github.classgraph.ClassRefTypeSignature
-
Get any type arguments of the base class.
- getTypeDescriptor() - Method in class io.github.classgraph.FieldInfo
-
Returns the parsed type descriptor for the field, 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.FieldInfo
-
Returns the type descriptor string for the field, which will not include type parameters.
- getTypeDescriptorStr() - Method in class io.github.classgraph.MethodInfo
-
Returns the type descriptor string for the method, which will not include type parameters.
- getTypeParameters() - Method in class io.github.classgraph.ClassTypeSignature
-
Get the type parameters for the class.
- getTypeSignature() - Method in class io.github.classgraph.ArrayClassInfo
-
Returns null, because array classes do not have a ClassTypeSignature.
- getTypeSignature(String) - Static method in class io.github.classgraph.BaseTypeSignature
-
- getTypeSignature() - Method in class io.github.classgraph.ClassInfo
-
Get the parsed type signature for the class.
- 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.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.FieldInfo
-
Returns the type signature string for the field, possibly including type parameters.
- getTypeSignatureOrTypeDescriptorStr() - Method in class io.github.classgraph.MethodInfo
-
Returns the type signature string for the method, 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.FieldInfo
-
Returns the type signature string for the field, possibly including type parameters.
- getTypeSignatureStr() - Method in class io.github.classgraph.MethodInfo
-
Returns the type signature string for the method, possibly including type parameters.
- getTypeStr() - Method in class io.github.classgraph.BaseTypeSignature
-
Get 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.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
-
- 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}.