src/main/java/nonapi/io/github/classgraph/WhiteBlackList.java
@Override
        public boolean whitelistHasPrefix(final String str) {
            if (whitelist == null) {
                return false;
            }
            for (final String w : whitelist) {
                if (w.startsWith(str)) {
                    return true;
                }
            }
            return false;
        }
/**
         * Check if the requested string is a prefix of a whitelisted string.
         *
         * @param str
         *            the string to test
         * @return true if the string is a prefix of a whitelisted string
         */
Check if the requested string is a prefix of a whitelisted string.
@param str
the string to test
@return true if the string is a prefix of a whitelisted string
Check if the requested string is a prefix of a whitelisted string . @param str the string to test @return true if the string is a prefix of a whitelisted string
@Override
        public boolean whitelistHasPrefix(final String str) {
            if (whitelist == null) {
                return false;
            }
            for (final String w : whitelist) {
                if (w.startsWith(str)) {
                    return true;
                }
            }
            return false;
        }
@ Override public boolean whitelistHasPrefix ( final String str ) { if ( whitelist == null ) { return false ; } for ( final String w : whitelist ) { if ( w . startsWith ( str ) ) { return true ; } } return false ; }
Check if the requested string is a prefix of a whitelisted string.
Check if the requested string is a prefix of a whitelisted string .