infer nullity: check for switch conditions (IDEA-61451)

This commit is contained in:
anna
2010-12-13 20:57:59 +03:00
parent daaee7acc2
commit 1c515125bb
4 changed files with 34 additions and 0 deletions
@@ -0,0 +1,13 @@
import org.jetbrains.annotations.*;
public class Infer {
enum E {;
}
void trySwitchEnum(@NotNull E e) {
switch (e) {
}
}
}