Ahoy! I'm working on Kotlin Bazel support over at
bazelbuild/rules_kotlin and want to implement some build performance optimizations similar as exist for Java. I need to implement a compiler plugin to do this and could use some pointers as to which Extensions / APIs would best serve my needs. Basically I need a way to access the symbol table or get a list of the classes loaded by the compiler from a modules dependencies and determine what jars they were loaded from (This information would be written in a
protocol buffer format that we can use for stuff like optimizing the build, removing unused deps and such like).