boolean (@NotNull HighlightInfo highlightInfo, @Nullable PsiFile file) { if (highlightInfo.getSeverity() != HighlightSeverity.WARNING && highlightInfo.getSeverity() != HighlightSeverity.WEAK_WARNING) return true; if (!isFrankenstein(file)) return true; int start = highlightInfo.getStartOffset(); int end = highlightInfo.getEndOffset(); String text = file.getText().substring(start, end); return !"missingValue".equals(text); }