Class MemberSubstitution.Substitution.Chain.Step.ForField.Write

java.lang.Object
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForField
net.bytebuddy.asm.MemberSubstitution.Substitution.Chain.Step.ForField.Write
All Implemented Interfaces:
MemberSubstitution.Substitution.Chain.Step
Enclosing class:
MemberSubstitution.Substitution.Chain.Step.ForField

@Enhance public static class MemberSubstitution.Substitution.Chain.Step.ForField.Write extends MemberSubstitution.Substitution.Chain.Step.ForField
A step for writing to a field.
  • Field Details

    • index

      private final int index
      The index of the parameter being accessed. If the targeted element is a non-static method, is increased by one.
  • Constructor Details

    • Write

      protected Write(FieldDescription fieldDescription, Assigner assigner, Assigner.Typing typing, int index)
      Creates a step for writing to a field.
      Parameters:
      fieldDescription - A description of the field to write to.
      assigner - The assigner to use.
      typing - The typing to use when assigning.
      index - The index of the parameter being accessed. If the targeted element is a non-static method, is increased by one.
  • Method Details