インターフェースの使用
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 のメソッド 修飾子と型 メソッド 説明 AnnotationInfoAnnotationBuilder. 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 のメソッド 修飾子と型 メソッド 説明 ClassConfigClassConfig. addAnnotation(AnnotationInfo annotation)指定されたアノテーションをこのクラスに追加します。DeclarationConfigDeclarationConfig. addAnnotation(AnnotationInfo annotation)指定されたアノテーションをこの宣言に追加します。FieldConfigFieldConfig. addAnnotation(AnnotationInfo annotation)指定されたアノテーションをこのフィールドに追加します。MethodConfigMethodConfig. addAnnotation(AnnotationInfo annotation)指定されたアノテーションをこのメソッドに追加します。ParameterConfigParameterConfig. addAnnotation(AnnotationInfo annotation)指定されたアノテーションをこのメソッドパラメーターに追加します。AnnotationBuilderAnnotationBuilder. member(StringSE name, AnnotationInfo value)指定されたnameを持つアノテーション値のアノテーションメンバーを追加します。AnnotationBuilderAnnotationBuilder. member(StringSE name, AnnotationInfo[] values)指定されたnameを持つアノテーション配列値のアノテーションメンバーを追加します。SyntheticBeanBuilder<T>SyntheticBeanBuilder. qualifier(AnnotationInfo qualifierAnnotation)この合成 Bean の修飾子のセットに、指定されたアノテーションを追加します。SyntheticObserverBuilder<T>SyntheticObserverBuilder. qualifier(AnnotationInfo qualifierAnnotation)この合成オブザーバーの一連の修飾子に、指定されたアノテーションを追加します。default AnnotationBuilderAnnotationBuilder. value(AnnotationInfo value)valueというアノテーション値のアノテーションメンバーを追加します。default AnnotationBuilderAnnotationBuilder. 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 のメソッドパラメーター 修飾子と型 メソッド 説明 ClassConfigClassConfig. removeAnnotation(PredicateSE<AnnotationInfo> predicate)指定された述語に一致するすべてのアノテーションをこのクラスから削除します。DeclarationConfigDeclarationConfig. removeAnnotation(PredicateSE<AnnotationInfo> predicate)指定された述語に一致するすべてのアノテーションをこの宣言から削除します。FieldConfigFieldConfig. removeAnnotation(PredicateSE<AnnotationInfo> predicate)指定された述語に一致するすべてのアノテーションをこのフィールドから削除します。MethodConfigMethodConfig. removeAnnotation(PredicateSE<AnnotationInfo> predicate)指定された述語に一致するすべてのアノテーションをこのメソッドから削除します。ParameterConfigParameterConfig. removeAnnotation(PredicateSE<AnnotationInfo> predicate)このメソッドパラメーターから、指定された述語に一致するすべてのアノテーションを削除します。jakarta.enterprise.lang.model 内の AnnotationInfo 使用
AnnotationInfo を返す jakarta.enterprise.lang.model のメソッド 修飾子と型 メソッド 説明 <T extends AnnotationSE>
AnnotationInfoAnnotationTarget. annotation(ClassSE<T> annotationType)このアノテーションターゲットに存在する場合、指定された型のアノテーションを返します。AnnotationInfoAnnotationMember. 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)指定された述語に一致する、このアノテーションターゲットに存在するすべてのアノテーションのコレクションを返します。booleanAnnotationTarget. hasAnnotation(PredicateSE<AnnotationInfo> predicate)指定された述語が、このアノテーションターゲットに存在するアノテーションと一致するかどうかを返します。