At that point, why not just use another jvm language with these features like Kotlin?
Selling a new language is hard, selling a library is easier, even if this one has a hook deep in the code of javac.
[1] https://en.wikipedia.org/wiki/Gosu_(programming_language)