private boolean outsideCatch(@NotNull StatEdge edge, @Nullable DoStatement doStatement) {
      Statement destination = edge.getDestination();
      Statement parent = destination.getParent();
      int indexOf = parent.getStats().indexOf(destination);
      if (indexOf < 1) {
        return false;
      }
      Statement previousStatement = parent.getStats().get(indexOf - 1);
      return previousStatement.containsStatement(myRootSwitchStatement) &&
             (doStatement == null || previousStatement.containsStatement(doStatement));
    }
private boolean outsideCatch(@NotNull StatEdge edge, @Nullable DoStatement doStatement)