boolean (Object o) { if (!(o instanceof PsiWildcardType)) return false; PsiWildcardType that = (PsiWildcardType)o; if (myBound == null && that.myBound != null) { return that.isExtends() && that.myBound.equalsToText(CommonClassNames.JAVA_LANG_OBJECT); } if (myBound != null && that.myBound == null) { return isExtends() && myBound.equalsToText(CommonClassNames.JAVA_LANG_OBJECT); } return myIsExtending == that.myIsExtending && Comparing.equal(myBound, that.myBound); }