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.StringgetInternalType()intgetTargetVariableIndex()java.lang.ObjectgetValue()voidpushToStack(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:
getValuein interfaceInjectedArgument
-
getInternalType
public java.lang.String getInternalType()
- Specified by:
getInternalTypein interfaceInjectedArgument
-
getTargetVariableIndex
public int getTargetVariableIndex()
-
pushToStack
public void pushToStack(InstructionSequenceBuilder code)
Description copied from interface:InjectedArgumentPushes an argument to the stack, adjusting the internal type in case it is an array.- Specified by:
pushToStackin interfaceInjectedArgument- Parameters:
code- InstructionSequenceBuilder to add the pushing instructions.
-
-