GitHandlerRebaseEditorManager (GitHandler h, @NotNull GitRebaseEditorHandler editorHandler) { GitHandlerRebaseEditorManager manager = new GitHandlerRebaseEditorManager(h, editorHandler); GitUtil.tryRunOrClose(manager, () -> { manager.prepareEditor(); }); return manager; }