hey uhm, Im writing a kotlin plugin loader for For minecraft development (spigot). Some features require alot of annoying boilerplate. Since I control the classloader used to load it, would it be advicable to add a feature to generate this boilerplate with ASM when loading the class? (They already modify the bytecode a little bit).
Fx their event system requires you to provide a static instance of an object, and override a method returning this instance. Its the same few lines for every class extending class. This makes the code in kotlin very ugly