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

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

        for (File file : files) {
            Matcher matcher = include.matcher(file.getPath());
            if (matcher.find()) {
                toIncludes.add(file);
            }
        }
        this.files = toIncludes;
    }
private void filterInclude() {
        if (include == null || files == null) {
            return;
        }

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

        for (File file : files) {
            Matcher matcher = include.matcher(file.getPath());
            if (matcher.find()) {
                toIncludes.add(file);
            }
        }
        this.files = toIncludes;
    }
private void filterInclude ( ) { if ( include == null || files == null ) { return ; } Set < File > toIncludes = new HashSet < File > ( ) ; for ( File file : files ) { Matcher matcher = include . matcher ( file . getPath ( ) ) ; if ( matcher . find ( ) ) { toIncludes . add ( file ) ; } } this . files = toIncludes ; }
过滤包含规则
过滤包含规则