Generate java builder pattern from a list of variable declarations