import com.google.common.annotations.Beta;
import com.google.common.util.concurrent.FluentFuture;
import javax.annotation.CheckReturnValue;
-import org.eclipse.jdt.annotation.NonNullByDefault;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.common.RpcResult;
/**
*/
@Beta
@FunctionalInterface
-@NonNullByDefault
public interface Action<P extends DataObject, I extends RpcInput, O extends RpcOutput> {
/**
* Invoke the action.
* @throws NullPointerException if any of the arguments are null
*/
@CheckReturnValue
- FluentFuture<RpcResult<O>> invoke(InstanceIdentifier<P> path, I input);
+ @NonNull FluentFuture<@NonNull RpcResult<@NonNull O>> invoke(@NonNull InstanceIdentifier<P> path, @NonNull I input);
}