mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
+ warn if fields should be used in class initializers which would cause NPE; test conflicts in tests GitOrigin-RevId: a3db679f87d68924c94a3a9f082cafd527eebd5b
20 lines
326 B
Java
20 lines
326 B
Java
public class YoYo {
|
|
static class YoYoYo {
|
|
private final YoYo anObject;
|
|
|
|
public YoYoYo(YoYo anObject) {
|
|
this.anObject = anObject;
|
|
}
|
|
|
|
void foo (){
|
|
YoYo yoYoy = anObject;
|
|
}
|
|
}
|
|
|
|
class Other {
|
|
{
|
|
new YoYoYo(YoYo.this);
|
|
}
|
|
}
|
|
}
|