クラスの使用
org.springframework.aot.generate.GeneratedMethods
パッケージ
説明
実行時の動作と同等の生成されたコードを提供するコンポーネントのサポートクラス。
Bean ファクトリの AOT サポート。
org.springframework.aot.generate 内の GeneratedMethods 使用
修飾子と型メソッド説明ValueCodeGenerator.getGeneratedMethods()
このインスタンスによって生成されたコードが追加されるスコープを表すGeneratedMethods
を返します。特定のスコープが設定されていない場合はnull
を返します。GeneratedClass.getMethods()
このインスタンスに対して生成されたメソッドを返します。GeneratedMethods.withPrefix
(StringSE prefix) メソッド名に使用するプレフィックスを指定します。修飾子と型メソッド説明ValueCodeGenerator.scoped
(GeneratedMethods generatedMethods) 指定されたGeneratedMethods
をスコープとするValueCodeGenerator
を返します。org.springframework.beans.factory.aot 内の GeneratedMethods 使用
修飾子と型メソッド説明BeanFactoryInitializationCode.getMethods()
初期化コードで使用されるGeneratedMethods
を取得します。BeanRegistrationCode.getMethods()
登録コードで使用されているGeneratedMethods
を返します。BeanRegistrationsCode.getMethods()
登録コードで使用されているGeneratedMethods
を返します。修飾子コンストラクター説明InstanceSupplierCodeGenerator
(GenerationContext generationContext, org.springframework.javapoet.ClassName className, GeneratedMethods generatedMethods, boolean allowDirectSupplierShortcut) 新しいインスタンスを作成します。