void () { // Inspired by IDEA-58068 getSettings().CATCH_ON_NEW_LINE = false; getSettings().SPACE_BEFORE_CATCH_KEYWORD = false; doMethodTest( """ try { } catch (Exception e) { }""", """ try { }catch (Exception e) { }""" ); getSettings().SPACE_BEFORE_CATCH_KEYWORD = true; doMethodTest( """ try { }catch (Exception e) { }""", """ try { } catch (Exception e) { }""" ); }