Annotation Type Pointcut


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Pointcut
    Pointcut declaration
    Author:
    Alexandre Vasseur
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String argNames
      When compiling without debug info, or when interpreting pointcuts at runtime, the names of any arguments used in the pointcut are not available.
      java.lang.String value
      The pointcut expression We allow "" as default for abstract pointcut
    • Element Detail

      • value

        java.lang.String value
        The pointcut expression We allow "" as default for abstract pointcut
        Default:
        ""
      • argNames

        java.lang.String argNames
        When compiling without debug info, or when interpreting pointcuts at runtime, the names of any arguments used in the pointcut are not available. Under these circumstances only, it is necessary to provide the arg names in the annotation - these MUST duplicate the names used in the annotated method. Format is a simple comma-separated list.
        Default:
        ""