接口的使用
org.springframework.util.ReflectionUtils.MethodCallback
使用ReflectionUtils.MethodCallback的程序包 程序包 说明 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.MethodCallback的使用
参数类型为ReflectionUtils.MethodCallback的org.springframework.util中的方法 修饰符和类型 方法 说明 static void
ReflectionUtils. doWithLocalMethods(Class<?> clazz, ReflectionUtils.MethodCallback mc)
Perform the given callback operation on all matching methods of the given class, as locally declared or equivalent thereof (such as default methods on Java 8 based interfaces that the given class implements).static void
ReflectionUtils. doWithMethods(Class<?> clazz, ReflectionUtils.MethodCallback mc)
Perform the given callback operation on all matching methods of the given class and superclasses.static void
ReflectionUtils. doWithMethods(Class<?> clazz, ReflectionUtils.MethodCallback mc, ReflectionUtils.MethodFilter mf)
Perform the given callback operation on all matching methods of the given class and superclasses (or given interface and super-interfaces).