Class Partially

java.lang.Object
com.google.common.util.concurrent.Partially

final class Partially extends Object
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.

  • Constructor Details

    • Partially

      private Partially()