接口 ReflectionUtils.MethodFilter

封闭类:
ReflectionUtils
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public static interface ReflectionUtils.MethodFilter
Callback optionally used to filter methods to be operated on by a method callback.
  • 方法详细资料

    • matches

      boolean matches(Method method)
      Determine whether the given method matches.
      参数:
      method - the method to check
    • and

      Create a composite filter based on this filter and the provided filter.

      If this filter does not match, the next filter will not be applied.

      参数:
      next - the next MethodFilter
      返回:
      a composite MethodFilter
      抛出:
      IllegalArgumentException - if the MethodFilter argument is null
      从以下版本开始:
      4.0