private static void setLanguageLevel(@NotNull ModifiableRootModel modifiableRootModel, ModuleData data) {
    if (!data.isSetSourceCompatibility()) return;
    LanguageLevel level = LanguageLevel.parse(data.getSourceCompatibility());
    if (level != null) {
      try {
        modifiableRootModel.getModuleExtension(LanguageLevelModuleExtension.class).setLanguageLevel(level);
      }
      catch (IllegalArgumentException e) {
        LOG.debug(e);
      }
    }
  }
private static void setLanguageLevel(@NotNull ModifiableRootModel modifiableRootModel, ModuleData data)