void () { getJavaSettings().RPAREN_ON_NEW_LINE_IN_DECONSTRUCTION_PATTERN = true; getJavaSettings().DECONSTRUCTION_LIST_WRAP = CommonCodeStyleSettings.WRAP_ALWAYS; doMethodTest( """ switch (a) { case R(int x, String y) -> {} }""", """ switch (a) { case R( int x, String y ) -> { } }"""); }