void () { final CommonCodeStyleSettings settings = CodeStyle.getSettings(getProject()).getCommonSettings(JavaLanguage.INSTANCE); settings.BINARY_OPERATION_SIGN_ON_NEXT_LINE = true; try { doTestFor("StringBuilder"); } finally { settings.BINARY_OPERATION_SIGN_ON_NEXT_LINE = false; } }