Adds a javax.annotation.Generated annotation to generated sources.

Generated sources should have a `@Generated` annotation to help tools like IDEs and checkers to be less strict. This pull request sets the standard Java annotation for that.