blob: 545a56b248ff61bf9eafa97e857cc97295ab8e9b [file] [log] [blame]
class Return {
private Return myReturn;
private int myInt;
public Return <caret>method() {
myReturn = new Return();
myReturn.myInt++;
return myReturn;
}
public void contextLValue() {
myReturn = new Return();
myReturn.myInt++;
myReturn = null;
}
public void contextNoUsage() {
myReturn = new Return();
myReturn.myInt++;
}
public void contextRValue() {
myReturn = new Return();
myReturn.myInt++;
Return r = myReturn;
}
public void contextRValueQualified() {
myReturn = new Return();
myReturn.myInt++;
Return r = this.myReturn;
}
}