public static Stella_Object accessIntervalBounds(Stella_Object x, Keyword lowerorupper, Object [] MV_returnarray) {
    { Surrogate testValue000 = Stella_Object.safePrimaryType(x);

      if (Surrogate.subtypeOfP(testValue000, Logic.SGT_STELLA_NUMBER_WRAPPER)) {
        { NumberWrapper x000 = ((NumberWrapper)(x));

          { Stella_Object _return_temp = x000;

            MV_returnarray[0] = BooleanWrapper.wrapBoolean(false);
            return (_return_temp);
          }
        }
      }
      else if (Surrogate.subtypeOfP(testValue000, Logic.SGT_LOGIC_QUANTITY_LOGIC_WRAPPER)) {
        { QuantityLogicWrapper x000 = ((QuantityLogicWrapper)(x));

          { Stella_Object _return_temp = x000;

            MV_returnarray[0] = BooleanWrapper.wrapBoolean(false);
            return (_return_temp);
          }
        }
      }
      else {
        return (IntervalCache.accessIntervalCacheBounds(((IntervalCache)(Logic.accessBinaryValue(x, PlKernelKb.SGT_PL_KERNEL_KB_INTERVAL_CACHE_OF))), lowerorupper, MV_returnarray));
      }
    }
  }