It would have been easier if I manipulated Java so...
# tornadofx
e
It would have been easier if I manipulated Java sources, but Kotlin PSI classes are new, and probably better, but is very hard to reason about without docs.