接口的使用
org.springframework.util.ReflectionUtils.FieldCallback
使用ReflectionUtils.FieldCallback的程序包 程序包 说明 org.springframework.util Miscellaneous utility classes, such as String manipulation utilities, a Log4J configurer, and a state holder for paged lists of objects.org.springframework.util中ReflectionUtils.FieldCallback的使用
参数类型为ReflectionUtils.FieldCallback的org.springframework.util中的方法 修饰符和类型 方法 说明 static void
ReflectionUtils. doWithFields(Class<?> clazz, ReflectionUtils.FieldCallback fc)
Invoke the given callback on all fields in the target class, going up the class hierarchy to get all declared fields.static void
ReflectionUtils. 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.static void
ReflectionUtils. doWithLocalFields(Class<?> clazz, ReflectionUtils.FieldCallback fc)
Invoke the given callback on all locally declared fields in the given class.