Liu Jiayu created THRIFT-5582:
---------------------------------
Summary: Improve TProtocol.java
Key: THRIFT-5582
URL: https://issues.apache.org/jira/browse/THRIFT-5582
Project: Thrift
Issue Type: Improvement
Components: Java - Compiler, Java - Library, Kotlin - Compiler
Reporter: Liu Jiayu
Currently Kotlin compiler generates an extension file per package in order to
enhance TProcotol.java and have a clean generated file. The extension methods
are inline only so no impact on the runtime but these methods can further be
helpful for Java libraries.
We can improve the TProtocol.java by incorporating these methods, and also
clean up the code a bit by splitting into read and write interfaces.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)