public ClassGraph whitelistClasspathElementsContainingResourcePath(final String... resourcePaths) {
        for (final String resourcePath : resourcePaths) {
            final String resourcePathNormalized = WhiteBlackList.normalizePath(resourcePath);
            scanSpec.classpathElementResourcePathWhiteBlackList.addToWhitelist(resourcePathNormalized);
        }
        return this;
    }
public ClassGraph whitelistClasspathElementsContainingResourcePath ( final String ... resourcePaths ) { for ( final String resourcePath : resourcePaths ) { final String resourcePathNormalized = WhiteBlackList . normalizePath ( resourcePath ) ; scanSpec . classpathElementResourcePathWhiteBlackList . addToWhitelist ( resourcePathNormalized ) ; } return this ; }
Whitelist classpath elements based on resource paths. Only classpath elements that contain resources with
paths matching the whitelist will be scanned.

@param resourcePaths
The resource paths, any of which must be present in a classpath element for the classpath element
to be scanned. May contain a wildcard glob ({@code '*'}).
@return this (for method chaining).