void () { getJavaSettings().MULTI_CATCH_TYPES_WRAP = CommonCodeStyleSettings.WRAP_ALWAYS; doTextTest( """ public class Main { public static void main(String[] args) { try { \s } catch (FooException | BarException | FooBarException | FooBarFooException | BarBarFooException | BarFooFooException e) { \s } } }""", """ public class Main { public static void main(String[] args) { try { } catch (FooException | BarException | FooBarException | FooBarFooException | BarBarFooException | BarFooFooException e) { } } }""" ); }