Class Partially
java.lang.Object
com.google.common.util.concurrent.Partially
Outer class that exists solely to let us write
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static @interface
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 -
Method Summary
-
Constructor Details
-
Partially
private Partially()
-