var.parm1(...).parm2(...).parm3(...).parm4(...).doIt();
class Smth { } Smth parm(...) { // ... return this; }