Annotation Type Traced


  • @Retention(RUNTIME)
    @Target({TYPE,METHOD})
    @Documented
    public @interface Traced
    Indicates that an annotated method or methods in an annotated class should be traced. The annotation can also be placed on implemented interfaces.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean ignore
      Indicates that the annotated method should not be traced.
    • Element Detail

      • ignore

        boolean ignore
        Indicates that the annotated method should not be traced. This allows to exclude individual methods when the containing type is annotated.
        Returns:
        whether the annotated method should be ignored (i.e. not be traced)
        Default:
        false