インターフェースの使用
org.springframework.core.annotation.AnnotationFilter
パッケージ
説明
アノテーション、メタアノテーション、属性オーバーライドを含むマージされたアノテーションのコアサポートパッケージ。
org.springframework.core.annotation 内の AnnotationFilter 使用
修飾子と型フィールド説明static final AnnotationFilter
AnnotationFilter.ALL
AnnotationFilter
は常に一致し、関連するアノテーション型がまったく存在しないことが予想される場合に使用できます。static final AnnotationFilter
AnnotationFilter.JAVA
static final AnnotationFilter
AnnotationFilter.NONE
使用すべきではありません。static final AnnotationFilter
AnnotationFilter.PLAIN
修飾子と型メソッド説明static MergedAnnotations
MergedAnnotations.from
(ObjectSE source, AnnotationSE[] annotations, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) 指定されたアノテーションから新しいMergedAnnotations
インスタンスを作成します。static MergedAnnotations
MergedAnnotations.from
(AnnotatedElementSE element, MergedAnnotations.SearchStrategy searchStrategy, RepeatableContainers repeatableContainers, AnnotationFilter annotationFilter) 指定された要素からのすべてのアノテーションとメタアノテーション、およびMergedAnnotations.SearchStrategy
に応じて、関連する継承された要素を含む新しいMergedAnnotations
インスタンスを作成します。MergedAnnotations.Search.withAnnotationFilter
(AnnotationFilter annotationFilter) 使用するAnnotationFilter
を構成します。
MergedAnnotations
モデルは常にPLAIN
フィルターに従って lang アノテーションを無視するため (効率上の理由から)