boolean (ChangeListManager changeListManager, String text, VirtualFile file, int line) { List<Range> ranges = getOrComputeUnchangedRanges(file, changeListManager); Range first = ContainerUtil.find(ranges, it -> it.start1 <= line && line < it.end1); if (first == null) { logNotFiltered(text, file, line, -1); return true; } int position = first.start2 + line - first.start1; Collection<String> problems = originalWarnings.get(Pair.create(file.getPath(), position)); if (problems.stream().anyMatch(it -> Objects.equals(it, text))) { return false; } logNotFiltered(text, file, line, position); return true; }