While It's not at all obvious how to augment a immediate member access like foo.num = num, You can certainly augment your classic setter with an additional drive parameter: Fields are the only mechanism how you can retail outlet knowledge on class degree. Fields are conceptually variables at class scope. https://herohomesrealty.in/