boolean (Object o) { if (this == o) return true; if (!(o instanceof StubIndexReference)) return false; StubIndexReference that = (StubIndexReference)o; return myIndex == that.myIndex && myVirtualFile.equals(that.myVirtualFile) && Comparing.equal(myElementType, that.myElementType) && myLanguage == that.myLanguage; }