public List<Symbol> getSymbolsByType(SymbolType type) {
        return symbolDefinitions.get(type);
    }
Retrieves a list of symbols of the specified type from the schema index.

@param type The type of symbols to retrieve.
@return A list of symbols of the specified type, or an empty list if no symbols are found.
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/index/SchemaIndex.java