public static Stella_Class getIdenticalClass(String classname, String stringifiedsource) {
    { Surrogate surrogate = Surrogate.lookupSurrogate(classname);
      Stella_Object oldvalue = ((surrogate != null) ? surrogate.surrogateValue : ((Stella_Object)(null)));

      if (oldvalue != null) {
        if (Surrogate.subtypeOfClassP(Stella_Object.safePrimaryType(oldvalue))) {
          { Stella_Class oldvalue000 = ((Stella_Class)(oldvalue));

            if ((oldvalue000.classStringifiedSource != null) &&
                (Stella.stringEqlP(oldvalue000.classStringifiedSource, stringifiedsource) &&
                 (((Module)(surrogate.homeContext)) == ((Module)(Stella.$MODULE$.get()))))) {
              return (oldvalue000);
            }
          }
        }
        else {
        }
      }
      return (null);
    }
  }