void (PsiType left, PsiType right) { if (left instanceof PsiPrimitiveType) left = ((PsiPrimitiveType)left).getBoxedType(PsiManager.getInstance(myProject), GlobalSearchScope.allScope(myProject)); if (right instanceof PsiPrimitiveType) right = ((PsiPrimitiveType)right).getBoxedType(PsiManager.getInstance(myProject), GlobalSearchScope.allScope(myProject)); if (left == null || right == null) { return; } if ((Util.bindsTypeVariables(left) || Util.bindsTypeVariables(right)) ) { final Subtype c = new Subtype(left, right); myConstraints.add(c); } }