protected void checkResourcePathWhiteBlackList ( final String relativePath , final LogNode log ) { // Whitelist/blacklist classpath elements based on file resource paths if ( ! scanSpec . classpathElementResourcePathWhiteBlackList . whitelistAndBlacklistAreEmpty ( ) ) { if ( scanSpec . classpathElementResourcePathWhiteBlackList . isBlacklisted ( relativePath ) ) { if ( log != null ) { log . log ( "Reached blacklisted classpath element resource path, stopping scanning: " + relativePath ) ; } skipClasspathElement = true ; return ; } if ( scanSpec . classpathElementResourcePathWhiteBlackList . isSpecificallyWhitelisted ( relativePath ) ) { if ( log != null ) { log . log ( "Reached specifically whitelisted classpath element resource path: " + relativePath ) ; } containsSpecificallyWhitelistedClasspathElementResourcePath = true ; } } }
Check relativePath against classpathElementResourcePathWhiteBlackList .