void (final Project project, final String value, XDebuggerTree tree) { UIUtil.invokeLaterIfNeeded(() -> { DiffRequest request = DiffRequestFactory.getInstance().createClipboardVsValue(value); DiffManager.getInstance().showDiff(project, request); }); }