Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/addToThrows/afterLambdaInternalInsideCallable.java
2014-12-06 11:49:04 +03: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);
}
};
};
}
}