common_code/src/main/java/com/xiongyingqi/utils/code/CodeBuilder.java
private void filterExclude() {
        if (exclude == null || files == null) {
            return;
        }

        Set<File> toExcludes = new HashSet<File>();

        for (File file : files) {
            Matcher matcher = exclude.matcher(file.getPath());
            if (matcher.find()) {
                toExcludes.add(file);
            }
        }
        files.removeAll(toExcludes);
    }
private void filterExclude() {
        if (exclude == null || files == null) {
            return;
        }

        Set<File> toExcludes = new HashSet<File>();

        for (File file : files) {
            Matcher matcher = exclude.matcher(file.getPath());
            if (matcher.find()) {
                toExcludes.add(file);
            }
        }
        files.removeAll(toExcludes);
    }
过滤排除规则