Macro compilble adapted to AliPHOSGetter