クラスの使用
org.springframework.core.test.tools.TestCompiler
TestCompiler を使用するパッケージ
パッケージ
説明
コア AOT クラスのサポートをテストします。
生成されたコードをコンパイルおよびテストするためのサポートクラス。
org.springframework.aot.test.generate 内の TestCompiler 使用
修飾子と型メソッド説明CompilerFiles.apply
(TestCompiler testCompiler) TestGenerationContext.apply
(TestCompiler testCompiler) このコンテキストの状態で、指定されたTestCompiler
を構成します。型 TestCompiler の引数を持つ型を返す org.springframework.aot.test.generate のメソッド修飾子と型メソッド説明static UnaryOperatorSE<TestCompiler>
CompilerFiles.from
(InMemoryGeneratedFiles generatedFiles) 型 TestCompiler のパラメーターを持つ org.springframework.aot.test.generate のメソッド修飾子と型メソッド説明CompilerFiles.apply
(TestCompiler testCompiler) TestGenerationContext.apply
(TestCompiler testCompiler) このコンテキストの状態で、指定されたTestCompiler
を構成します。org.springframework.core.test.tools 内の TestCompiler 使用
修飾子と型メソッド説明static TestCompiler
TestCompiler.forCompiler
(JavaCompilerSE javaCompiler) 指定されたJavaCompiler
SE に基づく新しいTestCompiler
を作成します。static TestCompiler
TestCompiler.forSystem()
システム java コンパイラーに基づく新しいTestCompiler
を作成します。TestCompiler.printFiles
(PrintStreamSE printStream) ソースファイルとリソースファイルの内容を、指定されたPrintStream
SE に出力します。TestCompiler.with
(UnaryOperatorSE<TestCompiler> customizer) このコンパイラーにカスタマイズを適用します。TestCompiler.withClasses
(IterableSE<ClassFile> classFiles) 追加のクラスで新しいTestCompiler
インスタンスを作成します。TestCompiler.withProcessors
(IterableSE<ProcessorSE> processors) 追加のアノテーションプロセッサーを使用して新しいTestCompiler
インスタンスを作成します。TestCompiler.withProcessors
(ProcessorSE... processors) 追加のアノテーションプロセッサーを使用して新しいTestCompiler
インスタンスを作成します。TestCompiler.withResources
(IterableSE<ResourceFile> resourceFiles) 追加のソースファイルを使用して、新しいTestCompiler
インスタンスを作成します。TestCompiler.withResources
(ResourceFile... resourceFiles) 追加のリソースファイルを使用して、新しいTestCompiler
インスタンスを作成します。TestCompiler.withResources
(ResourceFiles resourceFiles) 追加のリソースファイルを使用して、新しいTestCompiler
インスタンスを作成します。TestCompiler.withSources
(IterableSE<SourceFile> sourceFiles) 追加のソースファイルを使用して、新しいTestCompiler
インスタンスを作成します。TestCompiler.withSources
(SourceFile... sourceFiles) 追加のソースファイルを使用して、新しいTestCompiler
インスタンスを作成します。TestCompiler.withSources
(SourceFiles sourceFiles) 追加のソースファイルを使用して、新しいTestCompiler
インスタンスを作成します。型 TestCompiler の型引数を持つ org.springframework.core.test.tools のメソッドパラメーター