GROOVY-7190: $get called on wrong receiver in case of a static method in a trait