a84b32af98
#KT-5492 Fixed
20 lines
286 B
Plaintext
20 lines
286 B
Plaintext
public class AAA {
|
|
private int x = 42;
|
|
|
|
public int getX() {
|
|
return x;
|
|
}
|
|
|
|
public void setX(int x) {
|
|
this.x = x;
|
|
}
|
|
|
|
public void foo() {
|
|
setX(getX() + 1);
|
|
}
|
|
|
|
public void bar(AAA other) {
|
|
other.setX(other.getX() + 1);
|
|
}
|
|
}
|