Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addToThrows/afterLambdaInternalInsideCallable.java
Anna Kozlova b2a07e2eee lambda: stop at method if it's located inside lambda (IDEA-131087)
(cherry picked from commit 890ffa719208e467b1ba238d248dbbf102c71b76)
2014-10-13 19:33:05 +02:00

17 lines
290 B
Java

// "Add Exception to Method Signature" "true"
class C {
interface I {
void a() throws InterruptedException;
}
{
Callable<I> i = () -> {
return new I() {
public void a() throws InterruptedException {
Thread.sleep(2000);
}
};
};
}
}