| java.lang.Object proguard.classfile.instruction.visitor.MultiInstructionVisitor proguard.optimize.peephole.InstructionSequencesReplacer
InstructionSequencesReplacer | public InstructionSequencesReplacer(Constant[] patternConstants, Instruction[][][] instructionSequences, BranchTargetFinder branchTargetFinder, CodeAttributeEditor codeAttributeEditor)(Code) | | Creates a new InstructionSequencesReplacer.
Parameters: patternConstants - any constants referenced by the patterninstruction. Parameters: instructionSequences - the instruction sequences to be replaced,with subsequently the sequence pair index,the patten/replacement index (0 or 1),and the instruction index in the sequence. Parameters: branchTargetFinder - a branch target finder that has beeninitialized to indicate branch targetsin the visited code. Parameters: codeAttributeEditor - a code editor that can be used foraccumulating changes to the code. |
InstructionSequencesReplacer | public InstructionSequencesReplacer(Constant[] patternConstants, Instruction[][][] instructionSequences, BranchTargetFinder branchTargetFinder, CodeAttributeEditor codeAttributeEditor, InstructionVisitor extraInstructionVisitor)(Code) | | Creates a new InstructionSequenceReplacer.
Parameters: patternConstants - any constants referenced by the patterninstruction. Parameters: instructionSequences - the instruction sequences to be replaced,with subsequently the sequence pair index,the patten/replacement index (0 or 1),and the instruction index in the sequence. Parameters: branchTargetFinder - a branch target finder that has beeninitialized to indicate branch targetsin the visited code. Parameters: codeAttributeEditor - a code editor that can be used foraccumulating changes to the code. Parameters: extraInstructionVisitor - an optional extra visitor for all deletedload instructions. |
Methods inherited from proguard.classfile.instruction.visitor.MultiInstructionVisitor | public void addInstructionVisitor(InstructionVisitor instructionVisitor)(Code)(Java Doc) public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)(Code)(Java Doc) public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)(Code)(Java Doc) public void visitLookUpSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LookUpSwitchInstruction lookUpSwitchInstruction)(Code)(Java Doc) public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)(Code)(Java Doc) public void visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction)(Code)(Java Doc) public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)(Code)(Java Doc)
|
|
|