接口 AutoTableAnnotationInterceptor

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

@FunctionalInterface public interface AutoTableAnnotationInterceptor
自动表注解扫描拦截器

注解收集完后,会根据两个注解集合扫描指定的包下的类,本拦截器发生在扫描包之前。

因此,这里可以最终决定扫描哪些注解,排除哪些注解

作者:
don
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    intercept(Set<Class<? extends Annotation>> includeAnnotations, Set<Class<? extends Annotation>> excludeAnnotations)
    拦截器,包含和排斥取交集,即:如果既包含又排斥,则会排除
  • 方法详细资料

    • intercept

      void intercept(Set<Class<? extends Annotation>> includeAnnotations, Set<Class<? extends Annotation>> excludeAnnotations)
      拦截器,包含和排斥取交集,即:如果既包含又排斥,则会排除
      参数:
      includeAnnotations - 包含的注解
      excludeAnnotations - 排除的注解