Simplify.
diff --git a/lib/src/source_visitor.dart b/lib/src/source_visitor.dart
index 1b918d1..f6d5a94 100644
--- a/lib/src/source_visitor.dart
+++ b/lib/src/source_visitor.dart
@@ -3423,12 +3423,11 @@
     // after it:
     if (node.parent is CatchClause && node.parent!.parent is TryStatement) {
       var tryStatement = node.parent!.parent as TryStatement;
-      if (tryStatement.finallyBlock != null) {
-        return tryStatement.catchClauses.any((clause) => clause.body == node);
-      } else {
-        return tryStatement.catchClauses.any((clause) => clause.body == node) &&
-            node != tryStatement.catchClauses.last.body;
-      }
+
+      // Split the catch if there is something after it, a finally or another
+      // catch.
+      return tryStatement.finallyBlock != null ||
+          node != tryStatement.catchClauses.last.body;
     }
 
     return false;