• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2006 The Guava Authors
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5  * in compliance with the License. You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software distributed under the License
10  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11  * or implied. See the License for the specific language governing permissions and limitations under
12  * the License.
13  */
14 
15 package com.google.common.util.concurrent;
16 
17 import com.google.common.annotations.GwtCompatible;
18 import com.google.common.annotations.J2ktIncompatible;
19 import org.checkerframework.checker.nullness.qual.Nullable;
20 
21 /**
22  * Hidden superclass of {@link FluentFuture} that provides us a place to declare special GWT
23  * versions of the {@link FluentFuture#catching(Class, com.google.common.base.Function)
24  * FluentFuture.catching} family of methods. Those versions have slightly different signatures.
25  */
26 @GwtCompatible(emulated = true)
27 @J2ktIncompatible // Super-sourced
28 @ElementTypesAreNonnullByDefault
29 abstract class GwtFluentFutureCatchingSpecialization<V extends @Nullable Object>
30     extends AbstractFuture<V> {
31   /*
32    * This server copy of the class is empty. The corresponding GWT copy contains alternative
33    * versions of catching() and catchingAsync() with slightly different signatures from the ones
34    * found in FluentFuture.java.
35    */
36 }
37