}
} else {
createdNewName = nameWithModule;
}
HaskellPsiElementFactory factory = HaskellPsiElementFactory.getInstance(getProject());
ASTNode newIdentNode = factory.createIdentNodeFromText(createdNewName);
if (newIdentNode == null)
return this;
ASTNode nodeToBeInsertedTo = getNodeToBeInsertedTo();
ASTNode nodeToBeReplaced = getNodeToBeReplaced();
nodeToBeInsertedTo.replaceChild(nodeToBeReplaced, newIdentNode);