void () { CommonCodeStyleSettings javaSettings = CodeStyle.getSettings(getProject()).getCommonSettings(JavaLanguage.INSTANCE); boolean blockCommentAtFirstCol = javaSettings.BLOCK_COMMENT_AT_FIRST_COLUMN; try { javaSettings.BLOCK_COMMENT_AT_FIRST_COLUMN = false; configureByFile("/codeInsight/commentByBlock/java/before5.java"); performAction(); checkResultByFile("/codeInsight/commentByBlock/java/after5.java"); } finally { javaSettings.BLOCK_COMMENT_AT_FIRST_COLUMN = blockCommentAtFirstCol; } }