docs: public static URL getResource(String resource, Class<?> context, boolean checkParent)
      {
          URL url = Thread.currentThread().getContextClassLoader().getResource(resource);
          if (url != null)
              return url;
  
          if (context != null)
          {
              ClassLoader loader = context.getClassLoader();
              while (loader != null)
              {
                  url = loader.getResource(resource);
                  if (url != null)
                      return url;
                  loader = checkParent ? loader.getParent() : null;
              }
          }
  
          return ClassLoader.getSystemResource(resource);
      }