[
https://issues.apache.org/jira/browse/THRIFT-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13818302#comment-13818302
]
Hudson commented on THRIFT-1813:
--------------------------------
SUCCESS: Integrated in Thrift #939 (See
[https://builds.apache.org/job/Thrift/939/])
THRIFT-1813 java: Add @Generated annotation to generated classes (roger: rev
1ee7bb645d1ca5b54198d77cdc9f0517e509cc39)
* compiler/cpp/src/generate/t_java_generator.cc
* compiler/cpp/src/generate/t_oop_generator.h
> 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)