docs: public static String getPackageResource(Class<?> type, String resourceName)
    {
      StringBuilder builder = new StringBuilder();
      builder.append(type.getPackage().getName().replace('.', '/'));
      if(resourceName.charAt(0) != '/') {
        builder.append('/');
      }
      builder.append(resourceName);
      return builder.toString();
    }