dependencies between class files.
A finder is used to identify the dependencies of
individual classes. Some finders may return subtypes of Dependency to
further characterize the type of dependency, such as a dependency on a
method within a class.
A filter may be used to restrict the set of
dependencies found by a finder.
Dependencies that are found may be passed to a recorder so that the dependencies can be stored in a custom data structure.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | Dependencies.
This class identifies class names in the signatures of classes, fields, and methods in a class. |
| pack-priv abstract static class | |
| pack-priv static class | Dependencies.
This class identifies class names directly or indirectly in the constant pool. |
| public static class | Dependencies.
Thrown when an exception is found processing a class file. |
| public static class | Dependencies.
Thrown when a class file cannot be found. |
| public static interface | Dependencies.
Service provider interface to locate and read class files. |
| pack-priv static class | Dependencies.
This class accepts all dependencies. |
| public static interface | Dependencies.
Service provide interface to handle results. |
| pack-priv static class | Dependencies.
A dependency of one class on another. |
| pack-priv static class | Dependencies.
A location identifying a class. |
| pack-priv static class | Dependencies.
This class accepts those dependencies whose class name is in a given package. |
| pack-priv static class | Dependencies.
This class accepts those dependencies whose target's class name matches a regular expression. |
| Modifier and Type | Field and Description |
|---|---|
| private Dependency. | |
| private Dependency. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Set | Returns: the set of dependencies that were founda finder to locate class files classFinder,the names of the root classes from which to begin
searching rootClassNames, boolean whether or not to also search those classes
named in any filtered dependencies that are found. transitiveClosure)Find the dependencies of a class, using the current
|
| public void | findAllDependencies(Dependencies.
a finder to locate class files classFinder,the names of the root classes from which to begin
searching rootClassNames, boolean whether or not to also search those classes
named in any filtered dependencies that are found. transitiveClosure, Dependencies.a recorder for handling the results recorderFind the dependencies of a class, using the current
|
| public static Dependency. | Returns: an API finderthe access of members to be checked access)Get a finder used to locate the API dependencies for a class. |
| public static Dependency. | Returns: a Class dependency finderGet a finder to do class dependency analysis. |
| public static Dependency. | Returns: the default filter.Get the default filter used to determine included when searching the transitive closure of all the dependencies. |
| public static Dependency. | Returns: the default finderGet the default finder used to locate the dependencies for a class. |
| public Dependency. | Returns: the filterGet the filter used to determine the dependencies included when searching the transitive closure of all the dependencies. |
| public Dependency. | |
| public static Dependency. | Returns: a filter for checking the target package name against a list of package namesthe package names used to match the target's class name packageNames, boolean whether or not to match subpackages as well matchSubpackages)Get a filter which checks the package of a target's class name to determine if a dependency is of interest. |
| public static Dependency. | Returns: a filter for matching the target class name with a regular expressionthe pattern used to match the target's class name pattern)Get a filter which uses a regular expression on the target's class name to determine if a dependency is of interest. |
| public void | setFilter(Dependency.
the filter fSet the filter used to determine the dependencies included when searching the transitive closure of all the dependencies. |
| public void |