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