The annotation-processor correctly add the `deprecated` flag if the field is `@Deprecated` but it doesn't do it if the class is `@Deprecated`.