@Override
protected void doAction() {
LOG.assertTrue(myPsiElement.isValid());
final String newName = getNewName();
String oldName = myPsiElement.getText();
LexedIdentifier newId = LexedIdentifier.parseMaybeInfixPrefix(newName);
LexedIdentifier oldId = LexedIdentifier.parseMaybeInfixPrefix(oldName);
LOG.assertTrue(newId != null && oldId != null);
HaskellTokenType newType = newId.type;
HaskellTokenType oldType = oldId.type;
String createdName = newName;
boolean newNameOperator = HaskellTokenTypes.OPERATORS.contains(newType);