Package proguard.classfile.visitor
Class MultiClassVisitor
- java.lang.Object
-
- proguard.classfile.visitor.MultiClassVisitor
-
- All Implemented Interfaces:
ClassVisitor
public class MultiClassVisitor extends java.lang.Object implements ClassVisitor
ThisClassVisitor
delegates all visits to eachClassVisitor
in a given list.
-
-
Constructor Summary
Constructors Constructor Description MultiClassVisitor()
MultiClassVisitor(ClassVisitor... classVisitors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClassVisitor(ClassVisitor classVisitor)
void
visitAnyClass(Clazz clazz)
Visits any Clazz instance.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.classfile.visitor.ClassVisitor
visitLibraryClass, visitProgramClass
-
-
-
-
Constructor Detail
-
MultiClassVisitor
public MultiClassVisitor()
-
MultiClassVisitor
public MultiClassVisitor(ClassVisitor... classVisitors)
-
-
Method Detail
-
addClassVisitor
public void addClassVisitor(ClassVisitor classVisitor)
-
visitAnyClass
public void visitAnyClass(Clazz clazz)
Description copied from interface:ClassVisitor
Visits any Clazz instance. The more specific default implementations of this interface delegate to this method.- Specified by:
visitAnyClass
in interfaceClassVisitor
-
-