Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createLocalVarFromInstanceof/afterFormatting.java
Tagir Valeev b990c89c65 CreateLocalVarFromInstanceofAction: use VariableNameGenerator (produces better results)
GitOrigin-RevId: 10d07e83576c67df180c8652d1003cf3de6810d1
2020-04-10 07:40:25 +00:00

13 lines
224 B
Java

// "Insert '(IOException)o' declaration" "true"
import java.io.IOException;
class C {
void f(Object o) {
if (o instanceof IOException) {
IOException ioException = (IOException) o;
<caret>
}
}
}