code: public List<JCVariableDecl> translateVarDefs(List<JCVariableDecl> trees) {
          for (List<JCVariableDecl> l = trees; l.nonEmpty(); l = l.tail)
              l.head = translate(l.head);
          return trees;
      }
docs: Visitor method: translate a list of variable definitions.