ReferenceListApplicability (@NotNull PsiElement element, @NotNull ProximityLocation location) { if (element instanceof PsiClass && location.getPosition() != null) { return getApplicability((PsiClass)element, location.getPosition()); } return unknown; }