String (@NotNull GrReferenceElement<?> referenceElement) { if (referenceElement.getParent() instanceof GrReferenceElement) { return ((GrReferenceElement<?>)referenceElement.getParent()).getReferenceName(); } return super.getRequiredMemberName(referenceElement); }