public class LocalVariable extends java.lang.Object implements InjectedArgument
| Constructor and Description |
|---|
LocalVariable(int targetVariableIndex,
java.lang.String internalType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getInternalType() |
int |
getTargetVariableIndex() |
java.lang.Object |
getValue() |
void |
pushToStack(InstructionSequenceBuilder code)
Pushes an argument to the stack, adjusting the internal type in case it is an array.
|
public LocalVariable(int targetVariableIndex,
java.lang.String internalType)
public java.lang.Object getValue()
getValue in interface InjectedArgumentpublic java.lang.String getInternalType()
getInternalType in interface InjectedArgumentpublic int getTargetVariableIndex()
public void pushToStack(InstructionSequenceBuilder code)
InjectedArgumentpushToStack in interface InjectedArgumentcode - InstructionSequenceBuilder to add the pushing instructions.