@Override
    public PsiElement handleElementRename(String newElementName) throws IncorrectOperationException {
        return ((PsiNamedElement) myElement).setName(newElementName);
    }
A reference to a Psi Element.

@author Shahar Ariel
integration/intellij/src/main/java/ai/vespa/intellij/schema/SdReference.java