Lars Frost

03/27/2023, 9:48 AM
We are trying in our project, to add additional semantic analysis to the compiler, that uses kotlins other semantic analysis like the inheritance graph, type inference or symbol resolution. We tried to add it as PartialAnalysisHandlerExtension, but couldn't find a way to get type inference and other resolve results. Is there a way to add semantic analysis after the analysis from the kotlin compiler, preferable in a way, that symbol resolutions are accessible via PsiReference to reuse code between a kotlinc and intellij-plugin?