@Override
  public void addError(final String inspectionId,
                       final @NotNull IComponent component,
                       @Nullable IProperty prop,
                       @NotNull String errorMessage,
                       EditorQuickFixProvider @NotNull ... editorQuickFixProviders) {
    List<LocalQuickFix> quickFixes = new ArrayList<>();
    for (EditorQuickFixProvider provider : editorQuickFixProviders) {
      if (provider instanceof LocalQuickFixProvider) {
        LocalQuickFix[] localQuickFixes = ((LocalQuickFixProvider)provider).getQuickFixes();
        if (localQuickFixes != null) {
          ContainerUtil.addAll(quickFixes, localQuickFixes);
        }
      }
    }
    final ProblemDescriptorBase problemDescriptor = new FormElementProblemDescriptor(myFile, JDOMUtil.escapeText(errorMessage),
                                                                                     quickFixes.toArray(LocalQuickFix.EMPTY_ARRAY),
                                                                                     ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
                                                                                     true,
                                                                                     myOnTheFly,
                                                                                     component.getId(),
                                                                                     prop != null ? prop.getName() : null);
    FormElementNavigatable navigatable = new FormElementNavigatable(myFile.getProject(), myFile.getVirtualFile(),
                                                                    component.getId());
    problemDescriptor.setNavigatable(navigatable);
    myProblems.add(problemDescriptor);
  }
@Override
  public void addError(final String inspectionId,
                       final @NotNull IComponent component,
                       @Nullable IProperty prop,
                       @NotNull String errorMessage,
                       EditorQuickFixProvider @NotNull ... editorQuickFixProviders)