Files
openide/java/java-tests/testData/refactoring/introduceConstant/AnonymousClassWithThrownClause_after.java
T

19 lines
296 B
Java

import java.io.IOException;
class Test {
public static final I xxx = new I() {
@Override
public void foo() throws IOException {
bar();
}
};
void bar() throws IOException {}
I get() {
return xxx;
}
}
interface I {
void foo() throws IOException;
}