code: public void addNestedClassInfo(Content classInfoTree) {
          ClassDoc outerClass = classDoc.containingClass();
          if (outerClass != null) {
              Content label;
              if (outerClass.isInterface()) {
                  label = getResource(
                          "doclet.Enclosing_Interface");
              } else {
                  label = getResource(
                          "doclet.Enclosing_Class");
              }
              Content dt = HtmlTree.DT(label);
              Content dl = HtmlTree.DL(dt);
              Content dd = new HtmlTree(HtmlTag.DD);
              dd.addContent(getLink(new LinkInfoImpl(configuration,
                      LinkInfoImpl.Kind.CLASS, outerClass)));
              dl.addContent(dd);
              classInfoTree.addContent(dl);
          }
      }
docs: {@inheritDoc}