Much of the client code is repetitive, and could probably make use of code generation. Maybe a custom Kobalt task could help here?
EDIT 2016/06/24: There's a new Kapt coming with Kotlin 1.0.4. Looks like Kobalt may support this better than the current Kapt, so this should be put on hold until then. Once that's out, we can use annotation processing instead of a custom Kobalt task to implement the code generation.
Much of the client code is repetitive, and could probably make use of code generation.
Maybe a custom Kobalt task could help here?EDIT 2016/06/24: There's a new Kapt coming with Kotlin 1.0.4. Looks like Kobalt may support this better than the current Kapt, so this should be put on hold until then. Once that's out, we can use annotation processing instead of a custom Kobalt task to implement the code generation.