3
0
Fork 0
android_frameworks_base/tools/streaming_proto/java
Kean Mariotti 804f0134e8 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
2024-04-18 10:54:26 +00:00
..
java_proto_stream_code_generator.cpp
java_proto_stream_code_generator.h
main.cpp