Eric-Shi / protobuf-java-format

Automatically exported from code.google.com/p/protobuf-java-format
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

MessageLite interface support #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This may not be possible, but could the MessageLite interface be supported?

XmlFormat.print(Message, Appendable)
+ XmlFormat.print(MessageLite, Appendable)

Original issue reported on code.google.com by tj.rothw...@gmail.com on 24 Jan 2011 at 6:00

GoogleCodeExporter commented 8 years ago

Original comment by eliran.bivas on 21 Apr 2011 at 2:36

GoogleCodeExporter commented 8 years ago

Original comment by eliran.bivas on 3 May 2011 at 1:38

GoogleCodeExporter commented 8 years ago
The protobuf documentation states that the Lite version doesn't have some 
features, one of them is reflections. If I understand correctly, 
protobuf-java-format utilizes reflections to do the conversion. So I don't 
think it is possible to implement the feature you're asking for.

I'm not the developer though.

Original comment by d.kulin...@gmail.com on 14 Nov 2011 at 8:23