public interface DependencyAnalyzer
| Modifier and Type | Method and Description | 
|---|---|
| void | addClassPath(Path classpath)Add a classpath to the classpath being used by the analyzer. | 
| void | addRootClass(String classname)Add a root class. | 
| void | addSourcePath(Path sourcePath)Add a source path to the source path used by this analyzer. | 
| void | config(String name,
      Object info)Configure an aspect of the analyzer. | 
| File | getClassContainer(String classname)Get the file that contains the class definition | 
| Enumeration<String> | getClassDependencies()Get the list of classes upon which root classes depend. | 
| Enumeration<File> | getFileDependencies()Get the list of files in the file system upon which the root classes
 depend. | 
| File | getSourceContainer(String classname)Get the file that contains the class source. | 
| void | reset()Reset the dependency list. | 
| void | setClosure(boolean closure)Set the closure flag. | 
void addClassPath(Path classpath)
classpath - the Path instance specifying the classpath elementsvoid addRootClass(String classname)
classname - the name of the class in Java dot notation.void addSourcePath(Path sourcePath)
sourcePath - The Path instance specifying the source path
      elements.void config(String name, Object info)
name - the name of the aspect being configuredinfo - the configuration information.File getClassContainer(String classname) throws IOException
classname - the name of the required classIOException - if the files in the classpath cannot be read.Enumeration<String> getClassDependencies()
Enumeration<File> getFileDependencies()
File getSourceContainer(String classname) throws IOException
classname - the name of the required classIOException - if the files in the sourcepath cannot be read.void reset()
void setClosure(boolean closure)
closure - true if dependencies should be traversed to determine
      indirect dependencies.