void () { super.doAction(); invokeRefactoring( new InlineMethodProcessor(getProject(), myMethod, myReference, myEditor, isInlineThisOnly(), isSearchInCommentsAndStrings(), isSearchForTextOccurrences(), !isKeepTheDeclaration())); JavaRefactoringSettings settings = JavaRefactoringSettings.getInstance(); if(myRbInlineThisOnly.isEnabled() && myRbInlineAll.isEnabled()) { settings.INLINE_METHOD_THIS = isInlineThisOnly(); } if (myKeepTheDeclaration != null && myKeepTheDeclaration.isEnabled()) { settings.INLINE_METHOD_KEEP = isKeepTheDeclaration(); } }