String (PsiType type) { final PsiClass filterClass = PsiUtil.resolveClassInType(type); if (filterClass != null) return filterClass.getQualifiedName(); if (type instanceof PsiCapturedWildcardType) { final PsiClass boundClass = PsiUtil.resolveClassInType(((PsiCapturedWildcardType)type).getUpperBound()); if (boundClass != null) return boundClass.getQualifiedName(); } return null; }