* @return Stella_Class
   */
  public static Stella_Class string_lookupClass(String name) {
    { Stella_Class renamed_Class = null;
      Surrogate surrogate = null;

      { Module module = null;
        Cons iter000 = Module.visibleModules(((Module)(Stella.$MODULE$.get())));

        for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
          module = ((Module)(iter000.value));
          { boolean testValue000 = false;

            { 
              surrogate = ((Surrogate)(GeneralizedSymbol.lookupRigidSymbolLocally(name, module, Stella.SURROGATE_SYM)));
              testValue000 = surrogate != null;
            }
            if (testValue000) {
              { 
                renamed_Class = ((Stella_Class)(surrogate.surrogateValue));
                testValue000 = renamed_Class != null;
              }
              if (testValue000) {
                testValue000 = Stella_Object.isaP(renamed_Class, Stella.SGT_STELLA_CLASS);
              }
            }
            if (testValue000) {
              return (renamed_Class);
            }
          }
        }
      }
      return (null);
    }
  }