Interface InjectedArgument
-
- All Known Implementing Classes:
ConstantPrimitive
,ConstantString
,LocalVariable
,PrimitiveArrayConstantArgument
public interface InjectedArgument
This 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.String
getInternalType()
java.lang.Object
getValue()
default void
pushToStack(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.
-
-