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