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 extends Base {
public void f() {
Base other = Base();
int value = other.getProperty() + getProperty();
other.setProperty(1);
setProperty(other.getProperty() + value);
getBase(getProperty()).setProperty(0);
}
private Base getBase(int i) {
return new Base();
}
}