public void checkPoint(ValidationData param, ValidationRule rule, Object bodyObj, Object standardValue) {
        //check
        Object value = param.getValue(bodyObj);
        BaseValidationCheck checker = this.validationRuleStore.getValidationChecker(rule);
        if ((value != null && standardValue != null) || rule.getAssistType().isNullable()) {
            boolean valid = checker.check(value, standardValue);

            if (!valid) {
                this.callExcpetion(param, rule, value, standardValue);
            }

        }
        //replace value
        Object replaceValue = checker.replace(value, standardValue, param);
        if (replaceValue != null && replaceValue != value) {
            param.replaceValue(bodyObj, replaceValue);
        }
    }
public void checkPoint ( ValidationData param , ValidationRule rule , Object bodyObj , Object standardValue ) { Object value = param . getValue ( bodyObj ) ; BaseValidationCheck checker = this . validationRuleStore . getValidationChecker ( rule ) ; if ( ( value != null && standardValue != null ) || rule . getAssistType ( ) . isNullable ( ) ) { boolean valid = checker . check ( value , standardValue ) ; if ( ! valid ) { this . callExcpetion ( param , rule , value , standardValue ) ; } } Object replaceValue = checker . replace ( value , standardValue , param ) ; if ( replaceValue != null && replaceValue != value ) { param . replaceValue ( bodyObj , replaceValue ) ; } }
Check point.

@param param         the param
@param rule          the rule
@param bodyObj       the body obj
@param standardValue the standard value