public class BcelCflowAccessVar extends BcelVar
Constructor and Description |
---|
BcelCflowAccessVar(ResolvedType type,
Member stackField,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
appendLoad(InstructionList il,
InstructionFactory fact) |
void |
appendLoadAndConvert(InstructionList il,
InstructionFactory fact,
ResolvedType toType) |
InstructionList |
createCopyFrom(InstructionFactory fact,
int oldSlot) |
Instruction |
createLoad(InstructionFactory fact) |
InstructionList |
createLoadInstructions(ResolvedType toType,
InstructionFactory fact) |
Instruction |
createStore(InstructionFactory fact) |
void |
insertLoad(InstructionList il,
InstructionFactory fact) |
java.lang.String |
toString() |
appendStore, getPositionInAroundState, getSlot, setPositionInAroundState
accept, getAccessorForValue, getType
makeCallExpr
public BcelCflowAccessVar(ResolvedType type, Member stackField, int index)
type
- The type to convert to from ObjectstackField
- the member containing the CFLOW_STACK_TYPEindex
- yeah yeahpublic Instruction createLoad(InstructionFactory fact)
createLoad
in class BcelVar
public Instruction createStore(InstructionFactory fact)
createStore
in class BcelVar
public InstructionList createCopyFrom(InstructionFactory fact, int oldSlot)
createCopyFrom
in class BcelVar
public void appendLoad(InstructionList il, InstructionFactory fact)
appendLoad
in class BcelVar
public InstructionList createLoadInstructions(ResolvedType toType, InstructionFactory fact)
public void appendLoadAndConvert(InstructionList il, InstructionFactory fact, ResolvedType toType)
appendLoadAndConvert
in class BcelVar
public void insertLoad(InstructionList il, InstructionFactory fact)
insertLoad
in class BcelVar