@Override
  public @NotNull SearchScope getUseScope() {
    if (isUnnamed()) {
      return LocalSearchScope.EMPTY;
    }
    PsiElement declarationScope = getDeclarationScope();
    return new LocalSearchScope(declarationScope);
  }
@Override
  public @NotNull SearchScope getUseScope()