code: public void format(StringBuffer fmt, Set done, Set todo, int indent) {
      formatName(fmt, indent);
      if (expectedType == null)
        fmt.append("Dynamic");
      else {
        String name = expectedType.getFeatureName();
        fmt.append("<").append(name).append(">");
        if (!done.contains(expectedType))
          todo.add(expectedType);
      }
    }
docs: Format for printing (subroutine of toString)