Method Summary |
|
public void | addIgnoredBaseClass(String baseClass) Adds a base class that should be ignored. |
public void | addIgnoredBaseClass(Class baseClass) Adds a class to the list of ignored base classes. |
public void | addIgnoredPackage(String pkg) Adds a package that should be ignored. |
protected String | buildJavaName(String packageName, String newPackage) Creates a fully qualified Java class or package name.
Parameters: packageName - the base package name. Parameters: newPackage - the class/package name. |
public void | collectFiles() Collects the files/classes. |
protected void | collectFiles(File directory, String packageName) Collects the files/classes. |
public Class[] | getClasses() Returns the list of classes as an array. |
protected boolean | isIgnoredBaseClass(Class c) Returns true if the named class is being ignored (because it is a descendant
of an ignored base class), and false otherwise.
Parameters: c - the class name. |
protected boolean | isIgnoredPackage(String classname) Returns true if the named class is being ignored (because of the package that
it belongs to), and false otherwise.
Parameters: classname - the name of the class to test. |
protected Class | loadClass(String name) Loads a class by its fully qualified name.
Parameters: name - the class name. |