write(output, value, ObjectCreator.toIDL(value.getClass().getName()));
write(output, value, value.getClass());
  public static void write(OutputStream output, Serializable value)  {    // Write null if this is a null value.    if (value == null)      output.write_long(vt_NULL);    else      write(output, value, ObjectCreator.toIDL(value.getClass().getName()));  }