void (Editor editor) { final TemplateState templateState = TemplateManagerImpl.getTemplateState(editor); final InplaceRefactoring renamer = editor.getUserData(InplaceRefactoring.INPLACE_RENAMER); if (templateState != null && renamer != null) { templateState.gotoEnd(true); editor.putUserData(InplaceRefactoring.INPLACE_RENAMER, null); } }