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