接口 InjectedArgument

所有已知实现类:
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 by CodeInjector.
  • 方法详细资料

    • getValue

      Object getValue()
    • getInternalType

      String getInternalType()
    • pushToStack

      default void pushToStack(InstructionSequenceBuilder code)
      Pushes an argument to the stack, adjusting the internal type in case it is an array.
      参数:
      code - InstructionSequenceBuilder to add the pushing instructions.