public class ClassCollector extends java.lang.Object implements ClassVisitor
ClassVisitor
collects the classes that it visits in the given collection.Constructor and Description |
---|
ClassCollector(java.util.Collection<Clazz> collection)
Creates a new ClassCollector.
|
Modifier and Type | Method and Description |
---|---|
void |
visitAnyClass(Clazz clazz)
Visits any Clazz instance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitLibraryClass, visitProgramClass
public ClassCollector(java.util.Collection<Clazz> collection)
collection
- the Collection
in which all classes will be collected.public void visitAnyClass(Clazz clazz)
ClassVisitor
visitAnyClass
in interface ClassVisitor