docs: public void setSharingPolicy(int sharingPolicy) {
  	  if (lock == SET) {
  		 throw new IllegalStateException("EntryInfo is locked");
  	  }
  	  sharingPolicyFlag = SET;
  	  this.sharingPolicy = sharingPolicy;
  	  if ((sharingPolicy != NOT_SHARED) && (sharingPolicy != SHARED_PUSH) && (sharingPolicy != SHARED_PULL) && (sharingPolicy != SHARED_PUSH_PULL)) {
  		 throw new IllegalArgumentException("Illegal sharing policy: " + sharingPolicy);
  	  }
     }