java_gen: add documentation to string-parsing 'of' methods

Reviewer: @wolverineav @carlroth