public class FieldAnnotationMatcher extends java.lang.Object implements FieldMatcher
匹配Field的注解的实现
| Constructor and Description |
|---|
FieldAnnotationMatcher(java.lang.Class<?>... annotationClasses)
使用并集判断逻辑来匹配.
|
FieldAnnotationMatcher(cn.featherfly.common.operator.LogicOperator logic,
java.lang.Class<?>... annotationClasses)
使用指定的判断逻辑来匹配.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(java.lang.reflect.Field field) |
public FieldAnnotationMatcher(java.lang.Class<?>... annotationClasses)
annotationClasses - 注解类型public FieldAnnotationMatcher(cn.featherfly.common.operator.LogicOperator logic,
java.lang.Class<?>... annotationClasses)
LogicOperatorlogic - 判断逻辑annotationClasses - 注解类型