#include "google/protobuf/compiler/java/map_field.h"
#include "google/protobuf/io/printer.h"
#include "google/protobuf/compiler/java/context.h"
#include "google/protobuf/compiler/java/doc_comment.h"
#include "google/protobuf/compiler/java/helpers.h"
#include "google/protobuf/compiler/java/name_resolver.h"
#include "google/protobuf/port_def.inc"
namespace google {
namespace protobuf {
namespace compiler {
namespace java {
namespace {
const FieldDescriptor* KeyField(const FieldDescriptor* descriptor) { … }
const FieldDescriptor* ValueField(const FieldDescriptor* descriptor) { … }
std::string TypeName(const FieldDescriptor* field,
ClassNameResolver* name_resolver, bool boxed) { … }
std::string KotlinTypeName(const FieldDescriptor* field,
ClassNameResolver* name_resolver) { … }
std::string WireType(const FieldDescriptor* field) { … }
void SetMessageVariables(
const FieldDescriptor* descriptor, int messageBitIndex, int builderBitIndex,
const FieldGeneratorInfo* info, Context* context,
std::map<std::string, std::string>* variables) { … }
}
ImmutableMapFieldGenerator::ImmutableMapFieldGenerator(
const FieldDescriptor* descriptor, int messageBitIndex, int builderBitIndex,
Context* context)
: … { … }
ImmutableMapFieldGenerator::~ImmutableMapFieldGenerator() { … }
int ImmutableMapFieldGenerator::GetMessageBitIndex() const { … }
int ImmutableMapFieldGenerator::GetBuilderBitIndex() const { … }
int ImmutableMapFieldGenerator::GetNumBitsForMessage() const { … }
int ImmutableMapFieldGenerator::GetNumBitsForBuilder() const { … }
void ImmutableMapFieldGenerator::GenerateInterfaceMembers(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateMembers(io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateBuilderMembers(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateMapGetters(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateKotlinDslMembers(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateFieldBuilderInitializationCode(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateInitializationCode(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateBuilderClearCode(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateMergingCode(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateBuildingCode(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateBuilderParsingCode(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateSerializationCode(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateSerializedSizeCode(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateEqualsCode(
io::Printer* printer) const { … }
void ImmutableMapFieldGenerator::GenerateHashCode(io::Printer* printer) const { … }
std::string ImmutableMapFieldGenerator::GetBoxedType() const { … }
}
}
}
}
#include "google/protobuf/port_undef.inc"