Annotation Interface Advice.AssignReturned.ToArguments.ToArgument

Enclosing class:
Advice.AssignReturned.ToArguments

@Target({}) @Enhance(ToArguments.class) public static @interface Advice.AssignReturned.ToArguments.ToArgument
Defines a particular assignment for a Advice.AssignReturned.ToArguments.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The index of the parameter to assign.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The index in the array that is returned which represents the assigned value.
    The typing to apply when assigning the returned value to the targeted value.
  • Element Details

    • value

      int value
      The index of the parameter to assign.
      Returns:
      The index of the parameter to assign.
    • index

      int index
      The index in the array that is returned which represents the assigned value. If negative, a scalar return value is expected.
      Returns:
      The index in the array that is returned which represents the assigned value.
      Default:
      -1
    • typing

      The typing to apply when assigning the returned value to the targeted value.
      Returns:
      The typing to apply when assigning the returned value to the targeted value.
      Default:
      STATIC