static A printWithClass(S name, A a) { print(name, toStringWithClass(a)); ret a; }