boolean (Editor editor, Project project) { for (LineMarkerInfo<?> marker : DaemonCodeAnalyzerImpl.getLineMarkers(editor.getDocument(), project)) { if (marker instanceof RunLineMarkerProvider.RunLineMarkerInfo) { return true; } if (ContainerUtil.findInstance(MergeableLineMarkerInfo.getMergedMarkers(marker), RunLineMarkerProvider.RunLineMarkerInfo.class) != null) { return true; } } return false; }