Package proguard.classfile.visitor
Class MultiConstantVisitor
- java.lang.Object
-
- proguard.classfile.visitor.MultiConstantVisitor
-
- All Implemented Interfaces:
ConstantVisitor
public class MultiConstantVisitor extends java.lang.Object implements ConstantVisitor
ThisConstantVisitor
delegates all visits to eachConstantVisitor
in a given list.
-
-
Constructor Summary
Constructors Constructor Description MultiConstantVisitor()
MultiConstantVisitor(ConstantVisitor... constantVisitors)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClassVisitor(ConstantVisitor constantVisitor)
void
visitAnyConstant(Clazz clazz, Constant constant)
Visits any Constant 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.constant.visitor.ConstantVisitor
visitAnyMethodrefConstant, visitAnyRefConstant, visitClassConstant, visitDoubleConstant, visitDynamicConstant, visitFieldrefConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitInvokeDynamicConstant, visitLongConstant, visitMethodHandleConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitStringConstant, visitUtf8Constant
-
-
-
-
Constructor Detail
-
MultiConstantVisitor
public MultiConstantVisitor()
-
MultiConstantVisitor
public MultiConstantVisitor(ConstantVisitor... constantVisitors)
-
-
Method Detail
-
addClassVisitor
public void addClassVisitor(ConstantVisitor constantVisitor)
-
visitAnyConstant
public void visitAnyConstant(Clazz clazz, Constant constant)
Description copied from interface:ConstantVisitor
Visits any Constant instance. The more specific default implementations of this interface delegate to this method.- Specified by:
visitAnyConstant
in interfaceConstantVisitor
-
-