Class Advice.OffsetMapping.ForUnusedValue

  • All Implemented Interfaces:
    Advice.OffsetMapping
    Enclosing interface:
    Advice.OffsetMapping

    public static class Advice.OffsetMapping.ForUnusedValue
    extends java.lang.Object
    implements Advice.OffsetMapping
    An offset mapping for a parameter where assignments are fully ignored and that always return the parameter type's default value.
    • Constructor Detail

      • ForUnusedValue

        public ForUnusedValue​(TypeDefinition target)
        Creates a new offset mapping for an unused type.
        Parameters:
        target - The unused type.