private static @Nullable @NonNls String firstNotNullAttribute(DomElement element, @NonNls String... attributes) {
    DomGenericInfo genericInfo = element.getGenericInfo();
    for (String attribute : attributes) {
      DomAttributeChildDescription<?> description = genericInfo.getAttributeChildDescription(attribute);
      if (description == null) {
        continue;
      }

      String value = description.getDomAttributeValue(element).getStringValue();
      if (StringUtil.isNotEmpty(value)) {
        return value;
      }
    }

    return null;
  }
private static @Nullable @NonNls String firstNotNullAttribute(DomElement element, @NonNls String... attributes)