@Override
  public @Nullable DomElement getExtensionPointClassNameElement() {
    if (DomUtil.hasXml(getInterface())) {
      return getInterface();
    }

    final List<With> elements = getWithElements();
    if (elements.size() == 1) {
      return elements.get(0);
    }

    for (With element : elements) {
      final String attributeName = element.getAttribute().getStringValue();
      if (attributeName != null && EXTENSION_POINT_CLASS_ATTRIBUTE_NAMES.contains(attributeName)) {
        return element;
      }
    }

    return null;
  }
@Override
  public @Nullable DomElement getExtensionPointClassNameElement()