インターフェースの使用
jakarta.enterprise.lang.model.AnnotationInfo
AnnotationInfo を使用するパッケージ パッケージ 説明 jakarta.enterprise.inject.build.compatible.spi ビルド互換拡張機能 SPI。jakarta.enterprise.lang.model アノテーションとアノテーションターゲットを表す言語モデルのコアインターフェース。jakarta.enterprise.inject.build.compatible.spi 内の AnnotationInfo 使用
AnnotationInfo を返す jakarta.enterprise.inject.build.compatible.spi のメソッド 修飾子と型 メソッド 説明 AnnotationInfo
AnnotationBuilder. build()
このビルダーの以前のメソッド呼び出しによって定義されたすべてのアノテーションメンバーを含むAnnotationInfo
を返します。型 AnnotationInfo の引数を持つ型を返す jakarta.enterprise.inject.build.compatible.spi のメソッド 修飾子と型 メソッド 説明 CollectionSE<AnnotationInfo>
InterceptorInfo. interceptorBindings()
このインターセプターで宣言されたインターセプターバインディングアノテーションのセットを返します。CollectionSE<AnnotationInfo>
StereotypeInfo. interceptorBindings()
このステレオタイプによって定義されたインターセプターバインディングアノテーションのセットを返します。CollectionSE<AnnotationInfo>
BeanInfo. qualifiers()
AnnotationInfo
として表される、この Bean の修飾子のコレクションを返します。CollectionSE<AnnotationInfo>
InjectionPointInfo. qualifiers()
AnnotationInfo
として表される、このインジェクションポイントで宣言された修飾子のコレクションを返します。CollectionSE<AnnotationInfo>
ObserverInfo. qualifiers()
AnnotationInfo
として表される、観測されたイベント修飾子のコレクションを返します。型 AnnotationInfo のパラメーターを持つ jakarta.enterprise.inject.build.compatible.spi のメソッド 修飾子と型 メソッド 説明 ClassConfig
ClassConfig. addAnnotation(AnnotationInfo annotation)
指定されたアノテーションをこのクラスに追加します。DeclarationConfig
DeclarationConfig. addAnnotation(AnnotationInfo annotation)
指定されたアノテーションをこの宣言に追加します。FieldConfig
FieldConfig. addAnnotation(AnnotationInfo annotation)
指定されたアノテーションをこのフィールドに追加します。MethodConfig
MethodConfig. addAnnotation(AnnotationInfo annotation)
指定されたアノテーションをこのメソッドに追加します。ParameterConfig
ParameterConfig. addAnnotation(AnnotationInfo annotation)
指定されたアノテーションをこのメソッドパラメーターに追加します。AnnotationBuilder
AnnotationBuilder. member(StringSE name, AnnotationInfo value)
指定されたname
を持つアノテーション値のアノテーションメンバーを追加します。AnnotationBuilder
AnnotationBuilder. member(StringSE name, AnnotationInfo[] values)
指定されたname
を持つアノテーション配列値のアノテーションメンバーを追加します。SyntheticBeanBuilder<T>
SyntheticBeanBuilder. qualifier(AnnotationInfo qualifierAnnotation)
この合成 Bean の修飾子のセットに、指定されたアノテーションを追加します。SyntheticObserverBuilder<T>
SyntheticObserverBuilder. qualifier(AnnotationInfo qualifierAnnotation)
この合成オブザーバーの一連の修飾子に、指定されたアノテーションを追加します。default AnnotationBuilder
AnnotationBuilder. value(AnnotationInfo value)
value
というアノテーション値のアノテーションメンバーを追加します。default AnnotationBuilder
AnnotationBuilder. value(AnnotationInfo[] values)
value
というアノテーション配列値のアノテーションメンバーを追加します。SyntheticBeanBuilder<T>
SyntheticBeanBuilder. withParam(StringSE key, AnnotationInfo value)
パラメーターマップにアノテーション値パラメーターを追加します。SyntheticBeanBuilder<T>
SyntheticBeanBuilder. withParam(StringSE key, AnnotationInfo[] value)
アノテーション配列値パラメーターをパラメーターマップに追加します。SyntheticObserverBuilder<T>
SyntheticObserverBuilder. withParam(StringSE key, AnnotationInfo value)
パラメーターマップにアノテーション値パラメーターを追加します。SyntheticObserverBuilder<T>
SyntheticObserverBuilder. withParam(StringSE key, AnnotationInfo[] value)
アノテーション配列値パラメーターをパラメーターマップに追加します。型 AnnotationInfo の型引数を持つ jakarta.enterprise.inject.build.compatible.spi のメソッドパラメーター 修飾子と型 メソッド 説明 ClassConfig
ClassConfig. removeAnnotation(PredicateSE<AnnotationInfo> predicate)
指定された述語に一致するすべてのアノテーションをこのクラスから削除します。DeclarationConfig
DeclarationConfig. removeAnnotation(PredicateSE<AnnotationInfo> predicate)
指定された述語に一致するすべてのアノテーションをこの宣言から削除します。FieldConfig
FieldConfig. removeAnnotation(PredicateSE<AnnotationInfo> predicate)
指定された述語に一致するすべてのアノテーションをこのフィールドから削除します。MethodConfig
MethodConfig. removeAnnotation(PredicateSE<AnnotationInfo> predicate)
指定された述語に一致するすべてのアノテーションをこのメソッドから削除します。ParameterConfig
ParameterConfig. removeAnnotation(PredicateSE<AnnotationInfo> predicate)
このメソッドパラメーターから、指定された述語に一致するすべてのアノテーションを削除します。jakarta.enterprise.lang.model 内の AnnotationInfo 使用
AnnotationInfo を返す jakarta.enterprise.lang.model のメソッド 修飾子と型 メソッド 説明 <T extends AnnotationSE>
AnnotationInfoAnnotationTarget. annotation(ClassSE<T> annotationType)
このアノテーションターゲットに存在する場合、指定された型のアノテーションを返します。AnnotationInfo
AnnotationMember. asNestedAnnotation()
このネストされたアノテーション値をAnnotationInfo
として返します。型 AnnotationInfo の引数を持つ型を返す jakarta.enterprise.lang.model のメソッド 修飾子と型 メソッド 説明 CollectionSE<AnnotationInfo>
AnnotationTarget. annotations()
このアノテーションターゲットに存在するすべてのアノテーションのコレクションを返します。CollectionSE<AnnotationInfo>
AnnotationTarget. annotations(PredicateSE<AnnotationInfo> predicate)
指定された述語に一致する、このアノテーションターゲットに存在するすべてのアノテーションのコレクションを返します。<T extends AnnotationSE>
CollectionSE<AnnotationInfo>AnnotationTarget. repeatableAnnotation(ClassSE<T> annotationType)
このアノテーションターゲットに存在する特定の反復可能なSEannotationType
のアノテーションのコレクションを返します。型 AnnotationInfo の型引数を持つ jakarta.enterprise.lang.model のメソッドパラメーター 修飾子と型 メソッド 説明 CollectionSE<AnnotationInfo>
AnnotationTarget. annotations(PredicateSE<AnnotationInfo> predicate)
指定された述語に一致する、このアノテーションターゲットに存在するすべてのアノテーションのコレクションを返します。boolean
AnnotationTarget. hasAnnotation(PredicateSE<AnnotationInfo> predicate)
指定された述語が、このアノテーションターゲットに存在するアノテーションと一致するかどうかを返します。