void (@NotNull Properties uiPreferences, @NotNull JavaCodeStyleSettings javaSettings) { javaSettings.CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND = parseThreshold(uiPreferences.getProperty(OPTION_ON_DEMAND_IMPORT_THRESHOLD)); javaSettings.NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND = parseThreshold(uiPreferences.getProperty(OPTION_ON_DEMAND_STATIC_IMPORT_THRESHOLD)); }