code: @Override
      public URL getResource(String name) {
          log.trace("Received request to load resource '{}'", name);
          if (!parentFirst) {
              URL url = findResource(name);
              if (url != null) {
                  log.trace("Found resource '{}' in plugin classpath", name);
                  return url;
              }
  
              log.trace("Couldn't find resource '{}' in plugin classpath. Delegating to parent", name);
  
              return super.getResource(name);
          } else {
              URL url = super.getResource(name);
              if (url != null) {
                  log.trace("Found resource '{}' in parent", name);
                  return url;
              }
  
              log.trace("Couldn't find resource '{}' in parent", name);
  
              return findResource(name);
          }
      }
docs: Load the named resource from this plugin.
  By default, this implementation checks the plugin's classpath first then delegates to the parent.
  Use {@link #parentFirst} to change the loading strategy.
  
  @param name the name of the resource.
  @return the URL to the resource, {@code null} if the resource was not found.