public static boolean subtypeOfWrapperP(Surrogate type) {
    if (Stella.$CLASS_HIERARCHY_BOOTEDp$) {
      return (Stella_Class.subclassOfP(((Stella_Class)(type.surrogateValue)), ((Stella_Class)(Stella.SGT_STELLA_WRAPPER.surrogateValue))));
    }
    else {
      return (Surrogate.subtypeOfBooleanP(type) ||
          (Surrogate.subtypeOfIntegerP(type) ||
           (Surrogate.subtypeOfLongIntegerP(type) ||
            (Surrogate.subtypeOfFloatP(type) ||
             (Surrogate.subtypeOfStringP(type) ||
              (Surrogate.subtypeOfCharacterP(type) ||
               Surrogate.bootstrapSubtypeOfP(type, Stella.SGT_STELLA_WRAPPER)))))));
    }
  }