code: public static List<Type> types(List<? extends JCTree> trees) {
          ListBuffer<Type> ts = new ListBuffer<Type>();
          for (List<? extends JCTree> l = trees; l.nonEmpty(); l = l.tail)
              ts.append(l.head.type);
          return ts.toList();
      }
docs: Return the types of a list of trees.