code: protected void writeFieldInfo(FieldInfo info) {
          Node currentNode = this.currentNode;
          Element tmp = doc.createElementNS(XML_URI, "field");
          currentNode.appendChild(tmp);
          this.currentNode = tmp;
          addAccessFlags(info);
  
          if (info.getName() != null)
              tmp.setAttribute( "name", 
                      info.getName());
          if (info.getSignature() != null)
              tmp.setAttribute( "signature", 
                      info.getSignature());
          if (info.getValue() != null)
              tmp.setAttribute( "value",
                      info.getValue().toString());
          if (info.getDesc() != null)
              addTypeNode(info.getDesc());
          this.currentNode = currentNode;
      }
docs: Write out information about a field.
  This writes out a &lt;field&gt; node with attributes describing the
  field.
  
  @param info Info about the field.