接口 MethodIntrospector.MetadataLookup<T>

类型参数:
T - the type of metadata returned
封闭类:
MethodIntrospector
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public static interface MethodIntrospector.MetadataLookup<T>
A callback interface for metadata lookup on a given method.
  • 方法概要

    修饰符和类型
    方法
    说明
    inspect(Method method)
    Perform a lookup on the given method and return associated metadata, if any.
  • 方法详细资料

    • inspect

      @Nullable T inspect(Method method)
      Perform a lookup on the given method and return associated metadata, if any.
      参数:
      method - the method to inspect
      返回:
      non-null metadata to be associated with a method if there is a match, or null for no match