private static void printXmlFields(ClassRef cref){
  FieldRef[] fields=cref.getFieldArray();
  for (int i=0; i < fields.length; i++) {
    FieldRef fref=fields[i];
    out.println(IN3 + "<field name=\"" + fref.getName()+ "\" type=\""+ descriptorToDot(fref.getTypeName())+ "\"/>");
  }
}

private static void printXmlFields ( ClassRef cref ) { FieldRef [ ] fields = cref . getFieldArray ( ) ; for ( int i = 0 ; i < fields . length ; i ++ ) { FieldRef fref = fields [ i ] ; out . println ( IN3 + "<field name=\"" + fref . getName ( ) + "\" type=\"" + descriptorToDot ( fref . getTypeName ( ) ) + "\"/>" ) ; } }
prints the externally - visible fields in xml format .
