1 // Protocol Buffers - Google's data interchange format 2 // Copyright 2024 Google Inc. All rights reserved. 3 // 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file or at 6 // https://developers.google.com/open-source/licenses/bsd 7 8 #ifndef GOOGLE_PROTOBUF_COMPILER_JAVA_IMMUTABLE_MAKE_FIELD_GENS_H__ 9 #define GOOGLE_PROTOBUF_COMPILER_JAVA_IMMUTABLE_MAKE_FIELD_GENS_H__ 10 11 #include "google/protobuf/compiler/java/context.h" 12 #include "google/protobuf/compiler/java/generator_common.h" 13 #include "google/protobuf/compiler/java/full/field_generator.h" 14 #include "google/protobuf/descriptor.h" 15 16 namespace google { 17 namespace protobuf { 18 namespace compiler { 19 namespace java { 20 21 FieldGeneratorMap<ImmutableFieldGenerator> MakeImmutableFieldGenerators( 22 const Descriptor* descriptor, Context* context); 23 24 } // namespace java 25 } // namespace compiler 26 } // namespace protobuf 27 } // namespace google 28 29 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_IMMUTABLE_MAKE_FIELD_GENS_H__ 30