インターフェースの使用
org.springframework.core.annotation.MergedAnnotationSelector
パッケージ
説明
アノテーション、メタアノテーション、属性オーバーライドを含むマージされたアノテーションのコアサポートパッケージ。
org.springframework.core.annotation 内の MergedAnnotationSelector 使用
修飾子と型メソッド説明static <A extends AnnotationSE>
MergedAnnotationSelector<A>MergedAnnotationSelectors.firstDirectlyDeclared()
可能な場合、最初に直接宣言されたアノテーションを選択します。static <A extends AnnotationSE>
MergedAnnotationSelector<A>MergedAnnotationSelectors.nearest()
最も近いアノテーションを選択します。修飾子と型メソッド説明<A extends AnnotationSE>
MergedAnnotation<A>MergedAnnotations.get
(ClassSE<A> annotationType, PredicateSE<? super MergedAnnotation<A>> predicate, MergedAnnotationSelector<A> selector) 指定した型の一致するアノテーションまたはメタアノテーションを取得します。存在しない場合はMergedAnnotation.missing()
を取得します。<A extends AnnotationSE>
MergedAnnotation<A>MergedAnnotations.get
(StringSE annotationType, PredicateSE<? super MergedAnnotation<A>> predicate, MergedAnnotationSelector<A> selector) 指定した型の一致するアノテーションまたはメタアノテーションを取得します。存在しない場合はMergedAnnotation.missing()
を取得します。