Made sure GetRootAs..() functions are generated for all Java tables.
authorWouter van Oortmerssen <wvo@google.com>
Wed, 3 Sep 2014 22:34:40 +0000 (15:34 -0700)
committerWouter van Oortmerssen <wvo@google.com>
Wed, 3 Sep 2014 22:34:40 +0000 (15:34 -0700)
commit9f506f57c0eab871b0b3f6e47b112afd58c966e8
treeb8787a2e29ae9d554d43c192418199e80803ffa0
parent57b614587c45ce5751ef5533c34131273be01cf2
Made sure GetRootAs..() functions are generated for all Java tables.

Previously they were only generated for the root_type, making it
impossible to use the other types in the file as the root of a buffer.

Bug: 17206174
Change-Id: Ie71bed42ac3b22dcceae6385cbd5846c37e5f1b8
Tested: on Linux
src/idl_gen_java.cpp