Annotation Type Obsolete


  • @Documented
    @Retention(RUNTIME)
    @Target({CONSTRUCTOR,FIELD,LOCAL_VARIABLE,METHOD,PACKAGE,PARAMETER,TYPE})
    public @interface Obsolete

    Annotation to tag obsolete methods, classes, fields etc.
    These elements can safely be ignored in a Publishing Server environment, but are required for legacy support of some client protocols and applications, therefore they are NOT marked as deprecated.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String reason  
    • Element Detail

      • reason

        java.lang.String reason