StdArrangementSettings (@NotNull CodeStyleSettings settings) { StdArrangementSettings result = (StdArrangementSettings)settings.getCommonSettings(myLanguage).getArrangementSettings(); if (result == null) { result = mySettingsAware.getDefaultSettings(); } return result; }