I'm looking into porting the Bazel Jdeps kotlin pl...
# compiler
t
I'm looking into porting the Bazel Jdeps kotlin plugin to K2/FIR and would love some guidance (here is a historical post on this). Essentially this plugin needs to tie a symbol back to a jar on the classpath. The current plugin is here (registrar). I'm assuming some sort of "checker" is needed, probably
declarationCheckers
and
expressionCheckers
? Once I've collected all of these I need to write the list of jars to a protocol buffer - the current plugin does this in
analysisCompleted
- is there a corresponding callback in k2 for when the "checker" is all done? Thanks for any insights 🙂
d
FIR analogue of
AnalysisHandlerExtension
is in development
t
Thanks is there a youtrack issue I could follow along for development? Or some other way to track the status?
d
It will be done as part of KAPT support https://youtrack.jetbrains.com/issue/KT-51982