webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Static Public Member Functions | |
static< T extends MessageNano > String | print (T message) |
Static helper methods for printing nano protos.
|
inlinestatic |
Returns an text representation of a MessageNano suitable for debugging. The returned string is mostly compatible with Protocol Buffer's TextFormat (as provided by non-nano protocol buffers) – groups (which are deprecated) are output with an underscore name (e.g. foo_bar instead of FooBar) and will thus not parse.
Employs Java reflection on the given object and recursively prints primitive fields, groups, and messages.