Location
s.
Subtypes of Dependency
may provide additional detail about the dependency.
Dependency.Finder
, Dependency.Filter
, Dependencies
Modifier and Type | Class and Description |
---|---|
public static interface | Dependency.
A filter used to select dependencies of interest, and to discard others. |
public static interface | Dependency.
An interface for finding the immediate dependencies of a given class file. |
public static interface | Dependency.
A location somewhere within a class. |
Modifier and Type | Method and Description |
---|---|
public Dependency. | |
public Dependency. | Returns: the location that is being depended upon.Get the location that is being depended upon. |
getOrigin | back to summary |
---|---|
public Dependency. Get the location that has the dependency.
|
getTarget | back to summary |
---|---|
public Dependency. Get the location that is being depended upon.
|
Modifier and Type | Method and Description |
---|---|
public boolean | Returns: true if and only if the dependency is of interest.the dependency to be considered dependency)Return true if the dependency is of interest. |
accepts | back to summary |
---|---|
public boolean accepts(Dependency dependency) Return true if the dependency is of interest.
|
Modifier and Type | Method and Description |
---|---|
public Iterable | Returns: the dependencies located in the given class file.the class file to be examined classfile)Find the immediate dependencies of a given class file. |
findDependencies | back to summary |
---|---|
public Iterable Find the immediate dependencies of a given class file.
|
Location
may be used to provide additional detail about the location.
Modifier and Type | Method and Description |
---|---|
public String | Returns: the fully-qualified name of the class containing the location.Get the fully-qualified name of the class containing the location. |
public String | Returns: the name of the class containing the location.Get the name of the class containing the location. |
public String | Returns: the package name of the class containing the location.Get the package name of the class containing the location. |
getClassName | back to summary |
---|---|
public String getClassName() Get the fully-qualified name of the class containing the location.
|
getName | back to summary |
---|---|
public String getName() Get the name of the class containing the location. This name will be used to locate the class file for transitive dependency analysis.
|
getPackageName | back to summary |
---|---|
public String getPackageName() Get the package name of the class containing the location.
|