Enum Class的使用
cn.taketoday.core.annotation.MergedAnnotations.SearchStrategy
程序包
说明
Core support package for annotations, meta-annotations, and merged
annotations with attribute overrides.
-
cn.taketoday.core.annotation中MergedAnnotations.SearchStrategy的使用
修饰符和类型字段说明private final MergedAnnotations.SearchStrategyMergedAnnotations.Search.searchStrategyprivate final MergedAnnotations.SearchStrategyTypeMappedAnnotations.searchStrategy修饰符和类型方法说明Returns the enum constant of this class with the specified name.static MergedAnnotations.SearchStrategy[]MergedAnnotations.SearchStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy, related inherited elements.static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy, related inherited elements.static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) Create a newMergedAnnotationsinstance containing all annotations and meta-annotations from the specified element and, depending on theMergedAnnotations.SearchStrategy, related inherited elements.private static MergedAnnotationsMergedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, Predicate<Class<?>> searchEnclosingClass, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) (专用程序包) static MergedAnnotationsTypeMappedAnnotations.from(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, Predicate<Class<?>> searchEnclosingClass, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) (专用程序包) static booleanAnnotationsScanner.isKnownEmpty(AnnotatedElement source, MergedAnnotations.SearchStrategy searchStrategy, Predicate<Class<?>> searchEnclosingClass) private static <C,R> R AnnotationsScanner.process(C context, AnnotatedElement source, MergedAnnotations.SearchStrategy searchStrategy, Predicate<Class<?>> searchEnclosingClass, AnnotationsProcessor<C, R> processor) private static <C,R> R AnnotationsScanner.processClass(C context, Class<?> source, MergedAnnotations.SearchStrategy searchStrategy, Predicate<Class<?>> searchEnclosingClass, AnnotationsProcessor<C, R> processor) private static <C,R> R AnnotationsScanner.processMethod(C context, Method source, MergedAnnotations.SearchStrategy searchStrategy, AnnotationsProcessor<C, R> processor) (专用程序包) static <C,R> R AnnotationsScanner.scan(C context, AnnotatedElement source, MergedAnnotations.SearchStrategy searchStrategy, Predicate<Class<?>> searchEnclosingClass, AnnotationsProcessor<C, R> processor) Scan the hierarchy of the specified element for relevant annotations and call the processor as required.static MergedAnnotations.SearchMergedAnnotations.search(MergedAnnotations.SearchStrategy searchStrategy) Find merged annotations using the suppliedMergedAnnotations.SearchStrategyand a fluent API for configuring and performing the search.限定符构造器说明privateSearch(MergedAnnotations.SearchStrategy searchStrategy) privateTypeMappedAnnotations(AnnotatedElement element, MergedAnnotations.SearchStrategy searchStrategy, Predicate<Class<?>> searchEnclosingClass, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter)