java.lang.Object | +--jdepend.swingui.JDependAll Implemented Interfaces:
JDepend() Constructs a JDepend instance. |
void | addDirectory(java.lang.String name) Adds the specified directory name to the collection of directories to be analyzed. |
void | analyze() Analyzes the registered directories, generates metrics for each Java package, and reports the metrics in a graphical format. |
static void | main(java.lang.String[] args) Main |
void | onParsedJavaClass(final JavaClass jClass) Called whenever a Java source file is parsed into the specified JavaClass instance. |
void | setFilter(PackageFilter filter) Sets the package filter. |
public JDepend()
JDepend
instance.
public void addDirectory(java.lang.String name)
java.io.IOException
- If the directory does not exist.public void analyze()
public static void main(java.lang.String[] args)
public void onParsedJavaClass(final JavaClass jClass)
JavaClass
instance.
public void setFilter(PackageFilter filter)
JDepend
class analyzes directories of Java class files, generates metrics for each Java package, and reports the metrics in a Swing tree.