boolean () { boolean bind = false; if (myInsertedName != null) { final CommandProcessor commandProcessor = CommandProcessor.getInstance(); if (commandProcessor.getCurrentCommand() != null && getVariable() != null) { commandProcessor.setCurrentCommandName(getCommandName()); } bind = true; if (!isIdentifier(myInsertedName, myLanguage)) { performOnInvalidIdentifier(myInsertedName, myNameSuggestions); } else if (mySnapshot != null) { ApplicationManager.getApplication().runWriteAction(() -> mySnapshot.apply(myInsertedName)); } performRefactoringRename(myInsertedName, myMarkAction); } return bind; }