boolean (Object o) { if (this == o) return true; if (!(o instanceof PsiFileReference)) return false; PsiFileReference reference = (PsiFileReference)o; if (!myFile.equals(reference.myFile)) return false; if (!myLanguage.equals(reference.myLanguage)) return false; if (!myProject.equals(reference.myProject)) return false; return true; }