InspectionResultsView (@Nullable AnActionEvent event) { if (event == null) { return null; } InspectionResultsView view = event.getData(InspectionResultsView.DATA_KEY); return view != null && view.isDisposed() ? null : view; }