int (@Nullable Language language) { if (language != null) { CommonCodeStyleSettings langSettings = myCommonSettingsManager.getCommonSettings(language); if (langSettings != null) { if (langSettings.RIGHT_MARGIN >= 0) return langSettings.RIGHT_MARGIN; } } return getDefaultRightMargin(); }