インターフェースの使用
org.springframework.util.function.ThrowingConsumer
ThrowingConsumer を使用するパッケージ
パッケージ
説明
実行時の動作と同等の生成されたコードを提供するコンポーネントのサポートクラス。
Bean ファクトリの AOT サポート。
便利な汎用
java.util.function ヘルパークラス。org.springframework.aot.generate 内の ThrowingConsumer 使用
型 ThrowingConsumer のパラメーターを持つ org.springframework.aot.generate のメソッド修飾子と型メソッド説明default voidGeneratedFiles.addFile(GeneratedFiles.Kind kind, StringSE path, ThrowingConsumer<AppendableSE> content) 指定されたGeneratedFiles.Kindの生成されたファイルを、指定されたThrowingConsumerに渡されたAppendableSE に書き込まれたコンテンツとともに追加します。default voidGeneratedFiles.addResourceFile(StringSE path, ThrowingConsumer<AppendableSE> content) default voidGeneratedFiles.addSourceFile(StringSE className, ThrowingConsumer<AppendableSE> content) voidFileSystemGeneratedFiles.handleFile(GeneratedFiles.Kind kind, StringSE path, ThrowingConsumer<GeneratedFiles.FileHandler> handler) voidGeneratedFiles.handleFile(GeneratedFiles.Kind kind, StringSE path, ThrowingConsumer<GeneratedFiles.FileHandler> handler) 指定されたハンドラーを使用して、指定されたGeneratedFiles.Kindの生成されたファイルを処理します。voidInMemoryGeneratedFiles.handleFile(GeneratedFiles.Kind kind, StringSE path, ThrowingConsumer<GeneratedFiles.FileHandler> handler) org.springframework.beans.factory.aot 内の ThrowingConsumer 使用
型 ThrowingConsumer のパラメーターを持つ org.springframework.beans.factory.aot のメソッド修飾子と型メソッド説明<T> voidAutowiredFieldValueResolver.resolve(RegisteredBean registeredBean, ThrowingConsumer<T> action) 指定された登録済み Bean のフィールドを解決し、指定されたアクションに提供します。voidAutowiredMethodArgumentsResolver.resolve(RegisteredBean registeredBean, ThrowingConsumer<AutowiredArguments> action) 指定された登録済み Bean のメソッド引数を解決し、指定されたアクションに提供します。org.springframework.util.function 内の ThrowingConsumer 使用
修飾子と型メソッド説明static <T> ThrowingConsumer<T>ThrowingConsumer.of(ThrowingConsumer<T> consumer) accept(Object)メソッドが、指定されたラムダ式またはメソッド参照によってスローされたチェック済み例外をラップするThrowingConsumerを作成するために使用できる、ラムダに適した便利なメソッド。static <T> ThrowingConsumer<T>ThrowingConsumer.of(ThrowingConsumer<T> consumer, BiFunctionSE<StringSE, ExceptionSE, RuntimeExceptionSE> exceptionWrapper) accept(Object)メソッドが、指定されたexceptionWrapperを使用して、スローされたチェック済み例外をラップするThrowingConsumerを作成するために使用できる、ラムダに適した便利なメソッド。default ThrowingConsumer<T>ThrowingConsumer.throwing(BiFunctionSE<StringSE, ExceptionSE, RuntimeExceptionSE> exceptionWrapper) 型 ThrowingConsumer のパラメーターを持つ org.springframework.util.function のメソッド修飾子と型メソッド説明static <T> ThrowingConsumer<T>ThrowingConsumer.of(ThrowingConsumer<T> consumer) accept(Object)メソッドが、指定されたラムダ式またはメソッド参照によってスローされたチェック済み例外をラップするThrowingConsumerを作成するために使用できる、ラムダに適した便利なメソッド。static <T> ThrowingConsumer<T>ThrowingConsumer.of(ThrowingConsumer<T> consumer, BiFunctionSE<StringSE, ExceptionSE, RuntimeExceptionSE> exceptionWrapper) accept(Object)メソッドが、指定されたexceptionWrapperを使用して、スローされたチェック済み例外をラップするThrowingConsumerを作成するために使用できる、ラムダに適した便利なメソッド。