Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addCatchBlock/before2.java
2010-06-25 12:46:40 +04:00

21 lines
547 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;
}
}