Annotation Type Debug


  • @Documented
    @Target({TYPE,METHOD,FIELD})
    @Retention(SOURCE)
    public @interface Debug
    Annotates classes or methods that are provided mostly for debugging purpose. This annotation is defined in order to make easier to find which debugging tools are available in case of problem. See the "Use" javadoc link for a list of annotated classes and methods.

    Unless specified otherwise in javadoc, Object​.to­String() method implementations in Apache SIS are implicitly for debugging purpose. Those methods are usually not annotated with @Debug in order to avoid polluting @Debug usage searches with long lists of to­String() methods. As an exception to this convention, a to­String() method may be annotated with @Debug in a few cases where we want to put emphasis on the method purpose as a debugging tools.

    Since:
    0.3

    Defined in the sis-utility module