void (@NotNull Module module, @NotNull ModifiableRootModel model, @NotNull ContentEntry contentEntry) { LanguageLevelModuleExtension extension = model.getModuleExtension(LanguageLevelModuleExtension.class); if (extension != null) { extension.setLanguageLevel(LanguageLevel.HIGHEST); for (RequiredLibrary library : mavenLibraries) { MavenDependencyUtil.addFromMaven(model, library.mavenCoordinates, library.includeTransitive); } } }