インターフェースの使用
org.springframework.core.type.MethodMetadata
MethodMetadata を使用するパッケージ
パッケージ
説明
アノテーション駆動型 Bean 構成のサポートパッケージ。
JSR-250「共通」アノテーション、コンポーネントスキャン、Spring 管理オブジェクトを作成するための Java ベースのメタデータなど、アプリケーションコンテキストのアノテーションサポート。
型のイントロスペクションのコアサポートパッケージ。
org.springframework.beans.factory.annotation 内の MethodMetadata 使用
修飾子と型メソッド説明AnnotatedBeanDefinition.getFactoryMethodMetadata()
この Bean 定義のファクトリメソッドのメタデータがある場合は、取得します。final MethodMetadata
AnnotatedGenericBeanDefinition.getFactoryMethodMetadata()
型 MethodMetadata のパラメーターを持つ org.springframework.beans.factory.annotation のコンストラクター修飾子コンストラクター説明AnnotatedGenericBeanDefinition
(AnnotationMetadata metadata, MethodMetadata factoryMethodMetadata) アノテーション付きクラスとそのクラスのファクトリメソッドに基づいて、指定されたアノテーションメタデータ用の新しい AnnotatedGenericBeanDefinition を作成します。org.springframework.context.annotation 内の MethodMetadata 使用
org.springframework.core.type 内の MethodMetadata 使用
MethodMetadata を実装している org.springframework.core.type のクラス型 MethodMetadata の引数を持つ型を返す org.springframework.core.type のメソッド修飾子と型メソッド説明AnnotationMetadata.getAnnotatedMethods
(StringSE annotationName) 指定されたアノテーション型でアノテーションが付けられた(またはメタアノテーションが付けられた)すべてのメソッドのメソッドメタデータを取得します。StandardAnnotationMetadata.getAnnotatedMethods
(StringSE annotationName) AnnotationMetadata.getDeclaredMethods()
基になるクラスでユーザーが宣言したすべてのメソッドのメソッドメタデータを取得し、宣言の順序を可能な限り維持します。StandardAnnotationMetadata.getDeclaredMethods()