PsiElement (PsiNewExpression targetElement) { PsiJavaCodeReferenceElement referenceElement = getReferenceElement(targetElement); return referenceElement != null ? referenceElement.getReferenceNameElement() : null; }