Re-Expose UnderscoresToCapitalizedCamelCase for plugins in OSS.

Fixes [#17439](https://github.com/protocolbuffers/protobuf/issues/17439).

PiperOrigin-RevId: 716070137
pull/19944/head
Protobuf Team Bot 1 month ago committed by Copybara-Service
parent d054e53652
commit 94ae26d5c5
  1. 7
      src/google/protobuf/compiler/java/names.h

@ -125,6 +125,13 @@ PROTOC_EXPORT std::string UnderscoresToCamelCase(
PROTOC_EXPORT std::string UnderscoresToCamelCaseCheckReserved(
const FieldDescriptor* field);
// Requires:
// field != NULL
// Returns:
// Same as UnderscoresToCamelCase, but capitalizes the first letter
PROTOC_EXPORT std::string UnderscoresToCapitalizedCamelCase(
const FieldDescriptor* field);
} // namespace java
} // namespace compiler

Loading…
Cancel
Save