Way to get the method for java compat
Wed, Mar 16, 2016There is a way to get the method for java compat to become boolean name or getter name
var bar: Int = 1
@JvmName("getBar") get
On a data class case
data class Bar(@get:JvmName("isBar") val bar: Boolean)