handle @generate on constructors
handle dynamic on parameters