Package proguard.classfile.visitor
Class ClassNameCollector
java.lang.Object
proguard.classfile.visitor.ClassNameCollector
- All Implemented Interfaces:
ClassVisitor
This
ClassVisitor collects the names of the classes that it visits in the given
collection.-
Constructor Summary
ConstructorsConstructorDescriptionClassNameCollector(Collection<String> collection) Creates a new ClassNameCollector. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface proguard.classfile.visitor.ClassVisitor
visitLibraryClass, visitProgramClass
-
Constructor Details
-
ClassNameCollector
Creates a new ClassNameCollector.- Parameters:
collection- theCollectionin which all class names will be collected.
-
-
Method Details
-
visitAnyClass
Description copied from interface:ClassVisitorVisits any Clazz instance. The more specific default implementations of this interface delegate to this method.- Specified by:
visitAnyClassin interfaceClassVisitor
-