@Override
  public synchronized @NotNull List<DomElementProblemDescriptor> getProblems(DomElement domElement) {
    if (domElement == null || !domElement.isValid()) {
      return Collections.emptyList();
    }
    return myDomProblemsGetter.apply(domElement);
  }
@Override
  public synchronized @NotNull List<DomElementProblemDescriptor> getProblems(DomElement domElement)