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的使用
修饰符和类型方法说明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.static MergedAnnotations.SearchMergedAnnotations.search(MergedAnnotations.SearchStrategy searchStrategy) Find merged annotations using the suppliedMergedAnnotations.SearchStrategyand a fluent API for configuring and performing the search.