package org.opendaylight.yangtools.yang.binding;
import com.google.common.annotations.Beta;
-import com.google.common.util.concurrent.FluentFuture;
-import javax.annotation.CheckReturnValue;
+import com.google.common.util.concurrent.ListenableFuture;
+import edu.umd.cs.findbugs.annotations.CheckReturnValue;
import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.common.RpcResult;
* @param input Input argument
* @return Future result of invocation
* @throws NullPointerException if any of the arguments are null
+ * @throws IllegalArgumentException if {@code path} is {@link InstanceIdentifier#isWildcarded()}
*/
@CheckReturnValue
- @NonNull FluentFuture<@NonNull RpcResult<@NonNull O>> invoke(@NonNull P path, @NonNull I input);
+ @NonNull ListenableFuture<@NonNull RpcResult<@NonNull O>> invoke(@NonNull P path, @NonNull I input);
}