boolean (@NotNull PsiElement element, @NotNull Set<? extends InspectionSuppressor> suppressors, @NotNull InspectionElementsMerger merger) { String[] suppressIds = merger.getSuppressIds(); String[] sourceToolIds = suppressIds.length != 0 ? suppressIds : merger.getSourceToolNames(); for (String sourceToolId : sourceToolIds) { for (InspectionSuppressor suppressor : suppressors) { if (suppressor.isSuppressedFor(element, sourceToolId)) { return true; } } } return false; }