boolean () { final String refactoringId = getRefactoringId(); PsiNamedElement elementToRename = getVariable(); if (refactoringId != null) { final RefactoringEventData beforeData = new RefactoringEventData(); beforeData.addElement(elementToRename); beforeData.addStringProperties(myOldName); myProject.getMessageBus() .syncPublisher(RefactoringEventListener.REFACTORING_EVENT_TOPIC).refactoringStarted(refactoringId, beforeData); } return performInplaceRefactoring(null); }