Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/convertSwitchToIf/before5.java

11 lines
215 B
Java

// "Replace 'switch' with 'if'" "true"
class Test {
void foo(Object e) {
<caret>switch(e.getClass()) {
case RuntimeException.class:
break;
case IOException.class:
break;
}
}
}