combine javaFullName methods
This commit is contained in:
parent
518769247b
commit
dba99ca17a
1 changed files with 1 additions and 5 deletions
|
@ -199,11 +199,7 @@ private:
|
||||||
std::unordered_set<uint64_t> usedImports;
|
std::unordered_set<uint64_t> usedImports;
|
||||||
bool hasInterfaces = false;
|
bool hasInterfaces = false;
|
||||||
|
|
||||||
kj::StringTree javaFullName(Schema schema) {
|
kj::StringTree javaFullName(Schema schema, kj::Maybe<InterfaceSchema::Method> method = nullptr) {
|
||||||
return javaFullName(schema, nullptr);
|
|
||||||
}
|
|
||||||
|
|
||||||
kj::StringTree javaFullName(Schema schema, kj::Maybe<InterfaceSchema::Method> method) {
|
|
||||||
auto node = schema.getProto();
|
auto node = schema.getProto();
|
||||||
if (node.getScopeId() == 0) {
|
if (node.getScopeId() == 0) {
|
||||||
usedImports.insert(node.getId());
|
usedImports.insert(node.getId());
|
||||||
|
|
Loading…
Reference in a new issue