code: private static void addLocaleField(TypeSpec.Builder type, String name, LocaleID locale) {
      FieldSpec.Builder field = FieldSpec.builder(CLDR_LOCALE_IF, name, PUBLIC, STATIC, FINAL)
          .initializer("new $T($S, $S, $S, $S)",
              META_LOCALE,
              strOrNull(locale.language), 
              strOrNull(locale.script),
              strOrNull(locale.territory),
              strOrNull(locale.variant));
      type.addField(field.build());
    }
docs: Create a public locale field.