接口的使用
cn.taketoday.util.ReflectionUtils.MethodFilter
程序包
说明
Provides core helpers that are not specific to any part of the framework.
Miscellaneous utility classes, such as utilities for working with strings,
classes, collections, reflection, etc.
-
cn.taketoday.core中ReflectionUtils.MethodFilter的使用
修饰符和类型方法说明MethodIntrospector.filterMethods(Class<?> targetType, ReflectionUtils.MethodFilter methodFilter) Select methods on the given target type based on a filter. -
cn.taketoday.util中ReflectionUtils.MethodFilter的使用
修饰符和类型字段说明static final ReflectionUtils.MethodFilterReflectionUtils.USER_DECLARED_METHODSPre-built MethodFilter that matches all non-bridge non-synthetic methods which are not declared onjava.lang.Object.修饰符和类型方法说明default ReflectionUtils.MethodFilterReflectionUtils.MethodFilter.and(ReflectionUtils.MethodFilter next) Create a composite filter based on this filter and the provided filter.修饰符和类型方法说明default ReflectionUtils.MethodFilterReflectionUtils.MethodFilter.and(ReflectionUtils.MethodFilter next) Create a composite filter based on this filter and the provided filter.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).static Method[]ReflectionUtils.getUniqueDeclaredMethods(Class<?> leafClass, ReflectionUtils.MethodFilter mf) Get the unique set of declared methods on the leaf class and all superclasses.