@Override
    public boolean matches(String fileName) {
        // Special case: if no classes or packages have been defined,
        // then the screener matches all class files.
        if (patternList.isEmpty()) {
            return true;
        }

        LOG.debug("Matching: {}", fileName);

        // Scan through list of regexes
        for (Matcher matcher : patternList) {
            matcher.reset(fileName);
            if (matcher.find()) {
                LOG.debug("\\tTrying [{}]: yes!", matcher.pattern());
                return true;
            }
            LOG.debug("\\tTrying [{}]: no", matcher.pattern());
        }
        return false;
    }
@ Override public boolean matches ( String fileName ) { if ( patternList . isEmpty ( ) ) { return true ; } LOG . debug ( "Matching: {}" , fileName ) ; for ( Matcher matcher : patternList ) { matcher . reset ( fileName ) ; if ( matcher . find ( ) ) { LOG . debug ( "\\tTrying [{}]: yes!" , matcher . pattern ( ) ) ; return true ; } LOG . debug ( "\\tTrying [{}]: no" , matcher . pattern ( ) ) ; } return false ; }
/*
(non-Javadoc)

@see edu.umd.cs.findbugs.IClassScreener#matches(java.lang.String)