private static InstrumentationClassFinder createInstrumentationClassFinder(final String classPath, boolean shouldIncludeJavaRuntime) throws MalformedURLException {
    final ArrayList<URL> urls = new ArrayList<>();
    if (shouldIncludeJavaRuntime) {
      final URL jrt = tryGetJrtURL();
      if (jrt != null) {
        urls.add(jrt);
      }
    }
    for (StringTokenizer tokenizer = new StringTokenizer(classPath, File.pathSeparator); tokenizer.hasMoreTokens();) {
      final String s = tokenizer.nextToken();
      urls.add(new File(s).toURI().toURL());
    }
    final URL[] urlsArr = urls.toArray(new URL[0]);
    return new InstrumentationClassFinder(urlsArr);
  }
private static InstrumentationClassFinder createInstrumentationClassFinder(final String classPath, boolean shouldIncludeJavaRuntime)