インターフェースの使用
jakarta.enterprise.inject.build.compatible.spi.DeclarationConfig
DeclarationConfig を使用するパッケージ
jakarta.enterprise.inject.build.compatible.spi 内の DeclarationConfig 使用
修飾子と型インターフェース説明interfaceクラスへのアノテーションの追加とクラスからのアノテーションの削除を許可します。interfaceフィールドへのアノテーションの追加とフィールドからのアノテーションの削除を許可します。interfaceメソッドにアノテーションを追加したり、メソッドからアノテーションを削除したりできます。interfaceメソッドパラメーターにアノテーションを追加したり、メソッドパラメーターからアノテーションを削除したりできます。修飾子と型メソッド説明DeclarationConfig.addAnnotation(AnnotationInfo annotation) 指定されたアノテーションをこの宣言に追加します。DeclarationConfig.addAnnotation(AnnotationSE annotation) 指定されたアノテーションをこの宣言に追加します。DeclarationConfig.addAnnotation(ClassSE<? extends AnnotationSE> annotationType) 指定された型のマーカーアノテーションをこの宣言に追加します。DeclarationConfig.removeAllAnnotations()この宣言からすべてのアノテーションを削除します。DeclarationConfig.removeAnnotation(PredicateSE<AnnotationInfo> predicate) 指定された述語に一致するすべてのアノテーションをこの宣言から削除します。