seen.clear();
}
}
private String getNamespace(FileDescriptor fd, Descriptor containing) {
FileOptions o = fd.getOptions();
String p = o.hasJavaPackage()
? o.getJavaPackage()
: fd.getPackage();
String outer;
if (o.hasJavaOuterClassname()) {
outer = o.getJavaOuterClassname();
} else {
outer = new File(fd.getName()).getName();
outer = outer.substring(0, outer.lastIndexOf('.'));
outer = toCamelCase(outer);
}