* @param errorP
   * @return Stella_Class
   */
  public static Stella_Class string_getStellaClass(String className, boolean errorP) {
    { Surrogate type = Surrogate.lookupSurrogate(className);

      if (type != null) {
        return (type.getStellaClass(errorP));
      }
      if (errorP) {
        { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

          stream000.nativeStream.print("Class ``" + className + "'' does not exist.");
          { String error_message_ = stream000.theStringReader();

            Native.continuableError(error_message_);
          }
        }
      }
      return (null);
    }
  }