code: public static String getClassName(Descriptor descriptor, ProtoFlavor flavor) {
      return getClassName(classNameWithoutPackage(descriptor, flavor), descriptor.getFile(), flavor);
    }
docs: Gets the fully qualified name for generated classes in Java convention. Nested classes will be
  separated using '$' instead of '.'.