boolean (Object aClass, @Nullable PsiElement context) { return aClass instanceof PsiClass && ReferenceListWeigher.INSTANCE.getApplicability((PsiClass)aClass, element) != ReferenceListWeigher.ReferenceListApplicability.inapplicable; }