[#1028][feature] - Reusing code with macros: replacing variables in clas...

...s cast expressions too