You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Tom Davis (JIRA)" <ji...@apache.org> on 2016/05/06 15:53:12 UTC
[jira] [Updated] (THRIFT-3818) Annotations for easier extension
[ https://issues.apache.org/jira/browse/THRIFT-3818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tom Davis updated THRIFT-3818:
------------------------------
Component/s: Java - Library
> Annotations for easier extension
> --------------------------------
>
> Key: THRIFT-3818
> URL: https://issues.apache.org/jira/browse/THRIFT-3818
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Compiler, Java - Library
> Reporter: Tom Davis
> Priority: Minor
>
> Currently, there are two ways to extend a Java implementation of a Thrift spec: modify the compiler source code or write classes that wrap the existing Java library. The former requires maintaining a fork of Thrift while the latter doesn't allow meaningful changes to, e.g., struct or service classes.
> I propose modifying the compiler to include additional annotations to Thrift types ({{ThriftService}}, {{ThriftStruct}}, etc.) This change would allow much easier extension of generated classes through the use of annotation processors. Happy to supply a patch if it's a desirable improvement. Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)