public static LanguageLevelProjectExtension getInstance(Project project) {
    return project.getService(LanguageLevelProjectExtension.class);
  }
public static LanguageLevelProjectExtension getInstance(Project project)