Annotation Type This


  • @Documented
    @Retention(RUNTIME)
    @Target(PARAMETER)
    public @interface This
    Parameters that are annotated with this annotation will be assigned a reference to the instrumented object, if the instrumented method is not static. Otherwise, the method with this parameter annotation will be excluded from the list of possible binding candidates of the static source method.
    See Also:
    MethodDelegation, TargetMethodAnnotationDrivenBinder
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean optional
      Determines if the annotated parameter should be bound to null when intercepting a static method.
    • Element Detail

      • optional

        boolean optional
        Determines if the annotated parameter should be bound to null when intercepting a static method.
        Returns:
        true if the annotated parameter should be bound to null as a fallback.
        Default:
        false