code: static Node getCatchHandlerForBlock(Node block) {
      if (block.isBlock()
          && block.getParent().isTry()
          && block.getParent().getFirstChild() == block) {
        for (Node s = block.getNext(); s != null; s = s.getNext()) {
          if (NodeUtil.hasCatchHandler(s)) {
            return s.getFirstChild();
          }
        }
      }
      return null;
    }
docs: Locate the catch BLOCK given the first block in a TRY.
  @return The CATCH node or null there is no catch handler.