Interface InjectedArgument
-
- All Known Implementing Classes:
ConstantPrimitive,ConstantString,LocalVariable,PrimitiveArrayConstantArgument
public interface InjectedArgumentThis interface defines an API for modeling arguments to be passed to the method invocation instructions that are injected byCodeInjector.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetInternalType()java.lang.ObjectgetValue()default voidpushToStack(InstructionSequenceBuilder code)Pushes an argument to the stack, adjusting the internal type in case it is an array.
-
-
-
Method Detail
-
getValue
java.lang.Object getValue()
-
getInternalType
java.lang.String getInternalType()
-
pushToStack
default void pushToStack(InstructionSequenceBuilder code)
Pushes an argument to the stack, adjusting the internal type in case it is an array.- Parameters:
code- InstructionSequenceBuilder to add the pushing instructions.
-
-