private List<com.baidu.unbiz.fluentvalidator.Validator> getAddOnValidators(FluentValid fluentValid) {
        Class<? extends com.baidu.unbiz.fluentvalidator.Validator>[] addOnValidatorClasses;
        List<com.baidu.unbiz.fluentvalidator.Validator> addOnValidators = null;
        if (!ArrayUtil.isEmpty(fluentValid.value())) {
            LOGGER.debug(String.format("{} additional validators found"), fluentValid.value().length);
            addOnValidatorClasses = fluentValid.value();
            addOnValidators = CollectionUtil.createArrayList(fluentValid.value().length);
            for (Class<? extends com.baidu.unbiz.fluentvalidator.Validator> addOnValidatorClass :
                    addOnValidatorClasses) {
                List<?> beans = registry.findByType(addOnValidatorClass);
                if (!CollectionUtil.isEmpty(beans)) {
                    addOnValidators.add((com.baidu.unbiz.fluentvalidator.Validator) beans.get(0));
                }
            }
        }
        return addOnValidators;
    }
private List < com . baidu . unbiz . fluentvalidator . Validator > getAddOnValidators ( FluentValid fluentValid ) { Class < ? extends com . baidu . unbiz . fluentvalidator . Validator > [ ] addOnValidatorClasses ; List < com . baidu . unbiz . fluentvalidator . Validator > addOnValidators = null ; if ( ! ArrayUtil . isEmpty ( fluentValid . value ( ) ) ) { LOGGER . debug ( String . format ( "{} additional validators found" ) , fluentValid . value ( ) . length ) ; addOnValidatorClasses = fluentValid . value ( ) ; addOnValidators = CollectionUtil . createArrayList ( fluentValid . value ( ) . length ) ; for ( Class < ? extends com . baidu . unbiz . fluentvalidator . Validator > addOnValidatorClass : addOnValidatorClasses ) { List < ? > beans = registry . findByType ( addOnValidatorClass ) ; if ( ! CollectionUtil . isEmpty ( beans ) ) { addOnValidators . add ( ( com . baidu . unbiz . fluentvalidator . Validator ) beans . get ( 0 ) ) ; } } } return addOnValidators ; }
将参数注解上的{@link FluentValid}内的<code>value</code>设置的{@link com.baidu.unbiz.fluentvalidator.Validator}在上下文中查询，返回列表

@param fluentValid 参数上的注解装饰

@return 验证器列表