mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 12:05:50 +00:00
* Started applying Namer to Java. - Java didn't previously have keyword escaping - Added prefixes and suffixes to the Namer methods - TODO: migrate previous namer applications to using pre/suffixes - Java methods / functions are interesting, it's mostly camel case except when it involves a struct/enum name. That section is Keep case - I changed the casing for some internal arguments/variables. This violates the "don't change genfiles" rule that I've been using but it shouldn't break user code. - LegacyJavaMethod2 is interesting. Basically, Java has a "mixed" case convention where it's camel case, except for the type/variant name itself, which is keep case. So a type foo_bar would become getfoo_bar instead of getFooBar. * small fix * Namer for Namespaces * removed unused parameter, add const everywhere * Remove unused argument * More unused args * Use mutable reference out parameters * Made more strings const and inlined const empty strings * remove do not submit Co-authored-by: Casper Neo <cneo@google.com>
63 KiB
63 KiB