docs: private void init(final Locale locale) {
          Class<?> c;
  
          try {
              c = Class.forName("com.ibm.icu.text.Collator");
          } catch (final Exception e) {
              c = Collator.class;
          }
  
          try {
              final Method m = c.getDeclaredMethod("getInstance",
                      Locale.class);
              collatorInstance = m.invoke(null, locale);
              compareMethod = c.getDeclaredMethod("compare", Object.class, Object.class);
          } catch (final Exception e) {
              throw new RuntimeException("Failed to initialize collator: " + e.getMessage(), e);
          }
      }