public class ClassNameCollector extends java.lang.Object implements ClassVisitor
ClassVisitor
collects the names of the classes that it visits in the given
collection.Constructor and Description |
---|
ClassNameCollector(java.util.Collection<java.lang.String> collection)
Creates a new ClassNameCollector.
|
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 ClassNameCollector(java.util.Collection<java.lang.String> collection)
collection
- the Collection
in which all class names will be collected.public void visitAnyClass(Clazz clazz)
ClassVisitor
visitAnyClass
in interface ClassVisitor