void (@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); } } }