void (@NotNull Properties uiPreferences, @NotNull CodeStyleSettings settings) { JavaCodeStyleSettings javaSettings = settings.getCustomSettings(JavaCodeStyleSettings.class); importOrderOfImports(uiPreferences, javaSettings); importStarImportThresholds(uiPreferences, javaSettings); javaSettings.LAYOUT_STATIC_IMPORTS_SEPARATELY = true; javaSettings.PACKAGES_TO_USE_IMPORT_ON_DEMAND.copyFrom(new PackageEntryTable()); }