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