接口 ReflectionUtils.FieldFilter

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

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

    • matches

      boolean matches(Field field)
      Determine whether the given field matches.
      参数:
      field - the field 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 FieldFilter
      返回:
      a composite FieldFilter
      抛出:
      IllegalArgumentException - if the FieldFilter argument is null
      从以下版本开始:
      4.0