activeObjectMap.Obj exists = null;
AOM.Obj exists = null;
  public org.omg.CORBA.Object servant_to_reference(Servant the_Servant)                                            throws ServantNotActive,                                                   WrongPolicy  {    required(ServantRetentionPolicyValue.RETAIN);    activeObjectMap.Obj exists = null;    if (!applies(IdUniquenessPolicyValue.MULTIPLE_ID))      exists = aom.findServant(the_Servant);    if (exists != null)      {        if (exists.isDeactiveted())          {            if (applies(ImplicitActivationPolicyValue.IMPLICIT_ACTIVATION))              {                checkDiscarding();                exists.setDeactivated(false);                incarnate(exists, exists.key, the_Servant, false);              }            else              throw new ServantNotActive();          }        else          return exists.object;      }    if (exists == null &&        applies(ImplicitActivationPolicyValue.IMPLICIT_ACTIVATION)       )      {        checkDiscarding();        byte[] object_key = activeObjectMap.getFreeId();        servantDelegate delegate =          new servantDelegate(the_Servant, this, object_key);        connectDelegate(object_key, delegate);        return delegate.object;      }    else      throw new ServantNotActive();  }