![JAR search and dependency download from the Maven repository](/logo.png)
javadoc.com.google.common.annotations.GwtIncompatible.html Maven / Gradle / Ivy
The newest version!
GwtIncompatible (Guava: Google Core Libraries for Java 11.0.1 API)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: REQUIRED | OPTIONAL
DETAIL: ELEMENT
com.google.common.annotations
Annotation Type GwtIncompatible
@Retention(value=CLASS)
@Target(value={TYPE,METHOD,CONSTRUCTOR,FIELD})
@Documented
@GwtCompatible
public @interface GwtIncompatible
The presence of this annotation on a method indicates that the method may
not be used with the
Google Web Toolkit (GWT),
even though its type is annotated as GwtCompatible
and accessible in
GWT. They can cause GWT compilation errors or simply unexpected exceptions
when used in GWT.
Note that this annotation should only be applied to methods, fields, or
inner classes of types which are annotated as GwtCompatible
.
- Author:
- Charles Fry
Required Element Summary | |
---|---|
String |
value
Describes why the annotated element is incompatible with GWT. |
Element Detail |
---|
value
public abstract String value
- Describes why the annotated element is incompatible with GWT. Since this is
generally due to a dependence on a type/method which GWT doesn't support,
it is sufficient to simply reference the unsupported type/method. E.g.
"Class.isInstance".
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
Copyright © 2010-2012. All Rights Reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy