Class LocalVariable
- java.lang.Object
-
- proguard.classfile.util.inject.argument.LocalVariable
-
- All Implemented Interfaces:
InjectedArgument
public class LocalVariable extends java.lang.Object implements InjectedArgument
-
-
Constructor Summary
Constructors Constructor Description LocalVariable(int targetVariableIndex, java.lang.String internalType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interfaceInjectedArgument
-
getInternalType
public java.lang.String getInternalType()
- Specified by:
getInternalType
in interfaceInjectedArgument
-
getTargetVariableIndex
public int getTargetVariableIndex()
-
pushToStack
public void pushToStack(InstructionSequenceBuilder code)
Description copied from interface:InjectedArgument
Pushes an argument to the stack, adjusting the internal type in case it is an array.- Specified by:
pushToStack
in interfaceInjectedArgument
- Parameters:
code
- InstructionSequenceBuilder to add the pushing instructions.
-
-