void (final String testName, final String contents) { super.beforeActionStarted(testName, contents); final CommonCodeStyleSettings settings = CodeStyle.getSettings(getProject()).getCommonSettings(JavaLanguage.INSTANCE); myBreakAfterLparen = settings.CALL_PARAMETERS_LPAREN_ON_NEXT_LINE; myBreakBeforeRparen = settings.CALL_PARAMETERS_RPAREN_ON_NEXT_LINE; settings.CALL_PARAMETERS_LPAREN_ON_NEXT_LINE = contents.contains("break after lparen"); settings.CALL_PARAMETERS_RPAREN_ON_NEXT_LINE = contents.contains("break before rparen"); }