docs: public static String canonicalClassName(Class<?> c, Package pkg) {
      String name = c.getName();
      if(pkg != null) {
        final String pkgname = pkg.getName();
        if(name.length() > pkgname.length() && name.startsWith(pkgname) && name.charAt(pkgname.length()) == '.') {
          name = name.substring(pkgname.length() + 1);
        }
      }
      if(name.endsWith(ELKIServiceRegistry.FACTORY_POSTFIX)) {
        name = name.substring(0, name.length() - ELKIServiceRegistry.FACTORY_POSTFIX.length());
      }
      return name;
    }