public Model interpolateModel(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems) {
    String mavenVersion = System.getProperty(MAVEN_EMBEDDER_VERSION);
    if (VersionComparatorUtil.compare(mavenVersion, "3.6.2") >= 0) {
      interpolateObjectFor362(model, model, projectDir, config, problems);
    }
    else {
      return super.interpolateModel(model, projectDir, config, problems);
    }
    return model;
  }
public Model interpolateModel(Model model, File projectDir, ModelBuildingRequest config, ModelProblemCollector problems)