public Optional<Symbol> findSymbolInScope(Symbol symbol) {
        return findSymbolInScope(symbol.getScope(), symbol.getType(), symbol.getShortIdentifier());
    }
Uses symbol.getScope as the scope to search in
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/index/SchemaIndex.java