mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-13 06:07:04 +07:00
+ warn if fields should be used in class initializers which would cause NPE; test conflicts in tests GitOrigin-RevId: a3db679f87d68924c94a3a9f082cafd527eebd5b
11 lines
216 B
Java
11 lines
216 B
Java
class Outer {
|
|
static class Inner {
|
|
private final Outer anObject;
|
|
Object x;
|
|
|
|
public Inner(Outer anObject) {
|
|
this.anObject = anObject;
|
|
this.x = anObject.getClass();
|
|
}
|
|
}
|
|
} |