boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; PreviewDiffVirtualFile file = (PreviewDiffVirtualFile)o; return myProvider.getOwner().equals(file.myProvider.getOwner()); }