void () { final CommonCodeStyleSettings.IndentOptions indentOptions = getIndentOptions(); final CommonCodeStyleSettings.IndentOptions oldSettings = (CommonCodeStyleSettings.IndentOptions)indentOptions.clone(); indentOptions.TAB_SIZE = 4; indentOptions.INDENT_SIZE = 4; indentOptions.USE_TAB_CHARACTER = true; indentOptions.SMART_TABS = true; try { doTest("\n\"baz\""); } finally { indentOptions.copyFrom(oldSettings); } }