Files
openide/java/java-tests/testData/refactoring/extractMethodNew/ExitPoints7.java
Alexandr Suhinin 0e860160e5 [extract method] fork tests
GitOrigin-RevId: 3aae5c738d48c38144f6a78c36738121831ae5a5
2020-03-31 12:32:01 +00:00

27 lines
424 B
Java

class Foo {
public Object createBean(Object parent) {
try {
<selection>if (parent != null) {
try {
}
catch (Exception e) {
return null;
}
}
Object tag = null;</selection>
tag = foo(tag);
}
catch (Exception e) {
throw new RuntimeException(e);
}
return null;
}
private Object foo(final Object tag) {
return null;
}
}