write_Object((org.omg.CORBA.Object) an_interface);
write_value((Serializable) an_interface);
  public void write_abstract_interface(java.lang.Object an_interface)  {    boolean isValue =      an_interface instanceof ValueBase ||      (!(an_interface instanceof org.omg.CORBA.Object));    write_boolean(isValue);    if (isValue)      write_value((ValueBase) an_interface);    else      write_Object((org.omg.CORBA.Object) an_interface);  }