Files
openide/java/java-tests/testData/refactoring/makeClassStatic/fieldInitializerMovedToConstructor_after.java
2010-04-20 13:53:21 +04:00

24 lines
476 B
Java

public class YoYo {
Object y;
static class YoYoYo {
Object x;
Object[] xx;
private YoYo anObject;
private Object y;
public YoYoYo(YoYo anObject, Object y) {
this.anObject = anObject;
this.y = y;
this.x = y;
this.xx = new Object[]{y};
}
void foo (){
YoYo yoYoy = anObject;
Object t = y;
Object t1 = yoYoy.y;
}
}
}