boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; PsiTypeItem that = (PsiTypeItem)o; if (myType == null) { if (that.myType != null) return false; } else { if (!myType.equals(that.myType)) return false; } return true; }