接口的使用
com.walker.infrastructure.utils.ReflectionUtils.FieldFilter
-
com.walker.infrastructure.utils中ReflectionUtils.FieldFilter的使用
修饰符和类型字段说明static ReflectionUtils.FieldFilterReflectionUtils.COPYABLE_FIELDSPre-built FieldFilter that matches all non-static, non-final fields.修饰符和类型方法说明static voidReflectionUtils.doWithFields(Class<?> clazz, ReflectionUtils.FieldCallback fc, ReflectionUtils.FieldFilter ff) Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.