replace all "size>0" with "isNotEmpty"
regenerate required models
replace "size==0" with ".isEmpty"
regenerate required models
deprecate doNotGenerate property in LinkDeclaration