|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectEmptyVisitor
org.apache.tools.ant.util.depend.bcel.DependencyVisitor
public class DependencyVisitor
A BCEL visitor implementation to collect class dependency information
| Constructor Summary | |
|---|---|
DependencyVisitor()
|
|
| Method Summary | |
|---|---|
void |
clearDependencies()
Clear the curretn set of collected dependencies. |
java.util.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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DependencyVisitor()
| Method Detail |
|---|
public java.util.Enumeration getDependencies()
public void clearDependencies()
public void visitConstantPool(ConstantPool constantPool)
constantPool - the constant pool of the class being visited.public void visitConstantClass(ConstantClass constantClass)
constantClass - the constantClass entry for the class referencepublic void visitConstantNameAndType(ConstantNameAndType obj)
obj - the name and type reference being visited.public void visitField(Field field)
field - the field being visitedpublic void visitJavaClass(JavaClass javaClass)
javaClass - the class being visited.public void visitMethod(Method method)
method - the method being visited.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||