Index
All Classes and Interfaces|All Packages
A
- accept(String) - Method in class dxt.scanpath.v1.support.ClassFilter
-
Determines whether a class should be accepted based on the include/exclude rules.
- addClassPath(String) - Method in class dxt.scanpath.v1.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.v1.support.MetaStore
-
Adds a class with a specific annotation to the metadata store.
- addClassWithFieldAnnotation(String, String) - Method in class dxt.scanpath.v1.support.MetaStore
-
Adds a class with a specific field annotation to the metadata store.
- addClassWithMethodAnnotation(String, String) - Method in class dxt.scanpath.v1.support.MetaStore
-
Adds a class with a specific method annotation to the metadata store.
- addInheritance(String, String) - Method in class dxt.scanpath.v1.support.MetaStore
-
Adds an inheritance relationship between a base class and a derived class to the metadata store.
- addLibPath(String) - Method in class dxt.scanpath.v1.ScanScope
-
Adds an entry to the list of libpaths that should be scanned by the classpath browser for lookup of specific Java types.
C
- ClassAnnotationVisitor - Class in dxt.scanpath.v1.support
-
Visits classes and records the annotations declared on their class, interface, and superclass hierarchy.
- ClassAnnotationVisitor() - Constructor for class dxt.scanpath.v1.support.ClassAnnotationVisitor
- ClassFile - Interface in dxt.scanpath.v1.support
-
Abstracts out a file that contains bytecodes of a Java class.
- ClassFilter - Class in dxt.scanpath.v1.support
-
Filters classes based on package, class name, and class name patterns.
- ClassFilter() - Constructor for class dxt.scanpath.v1.support.ClassFilter
-
Creates a new class filter with no includes or excludes.
- ClassList - Interface in dxt.scanpath.v1.support
-
Abstracts out a collection of class files that can be read from a specific location.
- ClasspathScanner - Class in dxt.scanpath.v1
-
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.v1.ClasspathScanner
-
Creates a new classpath scanner to search for specific items on the classpath.
- ClassVisitor - Class in dxt.scanpath.v1.support
-
Defines a visitor that inspects one class file at a time for specific inheritance and annotation constructs.
- ClassVisitor() - Constructor for class dxt.scanpath.v1.support.ClassVisitor
- close() - Method in interface dxt.scanpath.v1.support.ClassList
-
Closes this ClassList and releases any resources associated with it.
- close() - Method in class dxt.scanpath.v1.support.DiskClassList
-
Closes this ClassList and releases any resources associated with it.
- close() - Method in class dxt.scanpath.v1.support.JarClassList
-
Closes this ClassList and releases any resources associated with it.
- close() - Method in class dxt.scanpath.v1.support.ZipClassList
-
Closes this ClassList and releases any resources associated with it.
- clsPool - Variable in class dxt.scanpath.v1.support.ClassVisitor
-
The shared Javassist
ClassPoolinstance that is used to obtain the class definition for a fully qualified name.
D
- DiskClassFile - Class in dxt.scanpath.v1.support
-
A file in the local filesystem that contains the bytecodes of a Java class.
- DiskClassFile(File, File) - Constructor for class dxt.scanpath.v1.support.DiskClassFile
-
Creates a new instance of DiskClassFile.
- DiskClassList - Class in dxt.scanpath.v1.support
-
A ClassList implementation that scans a directory on disk for .class files.
- DiskClassList(File) - Constructor for class dxt.scanpath.v1.support.DiskClassList
-
Creates a new DiskClassList that will scan the given directory for .class files into a collection.
- duplicate() - Method in class dxt.scanpath.v1.ScanScope
-
Creates a new scanning scope using the data contained within this scope.
- dxt.scanpath.v1 - package dxt.scanpath.v1
- dxt.scanpath.v1.support - package dxt.scanpath.v1.support
E
- excludeClass(String) - Method in class dxt.scanpath.v1.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.
- excludeClass(String) - Method in class dxt.scanpath.v1.support.ClassFilter
-
Adds a class name to the list of excluded classes.
- excludeClassesByPattern(String) - Method in class dxt.scanpath.v1.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.
- excludeClassesByPattern(String) - Method in class dxt.scanpath.v1.support.ClassFilter
-
Adds a class name pattern to the list of excluded class patterns.
- excludePackage(String) - Method in class dxt.scanpath.v1.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.
- excludePackage(String) - Method in class dxt.scanpath.v1.support.ClassFilter
-
Adds a package to the list of excluded packages.
- excludeSystemClassPath() - Method in class dxt.scanpath.v1.ScanScope
-
Excludes the system classpath from the scan scope.
F
- FieldAnnotationVisitor - Class in dxt.scanpath.v1.support
-
Visits classes and records the annotations declared on their fields and superclass hierarchy.
- FieldAnnotationVisitor() - Constructor for class dxt.scanpath.v1.support.FieldAnnotationVisitor
G
- getFiles() - Method in interface dxt.scanpath.v1.support.ClassList
-
Returns an iterable collection of ClassFile objects that can be read from this ClassList.
- getFiles() - Method in class dxt.scanpath.v1.support.DiskClassList
-
Returns an iterable collection of ClassFile objects that can be read from this ClassList.
- getFiles() - Method in class dxt.scanpath.v1.support.JarClassList
-
Returns an iterable collection of ClassFile objects that can be read from this ClassList.
- getFiles() - Method in class dxt.scanpath.v1.support.ZipClassList
-
Returns an iterable collection of ClassFile objects that can be read from this ClassList.
- getName() - Method in interface dxt.scanpath.v1.support.ClassFile
-
Retrieves the fully qualified name of the class whose bytecodes are contained in this file.
- getName() - Method in class dxt.scanpath.v1.support.DiskClassFile
-
Retrieves the fully qualified name of the class whose bytecodes are contained in this file.
- getName() - Method in class dxt.scanpath.v1.support.JarClassFile
-
Retrieves the fully qualified name of the class whose bytecodes are contained in this file.
- getName() - Method in class dxt.scanpath.v1.support.ZipClassFile
-
Retrieves the fully qualified name of the class whose bytecodes are contained in this file.
- getSimpleName() - Method in interface dxt.scanpath.v1.support.ClassFile
-
Retrieves the name of the class whose bytecodes are contained in this file.
- getSimpleName() - Method in class dxt.scanpath.v1.support.DiskClassFile
-
Retrieves the name of the class whose bytecodes are contained in this file.
- getSimpleName() - Method in class dxt.scanpath.v1.support.JarClassFile
-
Retrieves the name of the class whose bytecodes are contained in this file.
- getSimpleName() - Method in class dxt.scanpath.v1.support.ZipClassFile
-
Retrieves the name of the class whose bytecodes are contained in this file.
I
- includeClass(String) - Method in class dxt.scanpath.v1.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.
- includeClass(String) - Method in class dxt.scanpath.v1.support.ClassFilter
-
Adds a class name to the list of included classes.
- includeClassesByPattern(String) - Method in class dxt.scanpath.v1.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.
- includeClassesByPattern(String) - Method in class dxt.scanpath.v1.support.ClassFilter
-
Adds a class name pattern to the list of included class patterns.
- includePackage(String) - Method in class dxt.scanpath.v1.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.
- includePackage(String) - Method in class dxt.scanpath.v1.support.ClassFilter
-
Adds a package to the list of included packages.
- InheritanceVisitor - Class in dxt.scanpath.v1.support
-
Visits classes and records the inheritance relationships between classes, interfaces, and superclasses.
- InheritanceVisitor() - Constructor for class dxt.scanpath.v1.support.InheritanceVisitor
J
- JarClassFile - Class in dxt.scanpath.v1.support
-
An entry within a JAR file that can be used to read the bytecodes of a Java class.
- JarClassFile(JarFile, JarEntry) - Constructor for class dxt.scanpath.v1.support.JarClassFile
-
Creates a new JAR class file entry.
- JarClassList - Class in dxt.scanpath.v1.support
-
A collection of Java class files contained within a given JAR file.
- JarClassList(JarFile) - Constructor for class dxt.scanpath.v1.support.JarClassList
-
Creates a new JarClassList that will read class files from the specified JAR file.
L
- listAnnotatedClasses(Class) - Method in class dxt.scanpath.v1.ClasspathScanner
-
Retrieves a list of Java types, that are qualified with the given annotation.
- listAnnotatedClasses(String) - Method in class dxt.scanpath.v1.support.MetaStore
-
Retrieves a list of Java types that are annotated with the specified annotation.
- listClassesWithAnnotatedFields(Class) - Method in class dxt.scanpath.v1.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.v1.support.MetaStore
-
Retrieves a list of Java types that have at least one field annotated with the specified annotation.
- listClassesWithAnnotatedMethods(Class) - Method in class dxt.scanpath.v1.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.v1.support.MetaStore
-
Retrieves a list of Java types that have at least one method annotated with the specified annotation.
- listInheritingClasses(Class) - Method in class dxt.scanpath.v1.ClasspathScanner
-
Retrieves a list of Java types that derives/implements, either directly or indirectly, the given type.
- listInheritingClasses(String) - Method in class dxt.scanpath.v1.support.MetaStore
-
Retrieves a list of Java types that inherit from or implement the specified base type.
- load(ScanScope) - Method in class dxt.scanpath.v1.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.v1.support.ClassVisitor
-
The shared
MetaStoreinstance that is used to store associations discovered during the visitation of classes. - MetaStore - Class in dxt.scanpath.v1.support
-
Stores metadata about classes discovered on the classpath, including inheritance relationships and annotations on classes, fields, and methods.
- MetaStore() - Constructor for class dxt.scanpath.v1.support.MetaStore
-
Creates a new MetaStore instance that will use the current thread's context class loader to load classes.
- MethodAnnotationVisitor - Class in dxt.scanpath.v1.support
-
Visits all methods of a class and records the annotations on each method.
- MethodAnnotationVisitor() - Constructor for class dxt.scanpath.v1.support.MethodAnnotationVisitor
O
- openInputStream() - Method in interface dxt.scanpath.v1.support.ClassFile
-
Gets an input stream to read bytecode contents of the class file.
- openInputStream() - Method in class dxt.scanpath.v1.support.DiskClassFile
-
Gets an input stream to read bytecode contents of the class file.
- openInputStream() - Method in class dxt.scanpath.v1.support.JarClassFile
-
Gets an input stream to read bytecode contents of the class file.
- openInputStream() - Method in class dxt.scanpath.v1.support.ZipClassFile
-
Gets an input stream to read bytecode contents of the class file.
S
- ScanScope - Class in dxt.scanpath.v1
-
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.v1.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.v1.ClasspathScanner
-
Sets a custom classloader that is subsequently used to load classes from the scanned class path.
- setClassLoader(ClassLoader) - Method in class dxt.scanpath.v1.support.MetaStore
-
Sets the class loader to use when loading classes from the metadata store.
- setClassPool(ClassPool) - Method in class dxt.scanpath.v1.support.ClassVisitor
-
Sets the shared Javassist
ClassPoolfor this visitor. - setMetaStore(MetaStore) - Method in class dxt.scanpath.v1.support.ClassVisitor
-
Sets the common
MetaStorefor this visitor.
T
- toString() - Method in class dxt.scanpath.v1.support.JarClassFile
- toString() - Method in class dxt.scanpath.v1.support.JarClassList
- toString() - Method in class dxt.scanpath.v1.support.ZipClassFile
- toString() - Method in class dxt.scanpath.v1.support.ZipClassList
V
- visit(String) - Method in class dxt.scanpath.v1.support.ClassAnnotationVisitor
-
Visits a class given its fully qualified class name (FQCN).
- visit(String) - Method in class dxt.scanpath.v1.support.ClassVisitor
-
Visits a class given its fully qualified class name (FQCN).
- visit(String) - Method in class dxt.scanpath.v1.support.FieldAnnotationVisitor
-
Visits a class given its fully qualified class name (FQCN).
- visit(String) - Method in class dxt.scanpath.v1.support.InheritanceVisitor
-
Visits a class given its fully qualified class name (FQCN).
- visit(String) - Method in class dxt.scanpath.v1.support.MethodAnnotationVisitor
-
Visits a class given its fully qualified class name (FQCN).
Z
- ZipClassFile - Class in dxt.scanpath.v1.support
-
An entry within a ZIP file that can be used to read the bytecodes of a Java class.
- ZipClassFile(ZipFile, ZipEntry) - Constructor for class dxt.scanpath.v1.support.ZipClassFile
-
Creates a new ZipClassFile instance.
- ZipClassList - Class in dxt.scanpath.v1.support
-
A collection of Java class files contained within a ZIP file.
- ZipClassList(ZipFile) - Constructor for class dxt.scanpath.v1.support.ZipClassList
-
Creates a new ZipClassList instance.
All Classes and Interfaces|All Packages