Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addCatchBlock/before2.java
2014-12-06 11:49:04 +03:00

21 lines
549 B
Java

// "Add 'catch' clause(s)" "false"
// should not try to add catch clauses across method boundaries
class s {
int f() throws Exception {
Runnable runnable = new Runnable() {
public void run() {
try {
Runnable runnable = new Runnable() {
public void run() {
<caret>int i = f();//
}
};
} catch (Exception e) {
}
}
};
return 0;
}
}