Annotation Type AllArguments

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean includeSelf
      Determines if the array should contain the instance that defines the intercepted value when intercepting a non-static method.
      boolean nullIfEmpty
      Determines if a null value should be assigned if the instrumented method does not declare any parameters.
      AllArguments.Assignment value
      Defines the type of AllArguments.Assignment type that is applied for filling the annotated array with values.
    • Element Detail

      • value

        AllArguments.Assignment value
        Defines the type of AllArguments.Assignment type that is applied for filling the annotated array with values.
        Returns:
        The assignment handling to be applied for the annotated parameter.
        Default:
        net.bytebuddy.implementation.bind.annotation.AllArguments.Assignment.STRICT
      • includeSelf

        boolean includeSelf
        Determines if the array should contain the instance that defines the intercepted value when intercepting a non-static method.
        Returns:
        true if the instance on which the intercepted method should be invoked should be included in the array containing the arguments.
        Default:
        false
      • nullIfEmpty

        boolean nullIfEmpty
        Determines if a null value should be assigned if the instrumented method does not declare any parameters.
        Returns:
        true if a null value should be assigned if the instrumented method does not declare any parameters.
        Default:
        false