Would it be possible to have a plugin similar to a...
# language-proposals
m
Would it be possible to have a plugin similar to all open and no-arg, but for void return types? That is to say, if a function has the signature
fun foo(): Unit
it'd become
void foo()
in Java rather than
Unit foo()
when given a particular annotation. I think it'd make calling Kotlin code from Java a bit more pleasant.
­čĹŹ 1
And obviously, only valid where
foo()
isn't some implementation of a generic function or something.
k
When is Kotlin generating such signatures?