void () { getSettings().WRAP_LONG_LINES = true; getSettings().RIGHT_MARGIN = 140; getSettings().PREFER_PARAMETERS_WRAP = true; getSettings().CALL_PARAMETERS_WRAP = CommonCodeStyleSettings.WRAP_ON_EVERY_ITEM; getSettings().CALL_PARAMETERS_RPAREN_ON_NEXT_LINE = true; getSettings().CALL_PARAMETERS_LPAREN_ON_NEXT_LINE = true; String before = " processingEnv.getMessenger().printMessage(Diagnostic.Kind.ERROR, getMessage());"; String after = "processingEnv.getMessenger().printMessage(Diagnostic.Kind.ERROR, getMessage());"; doMethodTest(before, after); before = " processingEnv.getMessenger().printMessage(Diagnostic.Kind.ERROR, getMessage(loooooooooooooooooongParamName));"; after = "processingEnv.getMessenger().printMessage(Diagnostic.Kind.ERROR, getMessage(loooooooooooooooooongParamName));"; doMethodTest(before, after); }