proguard.classfile.instruction.visitor
Interface InstructionVisitor

All Known Implementing Classes:
AccessMethodMarker, BackwardBranchMarker, BranchTargetFinder, ClassPrinter, CodeAttributeComposer, CodeAttributeEditor, CodeSubroutineInliner, ConstantPoolRemapper, DotClassClassVisitor, DotClassMarker, DuplicateInitializerInvocationFixer, DynamicClassReferenceInitializer, DynamicMemberReferenceInitializer, EvaluationSimplifier, ExceptionInstructionChecker, GotoCommonCodeReplacer, GotoGotoReplacer, GotoReturnReplacer, InstanceofClassMarker, InstantiationClassMarker, InstructionAdder, InstructionCounter, InstructionSequenceMatcher, InstructionSequenceReplacer, InstructionSequencesReplacer, InstructionWriter, LivenessAnalyzer, MethodInliner, MethodInvocationFixer, MethodInvocationMarker, MultiInstructionVisitor, NopRemover, ParameterUsageMarker, Processor, ReachableCodeMarker, ReadWriteFieldMarker, ShortestUsageMarker, SideEffectInstructionChecker, StackSizeComputer, SuperInvocationMarker, TailRecursionSimplifier, UnreachableCodeRemover, VariableRemapper, VariableSizeUpdater, VariableUsageMarker

public interface InstructionVisitor

This interface specifies the methods for a visitor of Instruction objects.


Method Summary
 void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
           
 void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
           
 void visitLookUpSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LookUpSwitchInstruction lookUpSwitchInstruction)
           
 void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
           
 void visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction)
           
 void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
           
 

Method Detail

visitSimpleInstruction

void visitSimpleInstruction(Clazz clazz,
                            Method method,
                            CodeAttribute codeAttribute,
                            int offset,
                            SimpleInstruction simpleInstruction)

visitVariableInstruction

void visitVariableInstruction(Clazz clazz,
                              Method method,
                              CodeAttribute codeAttribute,
                              int offset,
                              VariableInstruction variableInstruction)

visitConstantInstruction

void visitConstantInstruction(Clazz clazz,
                              Method method,
                              CodeAttribute codeAttribute,
                              int offset,
                              ConstantInstruction constantInstruction)

visitBranchInstruction

void visitBranchInstruction(Clazz clazz,
                            Method method,
                            CodeAttribute codeAttribute,
                            int offset,
                            BranchInstruction branchInstruction)

visitTableSwitchInstruction

void visitTableSwitchInstruction(Clazz clazz,
                                 Method method,
                                 CodeAttribute codeAttribute,
                                 int offset,
                                 TableSwitchInstruction tableSwitchInstruction)

visitLookUpSwitchInstruction

void visitLookUpSwitchInstruction(Clazz clazz,
                                  Method method,
                                  CodeAttribute codeAttribute,
                                  int offset,
                                  LookUpSwitchInstruction lookUpSwitchInstruction)