code: public void print(DocTree tree) throws IOException {
          try {
              if (tree == null)
                  print("/*missing*/");
              else {
                  tree.accept(this, null);
              }
          } catch (UncheckedIOException ex) {
              throw new IOException(ex.getMessage(), ex);
          }
      }
docs: Visitor method: print expression tree.