private ActionCallback @NotNull [] getReadyCallbacks() {
      synchronized (myReadyCallbacks) {
        ActionCallback[] result = myReadyCallbacks.values().toArray(new ActionCallback[0]);
        myReadyCallbacks.clear();
        return result;
      }
    }
private ActionCallback @NotNull [] getReadyCallbacks()