void (final String testName, final String contents) { super.afterActionCompleted(testName, contents); CommonCodeStyleSettings settings = CodeStyle.getSettings(getProject()).getCommonSettings(JavaLanguage.INSTANCE); settings.ELSE_ON_NEW_LINE = myElseOnNewLine; }