Package com.google.common.annotations
Annotation Type GwtCompatible
-
@Retention(CLASS) @Target({TYPE,METHOD}) @Documented @GwtCompatible public @interface GwtCompatibleThe presence of this annotation on a type indicates that the type may be used with GWT or J2CL.Note that a
GwtCompatibletype may have someGwtIncompatiblemethods.- Author:
- Charles Fry, Hayward Chan
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanemulatedWhentrue, the annotated type is emulated in GWT.booleanserializableObsolete; formerly used to indicate when a value was GWT serializable back before Guava dropped support for GWT serialization.
-
-
-
Element Detail
-
serializable
boolean serializable
Obsolete; formerly used to indicate when a value was GWT serializable back before Guava dropped support for GWT serialization.- See Also:
- Documentation about GWT serialization
- Default:
- false
-
-
-
emulated
boolean emulated
Whentrue, the annotated type is emulated in GWT. The emulated source (also known as super-source) is different from the implementation used by the JVM.- See Also:
- Documentation about GWT emulated source
- Default:
- false
-
-