jb v8 debug protocol: evaluate

This commit is contained in:
Vladimir Krivosheev
2014-04-22 14:58:35 +02:00
parent 46eaf0be86
commit 4bbd22c4f4
2 changed files with 5 additions and 3 deletions
@@ -7,8 +7,8 @@ final class NestedCommandCallbackWithResponse<SUCCESS_RESPONSE, RESULT, MAIN_RES
extends CommandCallbackWithResponseBase<SUCCESS_RESPONSE, AsyncResult<MAIN_RESULT>, RESULT, ERROR_DETAILS> {
private final PairConsumer<RESULT, AsyncResult<MAIN_RESULT>> consumer;
public NestedCommandCallbackWithResponse(AsyncResult<MAIN_RESULT> mainAsyncResult, String methodName, PairConsumer<RESULT, AsyncResult<MAIN_RESULT>> consumer) {
super(mainAsyncResult, methodName, null);
public NestedCommandCallbackWithResponse(AsyncResult<MAIN_RESULT> result, String methodName, PairConsumer<RESULT, AsyncResult<MAIN_RESULT>> consumer) {
super(result, methodName, null);
this.consumer = consumer;
}
@@ -1,5 +1,7 @@
package org.jetbrains.rpc;
import org.jetbrains.annotations.NotNull;
public interface ResultReader<RESPONSE> {
<RESULT> RESULT readResult(String readMethodName, RESPONSE successResponse);
<RESULT> RESULT readResult(@NotNull String readMethodName, @NotNull RESPONSE successResponse);
}