[#1028][feature] - Reusing code with macros: replacing variables in class cast expressions too