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);
if (!newNameOperator == HaskellTokenTypes.OPERATORS.contains(oldType)) {
createdName = createNewName(newNameOperator, "operator", "variable", oldName, newName, "Identifier type change",
"Do not perform rename", new RenameChange() {