类 AnnotationClassFilter

    • 构造器详细资料

      • AnnotationClassFilter

        public AnnotationClassFilter​(Class<? extends Annotation> annotationType)
        Create a new AnnotationClassFilter for the given annotation type.
        参数:
        annotationType - the annotation type to look for
      • AnnotationClassFilter

        public AnnotationClassFilter​(Class<? extends Annotation> annotationType,
                                     boolean checkInherited)
        Create a new AnnotationClassFilter for the given annotation type.
        参数:
        annotationType - the annotation type to look for
        checkInherited - whether to explicitly check the superclasses and interfaces for the annotation type as well (even if the annotation type is not marked as inherited itself)