@Override
  public String getReferenceName() {
    if (isOnDemand()) return null;
    PsiImportStaticReferenceElement memberReference = getMemberReference();
    if (memberReference != null) {
      return memberReference.getReferenceName();
    }
    else {
      return null;
    }
  }
@Override
  public String getReferenceName()