void (List<? extends Tools> tools) { //noinspection TestOnlyProblems if (ApplicationManager.getApplication().isHeadlessEnvironment() && !TESTING_VIEW) { return; } if (myView == null && !InspectionResultsView.hasProblems(tools, this, new InspectionRVContentProviderImpl())) { return; } initializeViewIfNeeded().doWhenDone(() -> myView.addTools(tools)); }