Implemented more general scheme of post-processing with intentions in J2K + added replacement of get/set with property access there

This commit is contained in:
Valentin Kipyatkov
2015-08-11 19:07:10 +03:00
parent 671b9f5d56
commit e66d0f71ac
9 changed files with 204 additions and 95 deletions
@@ -0,0 +1,15 @@
import javaApi.Base
class C : Base() {
public fun f() {
val other = Base()
val value = other.property + property
other.property = 1
property = other.property + value
getBase(property).property = 0
}
private fun getBase(i: Int): Base {
return Base()
}
}