public static MethodSlot getMethodWithIdenticalSignature(Symbol name, Cons parameterstree, String stringifiedsource) {
    { Slot existingslot = null;

      if (Stella_Object.consP(parameterstree.value)) {
        parameterstree = ((Cons)(parameterstree.value));
        if (Stella_Object.symbolP(parameterstree.last())) {
          existingslot = Stella_Class.lookupSlot(StandardObject.typeSpecToClass(parameterstree.last().yieldTypeSpecifier()), name);
          if (existingslot != null) {
            if (Surrogate.subtypeOfMethodSlotP(Stella_Object.safePrimaryType(existingslot))) {
              { MethodSlot existingslot000 = ((MethodSlot)(existingslot));

                if (Stella.stringEqlP(existingslot000.methodStringifiedSource, stringifiedsource)) {
                  return (existingslot000);
                }
              }
            }
            else {
            }
          }
        }
      }
      return (null);
    }
  }