Class MethodCall.ArgumentLoader.ForInstance

java.lang.Object
net.bytebuddy.implementation.MethodCall.ArgumentLoader.ForInstance
All Implemented Interfaces:
MethodCall.ArgumentLoader, MethodCall.ArgumentLoader.ArgumentProvider
Enclosing interface:
MethodCall.ArgumentLoader

@Enhance public static class MethodCall.ArgumentLoader.ForInstance extends Object implements MethodCall.ArgumentLoader, MethodCall.ArgumentLoader.ArgumentProvider
Loads a value onto the operand stack that is stored in a static field.
  • Field Details

    • fieldDescription

      private final FieldDescription fieldDescription
      The description of the field.
  • Constructor Details

    • ForInstance

      public ForInstance(FieldDescription fieldDescription)
      Creates an argument loader that supplies the value of a static field as an argument.
      Parameters:
      fieldDescription - The description of the field.
  • Method Details