org.apache.tools.ant.util.depend.bcel
public class DependencyVisitor extends EmptyVisitor
Method Summary | |
---|---|
void | clearDependencies() Clear the curretn set of collected dependencies. |
Enumeration | getDependencies()
Get the dependencies collected by this visitor
|
void | visitConstantClass(ConstantClass constantClass)
Visit a class reference
|
void | visitConstantNameAndType(ConstantNameAndType obj)
Visit a name and type ref
Look for class references in this
|
void | visitConstantPool(ConstantPool constantPool)
Visit the constant pool of a class
|
void | visitField(Field field)
Visit a field of the class.
|
void | visitJavaClass(JavaClass javaClass)
Visit a Java class
|
void | visitMethod(Method method)
Visit a method of the current class
|
Returns: a Enumeration of classnames, being the classes upon which the visited classes depend.
Parameters: constantClass the constantClass entry for the class reference
Parameters: obj the name and type reference being visited.
Parameters: constantPool the constant pool of the class being visited.
Parameters: field the field being visited
Parameters: javaClass the class being visited.
Parameters: method the method being visited.