boolean (@NotNull HighlightInfo highlightInfo, @Nullable PsiFile file) { if (ApplicationManager.getApplication().isInternal()) return true; if (UpdateHighlightersUtil.isFileLevelOrGutterAnnotation(highlightInfo)) return true; if (!(file instanceof ShFile)) return true; return highlightInfo.getSeverity().compareTo(HighlightSeverity.WARNING) < 0; }