接口 AutoTableAnnotationFinder


public interface AutoTableAnnotationFinder
作者:
don
  • 方法详细资料

    • find

      default <A extends Annotation> A find(Class<?> clazz, Class<A> annotationClass)
      查找注解
      类型参数:
      A - 注解类型
      参数:
      clazz - 查找的目标类
      annotationClass - 查找的注解
      返回:
      注解
    • find

      default <A extends Annotation> A find(Method method, Class<A> annotationClass)
      查找注解
      类型参数:
      A - 注解类型
      参数:
      method - 查找的目标方法
      annotationClass - 查找的注解
      返回:
      注解
    • find

      default <A extends Annotation> A find(Field field, Class<A> annotationClass)
      查找注解
      类型参数:
      A - 注解类型
      参数:
      field - 查找的目标字段
      annotationClass - 查找的注解
      返回:
      注解
    • exist

      default <A extends Annotation> boolean exist(Class<?> clazz, Class<A> annotationClass)
      判断是否存在注解
      类型参数:
      A - 注解类型
      参数:
      clazz - 查找的目标类
      annotationClass - 查找的注解
      返回:
      是否存在
    • exist

      default <A extends Annotation> boolean exist(Method method, Class<A> annotationClass)
      判断是否存在注解
      类型参数:
      A - 注解类型
      参数:
      method - 查找的目标方法
      annotationClass - 查找的注解
      返回:
      是否存在
    • exist

      default <A extends Annotation> boolean exist(Field field, Class<A> annotationClass)
      判断是否存在注解
      类型参数:
      A - 注解类型
      参数:
      field - 查找的目标字段
      annotationClass - 查找的注解
      返回:
      是否存在