Interface InstructionVisitor
-
- All Known Implementing Classes:
ArrayInitializationReplacer
,BootstrapMethodsAttributeShrinker
,BranchTargetFinder
,BridgeMethodFixer
,CallResolver
,ClassPrinter
,CodeAttributeComposer
,CodeAttributeEditor
,CodeSubroutineInliner
,ConstantPoolRemapper
,ConstantPoolShrinker
,ConstructorMethodFilter
,DotClassClassVisitor
,DynamicClassReferenceInitializer
,DynamicMemberReferenceInitializer
,EnumFieldReferenceInitializer
,InitializationFinder
,InstructionAdder
,InstructionConstantVisitor
,InstructionCounter
,InstructionOpCodeFilter
,InstructionSequenceMatcher
,InstructionSequenceReplacer
,InstructionSequencesReplacer
,InstructionToAttributeVisitor
,InstructionWriter
,JvmTaintTransferRelation.InstructionAbstractInterpreter
,JvmTransferRelation.InstructionAbstractInterpreter
,LargeStringSplitter
,LivenessAnalyzer
,MaxStackSizeComputer
,MethodInvocationFixer
,MultiInstructionVisitor
,PrimitiveArrayConstantReplacer
,Processor
,ReferenceTracingValueFactory
,VariableRemapper
,VariableSizeUpdater
public interface InstructionVisitor
This interface specifies the methods for a visitor ofInstruction
instances.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction)
Visits any Instruction instance.default void
visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction)
Visits any SwitchInstruction instance.default void
visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
default void
visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
default void
visitLookUpSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LookUpSwitchInstruction lookUpSwitchInstruction)
default void
visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
default void
visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction)
default void
visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
-
-
-
Method Detail
-
visitAnyInstruction
default void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction)
Visits any Instruction instance. The more specific default implementations of this interface delegate to this method.
-
visitSimpleInstruction
default void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
-
visitVariableInstruction
default void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
-
visitConstantInstruction
default void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
-
visitBranchInstruction
default void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
-
visitAnySwitchInstruction
default void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction)
Visits any SwitchInstruction instance. The more specific default implementations of this interface delegate to this method.
-
visitTableSwitchInstruction
default void visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction)
-
visitLookUpSwitchInstruction
default void visitLookUpSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LookUpSwitchInstruction lookUpSwitchInstruction)
-
-