boolean (@Nullable PsiType type, @NotNull Collection<PsiClass> weakestTypeClasses) { final PsiClass aClass = PsiUtil.resolveClassInClassTypeOnly(type); if (aClass == null) { return false; } checkClass(aClass, weakestTypeClasses); return true; }