/**
  * Creates a plain text representation of a primitive.
  *
  * @param field The primitive to create the plain text representation of.
  * @param indent The indentation to draw.
  * @param type The complete type.
  */
 private void drawPrimitive(MetaPrimitive field, String indent, MetaType type) {
   String typedefName = type.getFieldTypedefName(field);
   if (typedefName != null) {
     writer.write(indent + typedefName + " " + field.getName() + ";" + newLine + separator);
   } else {
     writer.write(
         indent + field.getTypeName() + " " + field.getName() + ";" + newLine + separator);
   }
 }
 /**
  * Creates a plain text representation of a typedef primitive.
  *
  * @param field The 'typedeffed' primitive.
  * @param indent The indentation to draw.
  * @param type The complete type.
  */
 private void drawTypedefPrimitive(MetaPrimitive field, String indent, MetaType type) {
   writer.write(indent + field.getTypeName());
 }