类 InstructionConstantVisitor
- java.lang.Object
-
- proguard.classfile.instruction.visitor.InstructionConstantVisitor
-
- 所有已实现的接口:
InstructionVisitor
public class InstructionConstantVisitor extends java.lang.Object implements InstructionVisitor
ThisInstructionVisitorlets a givenConstantVisitorvisit all constants of the instructions it visits.
-
-
构造器概要
构造器 构造器 说明 InstructionConstantVisitor(ConstantVisitor constantVisitor)Creates a new InstructionConstantVisitor.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidvisitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction)Visits any Instruction instance.voidvisitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 proguard.classfile.instruction.visitor.InstructionVisitor
visitAnySwitchInstruction, visitBranchInstruction, visitLookUpSwitchInstruction, visitSimpleInstruction, visitTableSwitchInstruction, visitVariableInstruction
-
-
-
-
构造器详细资料
-
InstructionConstantVisitor
public InstructionConstantVisitor(ConstantVisitor constantVisitor)
Creates a new InstructionConstantVisitor.- 参数:
constantVisitor- the ConstantVisitor to which visits will be delegated.
-
-
方法详细资料
-
visitAnyInstruction
public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction)
从接口复制的说明:InstructionVisitorVisits any Instruction instance. The more specific default implementations of this interface delegate to this method.- 指定者:
visitAnyInstruction在接口中InstructionVisitor
-
visitConstantInstruction
public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
- 指定者:
visitConstantInstruction在接口中InstructionVisitor
-
-