Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMissingBooleanPrimitiveBranches/beforeNullableBooleans.java
Mikhail Pyltsin cb37003541 [java-inspections] IDEA-357323 Propose case null during adding all cases
GitOrigin-RevId: 6d7ffccc28d64ed0f52db0235c41796d1d81284e
2024-08-09 11:00:42 +00:00

15 lines
309 B
Java

// "Create missing switch branches with null branch" "true-preview"
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
class Test {
public static void main(String[] args) {
test(true);
}
public void test(@Nullable Boolean b) {
switch (b<caret>) {
}
}
}