diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:12 +0300 |
commit | 49116032d905455a7b1c994e4a696afc885c1e71 (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.h | |
parent | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (diff) | |
download | ydb-49116032d905455a7b1c994e4a696afc885c1e71.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.h')
-rw-r--r-- | contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.h b/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.h index 1808ec45bf..76defbb8cb 100644 --- a/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.h +++ b/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.h @@ -36,26 +36,26 @@ #define GOOGLE_PROTOBUF_COMPILER_JAVA_EXTENSION_H__ #include <map> -#include <string> +#include <string> -#include <google/protobuf/stubs/common.h> +#include <google/protobuf/stubs/common.h> namespace google { namespace protobuf { -class FieldDescriptor; // descriptor.h -namespace compiler { -namespace java { -class Context; // context.h -class ClassNameResolver; // name_resolver.h -} // namespace java -} // namespace compiler -namespace io { -class Printer; // printer.h +class FieldDescriptor; // descriptor.h +namespace compiler { +namespace java { +class Context; // context.h +class ClassNameResolver; // name_resolver.h +} // namespace java +} // namespace compiler +namespace io { +class Printer; // printer.h } -} // namespace protobuf -} // namespace google +} // namespace protobuf +} // namespace google -namespace google { +namespace google { namespace protobuf { namespace compiler { namespace java { @@ -70,19 +70,19 @@ class ExtensionGenerator { virtual void Generate(io::Printer* printer) = 0; - // Returns an estimate of the number of bytes the printed code will compile - // to + // Returns an estimate of the number of bytes the printed code will compile + // to virtual int GenerateNonNestedInitializationCode(io::Printer* printer) = 0; - // Returns an estimate of the number of bytes the printed code will compile - // to + // Returns an estimate of the number of bytes the printed code will compile + // to virtual int GenerateRegistrationCode(io::Printer* printer) = 0; protected: - static void InitTemplateVars( - const FieldDescriptor* descriptor, const TProtoStringType& scope, - bool immutable, ClassNameResolver* name_resolver, - std::map<TProtoStringType, TProtoStringType>* vars_pointer); + static void InitTemplateVars( + const FieldDescriptor* descriptor, const TProtoStringType& scope, + bool immutable, ClassNameResolver* name_resolver, + std::map<TProtoStringType, TProtoStringType>* vars_pointer); private: GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ExtensionGenerator); @@ -101,7 +101,7 @@ class ImmutableExtensionGenerator : public ExtensionGenerator { protected: const FieldDescriptor* descriptor_; ClassNameResolver* name_resolver_; - TProtoStringType scope_; + TProtoStringType scope_; private: GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ImmutableExtensionGenerator); @@ -110,6 +110,6 @@ class ImmutableExtensionGenerator : public ExtensionGenerator { } // namespace java } // namespace compiler } // namespace protobuf -} // namespace google +} // namespace google #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_EXTENSION_H__ |