protected class JvmTransferRelation.InstructionAbstractInterpreter extends java.lang.Object implements InstructionVisitor
InstructionVisitor
performs generic operations (e.g., loads, stores) parametrized
by the specific behavior of JvmTransferRelation
for instruction applications, method
invocations, and constructing literals.Modifier and Type | Field and Description |
---|---|
protected JvmAbstractState<StateT> |
abstractState |
protected ConstantLookupVisitor |
constantLookupVisitor |
Constructor and Description |
---|
InstructionAbstractInterpreter(JvmAbstractState<StateT> abstractState) |
Modifier and Type | Method and Description |
---|---|
void |
visitAnySwitchInstruction(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
int offset,
SwitchInstruction switchInstruction)
Visits any SwitchInstruction instance.
|
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 |
visitSimpleInstruction(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
int offset,
SimpleInstruction simpleInstruction) |
void |
visitVariableInstruction(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
int offset,
VariableInstruction variableInstruction) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitAnyInstruction, visitLookUpSwitchInstruction, visitTableSwitchInstruction
protected final JvmAbstractState<StateT extends LatticeAbstractState<StateT>> abstractState
protected final ConstantLookupVisitor constantLookupVisitor
public InstructionAbstractInterpreter(JvmAbstractState<StateT> abstractState)
public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction)
visitSimpleInstruction
in interface InstructionVisitor
public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction)
visitVariableInstruction
in interface InstructionVisitor
public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction)
visitConstantInstruction
in interface InstructionVisitor
public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction)
visitBranchInstruction
in interface InstructionVisitor
public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction)
InstructionVisitor
visitAnySwitchInstruction
in interface InstructionVisitor