Annotation Type Experimental


  • @Retention(RUNTIME)
    @Target({PACKAGE,CONSTRUCTOR,FIELD,METHOD,TYPE})
    @Documented
    @Experimental
    public @interface Experimental
    Signifies that annotated API is still in early stage and subject to incompatible changes, or even removal, in a future release. The presence of this annotation implies nothing about the code quality or performance, only the fact that the API is not yet "frozen".

    It is generally safe to depend on Experimental APIs, at the prospective cost of some extra work during upgrades. The API @Since annotation gives a preview on how much mature it is and the chances for the @Experimental annotation being soon removed.

    Since:
    7.2
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String comment