Noir::TreeSitterKotlinDtoIndex
Cross-file Kotlin DTO index. Mirrors TreeSitterJavaDtoIndex:
current file + same-directory siblings + imported files, all
parsed via tree-sitter, results memoised across the analyzer's
per-file loop.
Constants
MAX_INHERITANCE_RESOLUTIONS = 512
Backstop against pathological supertype graphs — far above any real DTO hierarchy depth/fan-out.
Constructors
new
SourceClass methods
clear_cache!
SourceInstance methods
Variant taking a pre-parsed root so the Kotlin Spring analyzer can share the parse across the route + parameter walks. Sibling files still parse independently — but go through the process-wide cache so concurrent analyzers don't double-up.