IDEA-85993 Nullable analysis works incorrectly with inner classes

This commit is contained in:
peter
2012-10-29 12:57:23 +01:00
parent 03ab1d39cb
commit 733b09331a
6 changed files with 58 additions and 14 deletions
@@ -0,0 +1,17 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
class Test {
void f(@Nullable final Object x) {
if (x != null) {
class C {
C(@NotNull Object x) {
}
C() {
this(x);
}
}
}
}
}