@GwtCompatible final class Partially extends java.lang.Object
Partially.GwtIncompatible
instead of plain
GwtIncompatible
. This is more accurate for Futures.catching(com.google.common.util.concurrent.ListenableFuture<? extends V>, java.lang.Class<X>, com.google.common.base.Function<? super X, ? extends V>, java.util.concurrent.Executor)
, which is available
under GWT but with a slightly different signature.
We can't use PartiallyGwtIncompatible
because then the GWT compiler wouldn't recognize
it as a GwtIncompatible
annotation. And for Futures.catching
, we need the GWT
compiler to autostrip the normal server method in order to expose the special, inherited GWT
version.
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
Partially.GwtIncompatible
The presence of this annotation on an API indicates that the method may be used with the
Google Web Toolkit (GWT) but that it has some
restrictions.
|
Modifier | Constructor and Description |
---|---|
private |
Partially() |