final Wrappers._T<ExtractMethodRefactoringParameters> params = new Wrappers._T<ExtractMethodRefactoringParameters>();
final Wrappers._T<ExtractMethodRefactoring> refactoring = new Wrappers._T<ExtractMethodRefactoring>();
ModelAccess.instance().runWriteAction(new Runnable() {
public void run() {
params.value = new ExtractMethodRefactoringParameters(ExtractMethod_Action.this.nodes);
<BUG>refactoring.value = ExtractMethodFabric.createRefactoring(params.value);
</BUG>
params.value.setReturnType(refactoring.value.getMethodType());
}
});

final Wrappers._T<ExtractMethodRefactoringParameters> params = new Wrappers._T<ExtractMethodRefactoringParameters>();
final Wrappers._T<ExtractMethodRefactoring> refactoring = new Wrappers._T<ExtractMethodRefactoring>();
ModelAccess.instance().runWriteAction(new Runnable() {
public void run() {
params.value = new ExtractMethodRefactoringParameters(ExtractMethod_Action.this.nodes);
refactoring.value = ExtractMethodFactory.createRefactoring(params.value);
params.value.setReturnType(refactoring.value.getMethodType());
}
});
