ExtractMethodInfoHelper (@NotNull InitialInfo initialInfo, PsiClass owner) { GroovyExtractMethodDialog dialog = new GroovyExtractMethodDialog(initialInfo, owner); if (!dialog.showAndGet()) { return null; } return dialog.getHelper(); }