try { parser.nextToken(); String clName = parser.nextToken(); VM_Atom dc = VM_Atom.findOrCreateUnicodeAtom(parser.nextToken()); VM_Atom mn = VM_Atom.findOrCreateUnicodeAtom(parser.nextToken()); VM_Atom md = VM_Atom.findOrCreateUnicodeAtom(parser.nextToken()); parser.nextToken(); ClassLoader cl; if (clName.equals(VM_BootstrapClassLoader.myName)) { cl = VM_BootstrapClassLoader.getBootstrapClassLoader(); } else if (clName.equals(ApplicationClassLoader.myName)) { cl = VM_ClassLoader.getApplicationClassLoader(); } else { return null; } VM_TypeReference tref = VM_TypeReference.findOrCreate(cl, dc); return findOrCreate(tref, mn, md); } catch (NoSuchElementException e) { return null; }
return parse(parser, false);
  public static VM_MemberReference parse(StringTokenizer parser) {    try {      parser.nextToken(); // discard <      String clName = parser.nextToken();      VM_Atom dc = VM_Atom.findOrCreateUnicodeAtom(parser.nextToken());      VM_Atom mn = VM_Atom.findOrCreateUnicodeAtom(parser.nextToken());      VM_Atom md = VM_Atom.findOrCreateUnicodeAtom(parser.nextToken());      parser.nextToken(); // discard '>'      ClassLoader cl;      if (clName.equals(VM_BootstrapClassLoader.myName)) {        cl = VM_BootstrapClassLoader.getBootstrapClassLoader();      } else if (clName.equals(ApplicationClassLoader.myName)) {        cl = VM_ClassLoader.getApplicationClassLoader();      } else {        return null;      }      VM_TypeReference tref = VM_TypeReference.findOrCreate(cl, dc);      return findOrCreate(tref, mn, md);    } catch (NoSuchElementException e) {      return null;    }  }