void (Language lang, CodeStyleSettings rootSettings, CodeStyleSettings targetSettings) { CommonCodeStyleSettings sourceCommonSettings = rootSettings.getCommonSettings(lang); CommonCodeStyleSettings targetCommonSettings = targetSettings.getCommonSettings(getDefaultLanguage()); targetCommonSettings.copyFrom(sourceCommonSettings); }