src/main/java/com/itfsw/mybatis/generator/plugins/LombokPlugin.java
@Override
    public boolean validate(List<String> warnings) {
        Properties properties = this.getProperties();

        String builder = properties.getProperty(PRO_BUILDER);
        String allArgsConstructor = properties.getProperty(PRO_ALL_ARGS_CONSTRUCTOR);
        String noArgsConstructor = properties.getProperty(PRO_NO_ARGS_CONSTRUCTOR);

        this.hasBuilder = builder == null ? false : StringUtility.isTrue(builder);
        this.hasAllArgsConstructor = allArgsConstructor == null ? false : StringUtility.isTrue(allArgsConstructor);
        this.hasNoArgsConstructor = noArgsConstructor == null ? false : StringUtility.isTrue(noArgsConstructor);

        return super.validate(warnings);
    }
@Override
    public boolean validate(List<String> warnings) {
        Properties properties = this.getProperties();

        String builder = properties.getProperty(PRO_BUILDER);
        String allArgsConstructor = properties.getProperty(PRO_ALL_ARGS_CONSTRUCTOR);
        String noArgsConstructor = properties.getProperty(PRO_NO_ARGS_CONSTRUCTOR);

        this.hasBuilder = builder == null ? false : StringUtility.isTrue(builder);
        this.hasAllArgsConstructor = allArgsConstructor == null ? false : StringUtility.isTrue(allArgsConstructor);
        this.hasNoArgsConstructor = noArgsConstructor == null ? false : StringUtility.isTrue(noArgsConstructor);

        return super.validate(warnings);
    }
@ Override public boolean validate ( List < String > warnings ) { Properties properties = this . getProperties ( ) ; String builder = properties . getProperty ( PRO_BUILDER ) ; String allArgsConstructor = properties . getProperty ( PRO_ALL_ARGS_CONSTRUCTOR ) ; String noArgsConstructor = properties . getProperty ( PRO_NO_ARGS_CONSTRUCTOR ) ; this . hasBuilder = builder == null ? false : StringUtility . isTrue ( builder ) ; this . hasAllArgsConstructor = allArgsConstructor == null ? false : StringUtility . isTrue ( allArgsConstructor ) ; this . hasNoArgsConstructor = noArgsConstructor == null ? false : StringUtility . isTrue ( noArgsConstructor ) ; return super . validate ( warnings ) ; }
具体执行顺序 http://www.mybatis.org/generator/reference/pluggingIn.html
@param warnings
@return
具体执行顺序 http : // www . mybatis . org / generator / reference / pluggingIn . html