Annotation Type GwtIncompatible


  • @Retention(CLASS)
    @Target({TYPE,METHOD,CONSTRUCTOR,FIELD})
    @Documented
    public @interface GwtIncompatible
    This is a copy of the GwtIncompatible annotation provided by Google.

    Any class, method or field with an annotation @GwtIncompatible (with any package prefix) is ignored by the GWT compiler.

    As mentioned at GwtIncompatible.html, third-party libraries may use their own copy of this annotation class to avoid adding a compile-time dependency on GWT.

    Please note that the retention policy of this annotation is "CLASS", which means, that you can ship generated builder classes without the need to include this annotation into the target application's classpath.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value
        Returns:
        An attribute that can be used to explain why the code is incompatible. A GwtIncompatible annotation can have any number of attributes; attributes are for documentation purposes and are ignored by the GWT compiler.
        Default:
        ""