Given the code
val String.test: String
get() = this + " test"
the kotlin-as-java-plugin
produces
A spurious, nonexistent field is created, as well as messing up the signature for the function: it's supposed to be getTest(String $self)
, not String getTest()