Methods Summary |
---|
public void | addClassPath(org.apache.tools.ant.types.Path classpath)Add a classpath to the classpath being used by the analyzer. The
classpath contains the binary classfiles for the classes being
analyzed The elements may either be the directories or jar files.Not
all analyzers will use this information.
|
public void | addRootClass(java.lang.String classname)Add a root class. The root classes are used to drive the
determination of dependency information. The analyzer will start at
the root classes and add dependencies from there.
|
public void | addSourcePath(org.apache.tools.ant.types.Path sourcePath)Add a source path to the source path used by this analyzer. The
elements in the given path contain the source files for the classes
being analyzed. Not all analyzers will use this information.
|
public void | config(java.lang.String name, java.lang.Object info)Configure an aspect of the analyzer. The set of aspects that are
supported is specific to each analyzer instance.
|
public java.io.File | getClassContainer(java.lang.String classname)Get the file that contains the class definition
|
public java.util.Enumeration | getClassDependencies()Get the list of classes upon which root classes depend. This is a
list of Java classnames in dot notation.
|
public java.util.Enumeration | getFileDependencies()Get the list of files in the file system upon which the root classes
depend. The files will be either the classfiles or jar files upon
which the root classes depend.
|
public java.io.File | getSourceContainer(java.lang.String classname)Get the file that contains the class source.
|
public void | reset()Reset the dependency list. This will reset the determined
dependencies and the also list of root classes.
|
public void | setClosure(boolean closure)Set the closure flag. If this flag is true the analyzer will traverse
all class relationships until it has collected the entire set of
direct and indirect dependencies
|