public class MultiConstantVisitor extends java.lang.Object implements ConstantVisitor
ConstantVisitor
delegates all visits to each ConstantVisitor
in a given
list.Constructor and Description |
---|
MultiConstantVisitor() |
MultiConstantVisitor(ConstantVisitor... constantVisitors) |
Modifier and Type | Method and Description |
---|---|
void |
addClassVisitor(ConstantVisitor constantVisitor) |
void |
visitAnyConstant(Clazz clazz,
Constant constant)
Visits any Constant instance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitAnyMethodrefConstant, visitAnyRefConstant, visitClassConstant, visitDoubleConstant, visitDynamicConstant, visitFieldrefConstant, visitFloatConstant, visitIntegerConstant, visitInterfaceMethodrefConstant, visitInvokeDynamicConstant, visitLongConstant, visitMethodHandleConstant, visitMethodrefConstant, visitMethodTypeConstant, visitModuleConstant, visitNameAndTypeConstant, visitPackageConstant, visitPrimitiveArrayConstant, visitStringConstant, visitUtf8Constant
public MultiConstantVisitor()
public MultiConstantVisitor(ConstantVisitor... constantVisitors)
public void addClassVisitor(ConstantVisitor constantVisitor)
public void visitAnyConstant(Clazz clazz, Constant constant)
ConstantVisitor
visitAnyConstant
in interface ConstantVisitor