boolean (PsiClass aClass, PsiTypeParameter parameter, PsiType U) { PsiClassType[] extendsListTypes = parameter.getExtendsListTypes(); if (extendsListTypes.length == 0) return true; PsiType bi = PsiIntersectionType.createIntersection(extendsListTypes); return PsiTypesUtil.mentionsTypeParameters(bi, ContainerUtil.newHashSet(aClass.getTypeParameters())) || !U.isAssignableFrom(bi); }