protected AbstractExtractDialog createExtractMethodObjectDialog(MyExtractMethodProcessor processor) {
return new LightExtractMethodObjectDialog(this, methodName);
}
};
extractMethodObjectProcessor.getExtractProcessor().setShowErrorDialogs(false);
<BUG>ExtractMethodObjectHandler.extractMethodObject(project, editor, file, extractMethodObjectProcessor);
</BUG>
final String generatedCall = document.getText(new TextRange(callSiteMarker.getStartOffset(), callSiteMarker.getEndOffset()));
return new ExtractedData(generatedCall, extractMethodObjectProcessor.getInnerClass());
}

protected AbstractExtractDialog createExtractMethodObjectDialog(MyExtractMethodProcessor processor) {
return new LightExtractMethodObjectDialog(this, methodName);
}
};
extractMethodObjectProcessor.getExtractProcessor().setShowErrorDialogs(false);
ExtractMethodObjectHandler.extractMethodObject(project, null, extractMethodObjectProcessor);
final String generatedCall = document.getText(new TextRange(callSiteMarker.getStartOffset(), callSiteMarker.getEndOffset()));
return new ExtractedData(generatedCall, extractMethodObjectProcessor.getInnerClass());
}
