Code Automatic Generation Based on XDoclet