void (@NotNull ProblemDescriptionsProcessor processor, @NotNull RefEntity element) { CommonProblemDescriptor[] descriptors = processor.getDescriptions(element); if (descriptors != null) { for (CommonProblemDescriptor descriptor : descriptors) { processor.resolveProblem(descriptor); } } }