接口的使用
cn.taketoday.util.ReflectionUtils.MethodCallback
-
cn.taketoday.util中ReflectionUtils.MethodCallback的使用
修饰符和类型方法说明static voidReflectionUtils.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 voidReflectionUtils.doWithMethods(Class<?> clazz, ReflectionUtils.MethodCallback mc) Perform the given callback operation on all matching methods of the given class and superclasses.static voidReflectionUtils.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).