Annotation Interface Parameter


@Retention(RUNTIME) @Target(PARAMETER) public @interface Parameter
Assigns the argument with index value() of the intercepted method to a parameter of a probe method. The probe method can be annotated with Interception, PayloadInterception, SplitInterception or AdditionalInterception. The type of the annotated parameter must be Object or the declared type of the parameter of the instrumented method. The declared type can only be used if it can be resolved by the system class loader.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The zero-based index of the parameter
  • Element Details

    • value

      int value
      The zero-based index of the parameter
      Returns:
      the index