commit | 804f0134e8f5e47c59a07a98cf938c84fc85a006 | [log] [tgz] |
---|---|---|
author | Kean Mariotti <keanmariotti@google.com> | Wed Apr 17 07:55:05 2024 +0000 |
committer | Kean Mariotti <keanmariotti@google.com> | Thu Apr 18 10:54:26 2024 +0000 |
tree | 19583e1538dbb8cd79bdd00e5156f8783c5a1d58 | |
parent | 2163c8ae365c6cab3988af86d73c28825183dd22 [diff] |
Avoid outer/inner class name clashes In some cases, protoc-gen-javastream could emit outer classes and inner classes with the same name, which is invalid java. This commit extends protoc-gen-javastream to append an "OuterClass" suffix, if the outer class name clashes with any message. This behavior is consistent with the standard protoc. Bug: 276433199 Test: presubmit Change-Id: I4e92d70c10c4d92d103b00f15b159acc08dffff2