@Override
  public boolean contains(@NotNull PsiFile file, @Nullable NamedScopesHolder holder) {
    return contains((PsiFileSystemItem)file, holder);
  }
@Override
  public boolean contains(@NotNull PsiFile file, @Nullable NamedScopesHolder holder)