generalTypeCode t = new generalTypeCode(TCKind.tk_abstract_interface);
GeneralTypeCode t = new GeneralTypeCode(TCKind.tk_abstract_interface);
  public void writeAny(OutputStream output, Object object)  {    Any any = output.orb().create_any();    if (object == null)      {        generalTypeCode t = new generalTypeCode(TCKind.tk_abstract_interface);        t.setId("IDL:omg.org/CORBA/AbstractBase:1.0");        t.setName("");        any.type(t);        output.write_any(any);        return;      }    else if (object instanceof org.omg.CORBA.Object      && !(object instanceof Remote))      {        // Write as value type.        boolean inserted = ObjectCreator.insertWithHelper(any, object);        if (inserted)          {            output.write_any(any);            return;          }      }    if (object instanceof org.omg.CORBA.Object)      writeAnyAsRemote(output, object);    else if (object instanceof Serializable)      {        any.insert_Value((Serializable) object);        output.write_any(any);      }    else  {        MARSHAL m = new MARSHAL(object.getClass().getName()          + " must be CORBA Object, Remote or Serializable");        m.minor = Minor.NonSerializable;        throw m;      }  }