src/main/java/com/buschmais/jqassistant/plugin/common/api/scanner/filesystem/FilePatternMatcher.java
public boolean accepts(String path) {
        boolean result;
        if (includeFilePatterns != null) {
            result = matches(path, includeFilePatterns);
        } else {
            result = true;
        }
        if (excludeFilePatterns != null) {
            result = result && !matches(path, excludeFilePatterns);
        }
        return result;
    }
public boolean accepts(String path) {
        boolean result;
        if (includeFilePatterns != null) {
            result = matches(path, includeFilePatterns);
        } else {
            result = true;
        }
        if (excludeFilePatterns != null) {
            result = result && !matches(path, excludeFilePatterns);
        }
        return result;
    }
public boolean accepts ( String path ) { boolean result ; if ( includeFilePatterns != null ) { result = matches ( path , includeFilePatterns ) ; } else { result = true ; } if ( excludeFilePatterns != null ) { result = result && ! matches ( path , excludeFilePatterns ) ; } return result ; }
Determines if the given path matches the configured include and exclude
patterns.

NOTE: The include pattern is evaluated before the exclude pattern.

@param path
The path.
@return <code>true</code> if the path matches.
Determines if the given path matches the configured include and exclude patterns .