public List<ExtractMethodRequest> getRefactoringRequests() {
List<ExtractMethodRequest> requests = new ArrayList<ExtractMethodRequest>();
ExtractMethodRequest req = new ExtractMethodRequest("extracted_method", this.selection, this.scopeAdapter,
this.parsedSelection, deducer.getParameters(), deducer.getReturns(), this.renameMap,
this.offsetStrategy, new AdapterPrefs("\n", new IGrammarVersionProvider() {
public int getGrammarVersion() throws MisconfigurationException {
return IGrammarVersionProvider.GRAMMAR_PYTHON_VERSION_2_7;
}
}));