common_code/src/main/java/com/xiongyingqi/utils/code/CodeProcessor.java
private void checkAnnotations() {
        if (!builder.isRemoveAnnotations()) {
            return;
        }
        Matcher matcher = PATTERN_FIND_ANNOTAION.matcher(content);
        while (matcher.find()) {
            final String annotation = matcher.group();
//            StringBuilder builder = new StringBuilder(annotation);
//            for (String codeFragment : this.builder.getCodeFragments()) {
//                builder.append(StringHelper.line());
//                builder.append(codeFragment);
//            }
            content = StringHelper.replaceFirst(content, annotation, "");
            EntityHelper.print(content);
        }
    }
private void checkAnnotations() {
        if (!builder.isRemoveAnnotations()) {
            return;
        }
        Matcher matcher = PATTERN_FIND_ANNOTAION.matcher(content);
        while (matcher.find()) {
            final String annotation = matcher.group();
//            StringBuilder builder = new StringBuilder(annotation);
//            for (String codeFragment : this.builder.getCodeFragments()) {
//                builder.append(StringHelper.line());
//                builder.append(codeFragment);
//            }
            content = StringHelper.replaceFirst(content, annotation, "");
            EntityHelper.print(content);
        }
    }
private void checkAnnotations ( ) { if ( ! builder . isRemoveAnnotations ( ) ) { return ; } Matcher matcher = PATTERN_FIND_ANNOTAION . matcher ( content ) ; while ( matcher . find ( ) ) { final String annotation = matcher . group ( ) ; //            StringBuilder builder = new StringBuilder(annotation); //            for (String codeFragment : this.builder.getCodeFragments()) { //                builder.append(StringHelper.line()); //                builder.append(codeFragment); //            } content = StringHelper . replaceFirst ( content , annotation , "" ) ; EntityHelper . print ( content ) ; } }
-------------------------- 移除注解 --------------------------
-------------------------- 移除注解 --------------------------