diff options
Diffstat (limited to 'src/google/protobuf/compiler/java/java_enum.h')
-rw-r--r-- | src/google/protobuf/compiler/java/java_enum.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/google/protobuf/compiler/java/java_enum.h b/src/google/protobuf/compiler/java/java_enum.h index a0d91f5..05ece1f 100644 --- a/src/google/protobuf/compiler/java/java_enum.h +++ b/src/google/protobuf/compiler/java/java_enum.h @@ -1,6 +1,6 @@ // Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. -// https://developers.google.com/protocol-buffers/ +// http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are @@ -41,12 +41,6 @@ namespace google { namespace protobuf { - namespace compiler { - namespace java { - class Context; // context.h - class ClassNameResolver; // name_resolver.h - } - } namespace io { class Printer; // printer.h } @@ -58,9 +52,7 @@ namespace java { class EnumGenerator { public: - explicit EnumGenerator(const EnumDescriptor* descriptor, - bool immutable_api, - Context* context); + explicit EnumGenerator(const EnumDescriptor* descriptor); ~EnumGenerator(); void Generate(io::Printer* printer); @@ -81,13 +73,6 @@ class EnumGenerator { }; vector<Alias> aliases_; - bool immutable_api_; - - Context* context_; - ClassNameResolver* name_resolver_; - - bool CanUseEnumValues(); - GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(EnumGenerator); }; |