CodeStyleSettings (@NotNull CodeStyleSettings settings) { CodeStyleSettings clonedSettings = new CodeStyleSettings(true, false); clonedSettings.copyFrom(settings); registerSettings(clonedSettings); return clonedSettings; }