code: private boolean isJarFile(URL resourceLocation) {
  
      String resourceLocationString = resourceLocation.toExternalForm();
  
      return resourceLocationString.startsWith("jar:file:") || resourceLocationString.contains(".jar!");
    }
docs: /* (non-Javadoc)