Class Advice.OffsetMapping.Target.ForArray

java.lang.Object
net.bytebuddy.asm.Advice.OffsetMapping.Target.ForArray
All Implemented Interfaces:
Advice.OffsetMapping.Target
Direct Known Subclasses:
Advice.OffsetMapping.Target.ForArray.ReadOnly, Advice.OffsetMapping.Target.ForArray.ReadWrite
Enclosing interface:
Advice.OffsetMapping.Target

@Enhance public abstract static class Advice.OffsetMapping.Target.ForArray extends Object implements Advice.OffsetMapping.Target
A target mapping for an array of all local variables.
  • Field Details

    • target

      protected final TypeDescription.Generic target
      The compound target type.
    • valueReads

      protected final List<? extends StackManipulation> valueReads
      The stack manipulations to apply upon reading a variable array.
  • Constructor Details

    • ForArray

      protected ForArray(TypeDescription.Generic target, List<? extends StackManipulation> valueReads)
      Creates a new target mapping for an array of all local variables.
      Parameters:
      target - The compound target type.
      valueReads - The stack manipulations to apply upon reading a variable array.
  • Method Details