[gen] respect member constructor in class constructor
[gen] update getNames