public static @Nullable Pair<String, String> readProjectSdkTypeAndName(@Nullable Element rootElement) {
    Pair<String, String> sdkTypeIdAndName = null;
    Element rootManagerElement = JDomSerializationUtil.findComponent(rootElement, "ProjectRootManager");
    if (rootManagerElement != null) {
      String sdkName = rootManagerElement.getAttributeValue("project-jdk-name");
      String sdkTypeId = rootManagerElement.getAttributeValue("project-jdk-type");
      if (sdkName != null) {
        sdkTypeIdAndName = new Pair<>(Objects.requireNonNullElse(sdkTypeId, "JavaSDK"), sdkName);
      }
    }
    return sdkTypeIdAndName;
  }
public static @Nullable Pair<String, String> readProjectSdkTypeAndName(@Nullable Element rootElement)