packagecom.alibaba.tenant;publicclassFieldReference<T>{privateTreferent;/** * Constructs a new FieldReference with r as the referent * @param r The object to which this FieldReference points */publicFieldReference(Tr){this.referent=r;}/** * Returns this FieldReference referent * @return The referent */publicTget(){returnreferent;}/** * Sets {@code referent} * @param t The new referent value */publicvoidset(Objectt){referent=(T)t;}}