code: private Node newArrayDeclarationNode(NodeTraversal traversal) {
      return IR.var(
          IR.name(createArrayName(traversal)),
          IR.arraylit());
    }
docs: Create and return a new array declaration node. The array name is
  generated based on the source filename, and declaration is of the form:
  "var arrayNameUsedInFile = [];"