Class Advice.OffsetMapping.Target.ForArray.ReadOnly

    • Constructor Detail

      • ReadOnly

        public ReadOnly​(TypeDescription.Generic target,
                        java.util.List<? extends StackManipulation> valueReads)
        Creates a read-only 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 Detail

      • resolveWrite

        public StackManipulation resolveWrite()
        Resolves a write instruction.
        Returns:
        A stack manipulation that represents a writing to an advice parameter.