public static void pprintLiteralWrapper(LiteralWrapper self, org.powerloom.PrintableStringWriter stream) {
    { Surrogate testValue000 = Stella_Object.safePrimaryType(self);

      if (Surrogate.subtypeOfBooleanP(testValue000)) {
        { BooleanWrapper self000 = ((BooleanWrapper)(self));

          stream.print(self000.wrapperValue);
        }
      }
      else if (Surrogate.subtypeOfIntegerP(testValue000)) {
        { IntegerWrapper self000 = ((IntegerWrapper)(self));

          stream.print(self000.wrapperValue);
        }
      }
      else if (Surrogate.subtypeOfFloatP(testValue000)) {
        { FloatWrapper self000 = ((FloatWrapper)(self));

          stream.print(self000.wrapperValue);
        }
      }
      else if (Surrogate.subtypeOfCharacterP(testValue000)) {
        { CharacterWrapper self000 = ((CharacterWrapper)(self));

          stream.print(self000.wrapperValue);
        }
      }
      else if (Surrogate.subtypeOfStringP(testValue000)) {
        { StringWrapper self000 = ((StringWrapper)(self));

          if (((Boolean)(Stella.$PRINTREADABLYp$.get())).booleanValue()) {
            stream.print("\"" + self000.wrapperValue + "\"");
          }
          else {
            stream.print(self000.wrapperValue);
          }
        }
      }
      else if (Surrogate.subtypeOfP(testValue000, OntosaurusUtil.SGT_STELLA_MUTABLE_STRING_WRAPPER)) {
        { MutableStringWrapper self000 = ((MutableStringWrapper)(self));

          if (((Boolean)(Stella.$PRINTREADABLYp$.get())).booleanValue()) {
            stream.print("\"" + self000.wrapperValue + "\"");
          }
          else {
            stream.print(self000.wrapperValue);
          }
        }
      }
      else {
        { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

          stream000.nativeStream.print("`" + testValue000 + "' is not a valid case option");
          throw ((StellaException)(StellaException.newStellaException(stream000.theStringReader()).fillInStackTrace()));
        }
      }
    }
  }