code: public static void addStmt(BlockStmt block, Statement stmt) {
          List<Statement> stmts = block.getStmts();
          if (stmts == null) {
              stmts = new ArrayList<Statement>();
              block.setStmts(stmts);
          }
          stmts.add(stmt);
      }
docs: Adds the given statement to the specified block. The list of statements
  will be initialized if it is <code>null</code>.
  
  @param block
  @param stmt