void (@Nullable RefEntity refElement, boolean filterSuppressed, CommonProblemDescriptor @NotNull ... descriptors) { if (refElement == null || descriptors.length == 0) { return; } ReportedProblemFilter filter = myContext.getReportedProblemFilter(); if (filter != null && !filter.shouldReportProblem(refElement, descriptors)) { return; } if (myToolWrapper instanceof LocalInspectionToolWrapper) { exportResults(descriptors, refElement, (element, problem) -> myDelegate.consume(element, problem, myToolWrapper), __ -> false); } else { myProblemElements.put(refElement, descriptors); } }