public void registerHandler(int id, @NotNull AbstractResponseToRequestHandler<?> handler) {
    synchronized (myLock) {
      myHandlers.put(id, handler);
    }
  }
public void registerHandler(int id, @NotNull AbstractResponseToRequestHandler<?> handler)