docs: public URL getResource(String name) {
          if (isCorePlugin()) {
              URL url = getCoreResource(name);
              if (url != null &&  IO.verifyURL(url)) {
                  return url;
              }
          }
          if (loadedFrom != null) {
              try {
                  URL url = resourceFromPlugin(loadedFrom, name);
                  LOG.debug("Trying to load {} from {}", name, url);
                  if (IO.verifyURL(url)) {
                      return url;
                  }
              } catch (MalformedURLException e) {
                  assert true;
              }
  
          }
  
          if (classLoaderForResources instanceof URLClassLoader) {
  
              URLClassLoader urlClassLoader = (URLClassLoader) classLoaderForResources;
              LOG.debug("Trying to load {} using URLClassLoader.findResource", name);
              LOG.debug("  from urls: {}", Arrays.asList(urlClassLoader.getURLs()));
              URL url = urlClassLoader.findResource(name);
              if (url == null) {
                  url = urlClassLoader.findResource("/" + name);
              }
              if (IO.verifyURL(url)) {
                  return url;
              }
          }
  
          LOG.debug("Trying to load {} using ClassLoader.getResource", name);
          URL url = classLoaderForResources.getResource(name);
          if (url == null) {
              url = classLoaderForResources.getResource("/" + name);
          }
          if (IO.verifyURL(url)) {
              return url;
          }
  
          return null;
      }