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