Class MethodCall.ArgumentLoader.ForStackManipulation

java.lang.Object
net.bytebuddy.implementation.MethodCall.ArgumentLoader.ForStackManipulation
All Implemented Interfaces:
InstrumentedType.Prepareable, MethodCall.ArgumentLoader, MethodCall.ArgumentLoader.ArgumentProvider, MethodCall.ArgumentLoader.Factory
Enclosing interface:
MethodCall.ArgumentLoader

@Enhance public static class MethodCall.ArgumentLoader.ForStackManipulation extends Object implements MethodCall.ArgumentLoader, MethodCall.ArgumentLoader.ArgumentProvider, MethodCall.ArgumentLoader.Factory
Loads a stack manipulation resulting in a specific type as an argument.
  • Field Details

    • stackManipulation

      private final StackManipulation stackManipulation
      The stack manipulation to load.
    • typeDefinition

      private final TypeDefinition typeDefinition
      The type of the resulting value.
  • Constructor Details

    • ForStackManipulation

      public ForStackManipulation(StackManipulation stackManipulation, Type type)
      Creates an argument loader that loads a stack manipulation as an argument.
      Parameters:
      stackManipulation - The stack manipulation to load.
      type - The type of the resulting value.
    • ForStackManipulation

      public ForStackManipulation(StackManipulation stackManipulation, TypeDefinition typeDefinition)
      Creates an argument loader that loads a stack manipulation as an argument.
      Parameters:
      stackManipulation - The stack manipulation to load.
      typeDefinition - The type of the resulting value.
  • Method Details