private @Nullable PsiImportStaticReferenceElement getMemberReference() {
    if (isOnDemand()) {
      return null;
    }
    else {
      return (PsiImportStaticReferenceElement) getImportReference();
    }
  }
private @Nullable PsiImportStaticReferenceElement getMemberReference()