code: public static void write(ObjectOutput out, java.lang.reflect.Field field) throws IOException {
          if (field == null) {
              ClassRef.write(out, null);
          } else {
              ClassRef.write(out, field.getDeclaringClass());
              out.writeUTF(field.getName());
          }
      }
docs: Writes a Java Field.
  @param  out    target to write to
  @param  field  Java Field to be written