CodeStyleConfigurable (@NotNull CodeStyleSettings settings, @NotNull CodeStyleSettings modelSettings) { Configurable configurable = createSettingsPage(settings, modelSettings); if (configurable instanceof CodeStyleConfigurable) { return (CodeStyleConfigurable)configurable; } else { return new LegacyConfigurableWrapper(configurable); } }