Perhaps you could do some kind of compile-time moc...
# announcements
z
Perhaps you could do some kind of compile-time mocking? That could work but it would be pretty complex and difficult to write (I suspect this is what you are getting at with exposing Kotlin AST).