semoro
09/16/2016, 5:05 AMpublic class Test {
public boolean isSomething() {
return true;
}
public boolean getSomething() {
return true;
}
public void setSomething(boolean s) {
}
}
val test = Test()
val b = test.isSomething //java: boolean b = test.isSomething()
val c = test.something //java: boolean c = test.getSomething()
test.isSomething = false //java: test.setSomething(false)
test.something = false //java: test.setSomething(false)