code: public ClassGraph whitelistJars(final String... jarLeafNames) {
          for (final String jarLeafName : jarLeafNames) {
              final String leafName = JarUtils.leafName(jarLeafName);
              if (!leafName.equals(jarLeafName)) {
                  throw new IllegalArgumentException("Can only whitelist jars by leafname: " + jarLeafName);
              }
              scanSpec.jarWhiteBlackList.addToWhitelist(leafName);
          }
          return this;
      }
docs: Whitelist one or more jars. This will cause only the whitelisted jars to be scanned.
  
  @param jarLeafNames
  The leafnames of the jars that should be scanned (e.g. {@code "mylib.jar"}). May contain a
  wildcard glob ({@code "mylib-*.jar"}).
  @return this (for method chaining).