J2K: get/set-methods converted to properties (but lot of TODOs left)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
internal interface I {
|
||||
fun getString(): String?
|
||||
val string: String?
|
||||
}
|
||||
|
||||
internal class C {
|
||||
fun foo(i: I) {
|
||||
if (i.getString() == null) {
|
||||
if (i.string == null) {
|
||||
println("null")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user