You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Arvind Jayaprakash (JIRA)" <ji...@apache.org> on 2012/12/28 16:28:12 UTC

[jira] [Created] (THRIFT-1813) Add @Generated annotation to generated classes

Arvind Jayaprakash created THRIFT-1813:
------------------------------------------

             Summary: Add @Generated annotation to generated classes
                 Key: THRIFT-1813
                 URL: https://issues.apache.org/jira/browse/THRIFT-1813
             Project: Thrift
          Issue Type: Improvement
          Components: Java - Compiler
            Reporter: Arvind Jayaprakash


Why?
1. A lot of static analysis tools understand the javax.annotation.Generated annotation and treat those classes differently.
1. Setting the date field with the date & comments field with the version of the thrift compiler might prove to be valuable for tracing the origins of the generated file.

The overheads should be minimal as the retention policy of the annotation is purely at a source level

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira