Class Partially
- java.lang.Object
-
- com.google.common.util.concurrent.Partially
-
@GwtCompatible final class Partially extends java.lang.Object
Outer class that exists solely to let us writePartially.GwtIncompatible
instead of plainGwtIncompatible
. This is more accurate forFutures.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 aGwtIncompatible
annotation. And forFutures.catching
, we need the GWT compiler to autostrip the normal server method in order to expose the special, inherited GWT version.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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.
-
Constructor Summary
Constructors Modifier Constructor Description private
Partially()
-