You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2013/11/09 19:44:17 UTC
[jira] [Resolved] (THRIFT-1813) Add @Generated annotation to
generated classes
[ https://issues.apache.org/jira/browse/THRIFT-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roger Meier resolved THRIFT-1813.
---------------------------------
Resolution: Fixed
Assignee: Roger Meier
committed, thanks
> 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
> Assignee: Roger Meier
> Attachments: THRIFT-1813.patch, thrift-1813-generated-annotation.patch
>
>
> Why?
> # A lot of static analysis tools understand the javax.annotation.Generated annotation and treat those classes differently.
> # 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 was sent by Atlassian JIRA
(v6.1#6144)