Sdk (@NotNull ProgressIndicator indicator) { refreshVfs(); var sdk = new AtomicReference<Sdk>(null); ApplicationManager.getApplication().invokeAndWait(() -> { var r = runWithEvents(); sdk.set(r); }); return sdk.get(); }