VM_Class thisClass = null; if (name == VM_ClassLoader.StandardClassInitializerMethodName) { thisClass = (VM_Class)type.peekResolvedType(); } else {
VM_Class thisClass = (VM_Class)type.peekResolvedType(); if (thisClass == null && name != VM_ClassLoader.StandardObjectInitializerMethodName) {
  public final VM_Method resolveInvokeSpecial() {    VM_Class thisClass = null;    if (name == VM_ClassLoader.StandardClassInitializerMethodName) {      thisClass = (VM_Class)type.peekResolvedType();    } else {       try {	thisClass = (VM_Class)type.resolve();      } catch (ClassNotFoundException e) {	// can't happen.	// We're at compile time doing resolution of an invocation to a private method or super call.	// We must have loaded the class already	if (VM.VerifyAssertions) VM._assert(false);      }    }    if (thisClass == null) return null; // can't be found now.    VM_Method sought = resolveInternal(thisClass);    if (sought.isObjectInitializer())      return sought;   // <init>    VM_Class cls = sought.getDeclaringClass();    if (!cls.isSpecial())      return sought;   // old-style invokespecial semantics    for (; cls != null; cls = cls.getSuperClass()) {      VM_Method found = cls.findDeclaredMethod(sought.getName(),                                                sought.getDescriptor());      if (found != null)	return found; // new-style invokespecial semantics    }    return null; // cannot be found  }