public class BuiltInStrategy extends AbstractProvider
这个类的实现并不重要,只是为了尽可能降低 annotation 对于实现的依赖 注意:如果不是系统内置的注解,请勿使用这个标识,否则无法找到对应实现 在 hibernate-validator 中使用的是数组,然后默认指定 {},但是缺陷也很明显, 明明是数组,实现却只能是一个
| Constructor and Description |
|---|
BuiltInStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Object |
build(Object object,
Context context)
脱敏
|
build, buildpublic Object build(Object object, Context context)
StrategyProviderobject - 原始内容context - 执行上下文Copyright © 2019. All rights reserved.