code: public GroovyResourceLoader createGroovyResourceLoader(final ResourceLoader resourceLoader) {
      checkNotNull(resourceLoader);
  
      return new GroovyResourceLoader()
      {
        @Override
        public URL loadGroovySource(final String name) throws MalformedURLException {
          return resourceLoader.loadResource(name);
        }
      };
    }
docs: Creates a {@link GroovyResourceLoader} from a {@link ResourceLoader}.