| Index: third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc
|
| ===================================================================
|
| --- third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc (revision 216642)
|
| +++ third_party/protobuf/src/google/protobuf/compiler/java/java_service.cc (working copy)
|
| @@ -33,6 +33,7 @@
|
| // Sanjay Ghemawat, Jeff Dean, and others.
|
|
|
| #include <google/protobuf/compiler/java/java_service.h>
|
| +#include <google/protobuf/compiler/java/java_doc_comment.h>
|
| #include <google/protobuf/compiler/java/java_helpers.h>
|
| #include <google/protobuf/io/printer.h>
|
| #include <google/protobuf/descriptor.pb.h>
|
| @@ -50,6 +51,7 @@
|
|
|
| void ServiceGenerator::Generate(io::Printer* printer) {
|
| bool is_own_file = descriptor_->file()->options().java_multiple_files();
|
| + WriteServiceDocComment(printer, descriptor_);
|
| printer->Print(
|
| "public $static$ abstract class $classname$\n"
|
| " implements com.google.protobuf.Service {\n",
|
| @@ -163,6 +165,7 @@
|
| void ServiceGenerator::GenerateAbstractMethods(io::Printer* printer) {
|
| for (int i = 0; i < descriptor_->method_count(); i++) {
|
| const MethodDescriptor* method = descriptor_->method(i);
|
| + WriteMethodDocComment(printer, method);
|
| GenerateMethodSignature(printer, method, IS_ABSTRACT);
|
| printer->Print(";\n\n");
|
| }
|
|
|