Index
All Classes and Interfaces|All Packages
A
- accepts(String) - Method in class dxt.scanpath.v2.mstore.ClassNameFilter
-
Determines whether a fully qualified class name passes the configured rules.
- addClassPath(String) - Method in class dxt.scanpath.v2.ScanScope
-
Adds an entry to the list of classpaths that should be scanned by the classpath browser for lookup of specific Java types.
- addClassWithAnnotation(String, String) - Method in class dxt.scanpath.v2.mstore.MetaStore
-
Records a class that has the specified class-level annotation.
- addClassWithFieldAnnotation(String, String) - Method in class dxt.scanpath.v2.mstore.MetaStore
-
Records a class that has a field with the specified annotation.
- addClassWithMethodAnnotation(String, String) - Method in class dxt.scanpath.v2.mstore.MetaStore
-
Records a class that has a method with the specified annotation.
- addInheritance(String, String) - Method in class dxt.scanpath.v2.mstore.MetaStore
-
Records that a class inherits from a base class or interface.
- appendClassPath(String) - Method in class dxt.scanpath.v2.bc.ZClassContext
-
Adds a class-path location to this context.
B
- BinFile - Interface in dxt.scanpath.v2.io
-
Represents a file or archive entry containing the bytecode of a Java class.
- BinSource - Interface in dxt.scanpath.v2.io
-
Provides access to class files discovered in a specific location, such as a directory, ZIP archive, or JAR archive.
- build(List, ClassNameFilter) - Method in class dxt.scanpath.v2.mstore.MetaStoreBuilder
-
Scans the supplied class paths and records metadata for accepted classes.
C
- ClassAnnotationVisitor - Class in dxt.scanpath.v2.mstore
-
Visits classes and records class-level annotation associations in a
MetaStore. - ClassAnnotationVisitor(MetaStore, ZClassContext) - Constructor for class dxt.scanpath.v2.mstore.ClassAnnotationVisitor
-
Creates a visitor backed by the supplied metadata store and class context.
- ClassNameFilter - Class in dxt.scanpath.v2.mstore
-
Selects classes for scanning by package names, exact class names, and regular expressions.
- ClassNameFilter() - Constructor for class dxt.scanpath.v2.mstore.ClassNameFilter
-
Creates an empty filter with no inclusion or exclusion rules.
- ClasspathScanner - Class in dxt.scanpath.v2
-
Scans one or more Java classpaths and indexes the discovered types so callers can query inheritance, annotation, field, and method metadata without having to load every class manually.
- ClasspathScanner() - Constructor for class dxt.scanpath.v2.ClasspathScanner
-
Creates a new classpath scanner to search for specific items on the classpath.
- ClassVisitor - Class in dxt.scanpath.v2.mstore
-
Base class for visitors that inspect class metadata and populate a
MetaStore. - ClassVisitor(MetaStore, ZClassContext) - Constructor for class dxt.scanpath.v2.mstore.ClassVisitor
-
Creates a visitor with a shared metadata store and class context.
- close() - Method in class dxt.scanpath.v2.bc.ZClassContext
-
Clears the indexed class files and cached class metadata.
- close() - Method in interface dxt.scanpath.v2.io.BinSource
-
Releases resources held by this source.
- close() - Method in class dxt.scanpath.v2.io.DiskBinSource
-
Releases resources held by this filesystem source.
- close() - Method in class dxt.scanpath.v2.io.JarBinSource
-
Closes the underlying JAR file.
- close() - Method in class dxt.scanpath.v2.io.ZipBinSource
-
Closes the underlying ZIP file.
- clsCtxt - Variable in class dxt.scanpath.v2.mstore.ClassVisitor
-
The context used to obtain class metadata by fully qualified name.
D
- DiskBinFile - Class in dxt.scanpath.v2.io
-
Represents a local filesystem class file.
- DiskBinFile(File, File) - Constructor for class dxt.scanpath.v2.io.DiskBinFile
-
Creates a representation of a class file relative to a filesystem root.
- DiskBinSource - Class in dxt.scanpath.v2.io
-
Discovers class files recursively within a local filesystem directory.
- DiskBinSource(File) - Constructor for class dxt.scanpath.v2.io.DiskBinSource
-
Creates a source rooted at the supplied directory.
- dumpState(String) - Method in class dxt.scanpath.v2.ClasspathScanner
-
Dumps the internal state of the classpath scanner, in terms of the list of Java types that were discovered and indexed, along with their inheritance, annotation, field, and method metadata.
- dumpState(String) - Method in class dxt.scanpath.v2.mstore.MetaStore
-
Produces a human-readable representation of all recorded relationships.
- duplicate() - Method in class dxt.scanpath.v2.ScanScope
-
Creates a new scanning scope using the data contained within this scope.
- dxt.scanpath.v2 - package dxt.scanpath.v2
- dxt.scanpath.v2.bc - package dxt.scanpath.v2.bc
- dxt.scanpath.v2.io - package dxt.scanpath.v2.io
- dxt.scanpath.v2.mstore - package dxt.scanpath.v2.mstore
E
- excludeApplicationClassPath() - Method in class dxt.scanpath.v2.ScanScope
-
Excludes the system classpath from the scan scope.
- excludeClass(String) - Method in class dxt.scanpath.v2.mstore.ClassNameFilter
-
Excludes a class by its exact fully qualified name.
- excludeClass(String) - Method in class dxt.scanpath.v2.ScanScope
-
Adds an entry to the list of type names to narrow down the set of Java types for lookup operations by the classpath browser.
- excludeClassesByPattern(String) - Method in class dxt.scanpath.v2.mstore.ClassNameFilter
-
Excludes classes whose fully qualified names match a regular expression.
- excludeClassesByPattern(String) - Method in class dxt.scanpath.v2.ScanScope
-
Adds an entry to the list of exclusion patterns to narrow down the set of Java types for lookup operations by the classpath browser.
- excludePackage(String) - Method in class dxt.scanpath.v2.mstore.ClassNameFilter
-
Excludes classes in the named package or one of its subpackages.
- excludePackage(String) - Method in class dxt.scanpath.v2.ScanScope
-
Adds an entry to the list of package names to narrow down the set of Java types for lookup operations by the classpath browser.
F
- FieldAnnotationVisitor - Class in dxt.scanpath.v2.mstore
-
Visits classes and records associations for annotations present on instance fields.
- FieldAnnotationVisitor(MetaStore, ZClassContext) - Constructor for class dxt.scanpath.v2.mstore.FieldAnnotationVisitor
-
Creates a visitor backed by the supplied metadata store and class context.
G
- getAnnotations() - Method in class dxt.scanpath.v2.bc.ZClass
-
Returns the types of the class's runtime-visible annotations.
- getAnnotations() - Method in class dxt.scanpath.v2.bc.ZField
-
Returns the types of the field's runtime-visible annotations.
- getAnnotations() - Method in class dxt.scanpath.v2.bc.ZMethod
-
Returns the types of the method's runtime-visible annotations.
- getClassName() - Method in interface dxt.scanpath.v2.io.BinFile
-
Returns the fully qualified name of the class whose bytecode is contained in this file.
- getClassName() - Method in class dxt.scanpath.v2.io.DiskBinFile
-
Returns the class name derived from the file's path relative to the root directory.
- getClassName() - Method in class dxt.scanpath.v2.io.JarBinFile
-
Returns the fully qualified class name derived from the archive entry name.
- getClassName() - Method in class dxt.scanpath.v2.io.ZipBinFile
-
Returns the fully qualified class name derived from the archive entry name.
- getContent() - Method in interface dxt.scanpath.v2.io.BinFile
-
Reads the binary contents of the class file.
- getContent() - Method in class dxt.scanpath.v2.io.DiskBinFile
-
Reads the class-file contents from the local filesystem.
- getContent() - Method in class dxt.scanpath.v2.io.JarBinFile
-
Reads the class-file contents from the JAR archive.
- getContent() - Method in class dxt.scanpath.v2.io.ZipBinFile
-
Reads the class-file contents from the ZIP archive.
- getFields() - Method in class dxt.scanpath.v2.bc.ZClass
-
Returns the fields declared by this class.
- getFiles() - Method in interface dxt.scanpath.v2.io.BinSource
-
Returns the class files available from this source.
- getFiles() - Method in class dxt.scanpath.v2.io.DiskBinSource
-
Recursively finds files with the
.classextension below the root directory. - getFiles() - Method in class dxt.scanpath.v2.io.JarBinSource
-
Returns all non-directory entries whose names end with
.class. - getFiles() - Method in class dxt.scanpath.v2.io.ZipBinSource
-
Returns all non-directory entries whose names end with
.class. - getInterfaces() - Method in class dxt.scanpath.v2.bc.ZClass
-
Returns the interfaces implemented by this class.
- getMethods() - Method in class dxt.scanpath.v2.bc.ZClass
-
Returns the methods declared by this class.
- getName() - Method in class dxt.scanpath.v2.bc.ZClass
-
Returns the fully qualified class name.
- getName() - Method in class dxt.scanpath.v2.bc.ZField
-
Returns the field name.
- getName() - Method in class dxt.scanpath.v2.bc.ZMethod
-
Returns the method name.
- getSimpleClassName() - Method in interface dxt.scanpath.v2.io.BinFile
-
Returns the class name without package information.
- getSimpleClassName() - Method in class dxt.scanpath.v2.io.DiskBinFile
-
Returns the class name without package information.
- getSimpleClassName() - Method in class dxt.scanpath.v2.io.JarBinFile
-
Returns the class name without package information.
- getSimpleClassName() - Method in class dxt.scanpath.v2.io.ZipBinFile
-
Returns the class name without package information.
- getSuperClass() - Method in class dxt.scanpath.v2.bc.ZClass
-
Returns the superclass metadata.
- getZClass(String) - Method in class dxt.scanpath.v2.bc.ZClassContext
-
Retrieves metadata for a class by fully qualified name.
H
- HierarchyVisitor - Class in dxt.scanpath.v2.mstore
-
Visits classes and records superclass and interface inheritance relationships.
- HierarchyVisitor(MetaStore, ZClassContext) - Constructor for class dxt.scanpath.v2.mstore.HierarchyVisitor
-
Creates a visitor backed by the supplied metadata store and class context.
I
- includeClass(String) - Method in class dxt.scanpath.v2.mstore.ClassNameFilter
-
Includes a class by its exact fully qualified name.
- includeClass(String) - Method in class dxt.scanpath.v2.ScanScope
-
Adds an entry to the list of type names to narrow down the set of Java types for lookup operations by the classpath browser.
- includeClassesByPattern(String) - Method in class dxt.scanpath.v2.mstore.ClassNameFilter
-
Includes classes whose fully qualified names match a regular expression.
- includeClassesByPattern(String) - Method in class dxt.scanpath.v2.ScanScope
-
Adds an entry to the list of inclusion patterns to narrow down the set of Java types for lookup operations by the classpath browser.
- includePackage(String) - Method in class dxt.scanpath.v2.mstore.ClassNameFilter
-
Includes classes in the named package or one of its subpackages.
- includePackage(String) - Method in class dxt.scanpath.v2.ScanScope
-
Adds an entry to the list of package names to narrow down the set of Java types for lookup operations by the classpath browser.
- isAbstract() - Method in class dxt.scanpath.v2.bc.ZMethod
-
Indicates whether the method has the
abstractmodifier. - isAvailable() - Method in class dxt.scanpath.v2.bc.ZClass
-
Indicates whether classfile data was available when this object was created.
- isNative() - Method in class dxt.scanpath.v2.bc.ZMethod
-
Indicates whether the method has the
nativemodifier. - isStatic() - Method in class dxt.scanpath.v2.bc.ZField
-
Indicates whether the field has the
staticmodifier. - isStatic() - Method in class dxt.scanpath.v2.bc.ZMethod
-
Indicates whether the method has the
staticmodifier.
J
- JarBinFile - Class in dxt.scanpath.v2.io
-
Represents a class-file entry within a JAR archive.
- JarBinFile(JarFile, JarEntry) - Constructor for class dxt.scanpath.v2.io.JarBinFile
-
Creates a representation of a JAR class-file entry.
- JarBinSource - Class in dxt.scanpath.v2.io
-
Discovers class-file entries within a JAR archive.
- JarBinSource(JarFile) - Constructor for class dxt.scanpath.v2.io.JarBinSource
-
Creates a source backed by the supplied JAR file.
L
- listAnnotatedClasses(Class) - Method in class dxt.scanpath.v2.ClasspathScanner
-
Retrieves a list of Java types, that are qualified with the given annotation.
- listAnnotatedClasses(String) - Method in class dxt.scanpath.v2.mstore.MetaStore
-
Resolves and returns classes recorded with the supplied class-level annotation.
- listClassesWithAnnotatedFields(Class) - Method in class dxt.scanpath.v2.ClasspathScanner
-
Retrieves a list of Java types, that encapsulates at least one field, that is qualified with the given annotation.
- listClassesWithAnnotatedFields(String) - Method in class dxt.scanpath.v2.mstore.MetaStore
-
Resolves and returns classes recorded with fields carrying the supplied annotation.
- listClassesWithAnnotatedMethods(Class) - Method in class dxt.scanpath.v2.ClasspathScanner
-
Retrieves a list of Java types, that encapsulates at least one method, that is qualified with the given annotation.
- listClassesWithAnnotatedMethods(String) - Method in class dxt.scanpath.v2.mstore.MetaStore
-
Resolves and returns classes recorded with methods carrying the supplied annotation.
- listClassNames() - Method in class dxt.scanpath.v2.bc.ZClassContext
-
Lists the fully qualified names of the class files in the current index.
- listInheritingClasses(Class) - Method in class dxt.scanpath.v2.ClasspathScanner
-
Retrieves a list of Java types that derives/implements, either directly or indirectly, the given type.
- listInheritingClasses(String) - Method in class dxt.scanpath.v2.mstore.MetaStore
-
Resolves and returns classes recorded as inheriting from the supplied base type.
- load(ScanScope) - Method in class dxt.scanpath.v2.ClasspathScanner
-
Prepare the list of Java types that would be further looked up for types with specific characteristics and/or constructs.
M
- metaStore - Variable in class dxt.scanpath.v2.mstore.ClassVisitor
-
The metadata store populated by this visitor.
- MetaStore - Class in dxt.scanpath.v2.mstore
-
Stores relationships discovered while scanning class metadata.
- MetaStore() - Constructor for class dxt.scanpath.v2.mstore.MetaStore
-
Creates an empty metadata store using the current thread's context class loader when available.
- MetaStoreBuilder - Class in dxt.scanpath.v2.mstore
-
Builds a
MetaStorefrom class files on configured class paths. - MetaStoreBuilder() - Constructor for class dxt.scanpath.v2.mstore.MetaStoreBuilder
-
Creates a metadata-store builder.
- MethodAnnotationVisitor - Class in dxt.scanpath.v2.mstore
-
Visits classes and records associations for annotations present on eligible instance methods.
- MethodAnnotationVisitor(MetaStore, ZClassContext) - Constructor for class dxt.scanpath.v2.mstore.MethodAnnotationVisitor
-
Creates a visitor backed by the supplied metadata store and class context.
P
- prepareIndex() - Method in class dxt.scanpath.v2.bc.ZClassContext
-
Rebuilds the class-file index from all classpath locations currently configured.
S
- ScanScope - Class in dxt.scanpath.v2
-
This class is used to specify the classpath entries and library files to be scanned for specific Java types.
- ScanScope() - Constructor for class dxt.scanpath.v2.ScanScope
-
Creates a new scan scope with no classpath or libpath entries, and no package or type name filters.
- setClassLoader(ClassLoader) - Method in class dxt.scanpath.v2.ClasspathScanner
-
Sets a custom classloader that is subsequently used to load classes from the scanned class path.
- setClassLoader(ClassLoader) - Method in class dxt.scanpath.v2.mstore.MetaStore
-
Sets the class loader used when resolving recorded class names.
T
- toString() - Method in class dxt.scanpath.v2.io.JarBinFile
-
Returns the archive path and entry path identifying this class file.
- toString() - Method in class dxt.scanpath.v2.io.JarBinSource
-
Returns the path of the underlying JAR file.
- toString() - Method in class dxt.scanpath.v2.io.ZipBinFile
-
Returns the archive path and entry path identifying this class file.
- toString() - Method in class dxt.scanpath.v2.io.ZipBinSource
-
Returns the path of the underlying ZIP file.
V
- visit(String) - Method in class dxt.scanpath.v2.mstore.ClassAnnotationVisitor
-
Visits the named class and its superclasses and interfaces.
- visit(String) - Method in class dxt.scanpath.v2.mstore.ClassVisitor
-
Visits a class identified by its fully qualified name.
- visit(String) - Method in class dxt.scanpath.v2.mstore.FieldAnnotationVisitor
-
Visits the named class and its inherited fields.
- visit(String) - Method in class dxt.scanpath.v2.mstore.HierarchyVisitor
-
Visits the named class and records its inherited types.
- visit(String) - Method in class dxt.scanpath.v2.mstore.MethodAnnotationVisitor
-
Visits the named class and its inherited methods.
Z
- ZClass - Class in dxt.scanpath.v2.bc
-
Encapsulates metadata for a class read directly from a class file.
- ZClassContext - Class in dxt.scanpath.v2.bc
-
Provides access to class metadata discovered from configured classpath locations.
- ZClassContext() - Constructor for class dxt.scanpath.v2.bc.ZClassContext
-
Creates an empty class context with no configured class-path locations.
- ZField - Class in dxt.scanpath.v2.bc
-
Encapsulates metadata for a field read directly from a class file.
- ZField(ZClassContext, FieldModel) - Constructor for class dxt.scanpath.v2.bc.ZField
-
Creates field metadata from a classfile field model.
- ZipBinFile - Class in dxt.scanpath.v2.io
-
Represents a class-file entry within a ZIP archive.
- ZipBinFile(ZipFile, ZipEntry) - Constructor for class dxt.scanpath.v2.io.ZipBinFile
-
Creates a representation of a ZIP class-file entry.
- ZipBinSource - Class in dxt.scanpath.v2.io
-
Discovers class-file entries within a ZIP archive.
- ZipBinSource(ZipFile) - Constructor for class dxt.scanpath.v2.io.ZipBinSource
-
Creates a source backed by the supplied ZIP file.
- ZMethod - Class in dxt.scanpath.v2.bc
-
Encapsulates metadata for a method read directly from a class file.
- ZMethod(ZClassContext, MethodModel) - Constructor for class dxt.scanpath.v2.bc.ZMethod
-
Creates method metadata from a class-file method model.
All Classes and Interfaces|All Packages