void () { getSettings().BRACE_STYLE = CommonCodeStyleSettings.NEXT_LINE; doClassTest( """ static boolean test(String name){ switch (name){ case "GET" -> { return true; } case "POST" -> { return false; } } return false; }""", """ static boolean test(String name) { switch (name) { case "GET" -> { return true; } case "POST" -> { return false; } } return false; }""" ); }