private void read(@NotNull Locale locale, @Nls String[] names) throws IOException, SAXException {
      @NonNls String l = locale.getLanguage();
      if (!locale.getScript().isEmpty()) {
        l += "_" + locale.getScript();
      }
      if (!locale.getCountry().isEmpty()) {
        l += "_" + locale.getCountry();
      }
      byte[] annotations = ResourceUtil.getResourceAsBytes("data/cldr/annotations/" + l + ".xml", EmojiService.class.getClassLoader());
      if (annotations != null) {
        read(annotations, locale, names);
      }
      byte[] derived = ResourceUtil.getResourceAsBytes("data/cldr/annotationsDerived/" + l + ".xml", EmojiService.class.getClassLoader());
      if (derived != null) {
        read(derived, locale, names);
      }
    }
private void read(@NotNull Locale locale, @Nls String[] names)