Uses of Interface
org.springframework.aot.generate.MethodReference.ArgumentCodeGenerator
Package
Description
Support classes for components that contribute generated code equivalent to a
runtime behavior.
-
Uses of MethodReference.ArgumentCodeGenerator in org.springframework.aot.generate
Modifier and TypeMethodDescriptionCreate a new composedMethodReference.ArgumentCodeGenerator
by combining this generator with supporting the given argument type.MethodReference.ArgumentCodeGenerator.and
(MethodReference.ArgumentCodeGenerator argumentCodeGenerator) Create a new composedMethodReference.ArgumentCodeGenerator
by combining this generator with the given generator.MethodReference.ArgumentCodeGenerator.from
(Function<org.springframework.javapoet.TypeName, org.springframework.javapoet.CodeBlock> function) Factory method that creates a newMethodReference.ArgumentCodeGenerator
from a lambda friendly function.MethodReference.ArgumentCodeGenerator.none()
Factory method that returns anMethodReference.ArgumentCodeGenerator
that always returnsnull
.Factory method that can be used to create anMethodReference.ArgumentCodeGenerator
that support only the given argument type.Modifier and TypeMethodDescriptionprotected void
DefaultMethodReference.addArguments
(org.springframework.javapoet.CodeBlock.Builder code, MethodReference.ArgumentCodeGenerator argumentCodeGenerator) Add the code for the method arguments using the specifiedMethodReference.ArgumentCodeGenerator
if necessary.MethodReference.ArgumentCodeGenerator.and
(MethodReference.ArgumentCodeGenerator argumentCodeGenerator) Create a new composedMethodReference.ArgumentCodeGenerator
by combining this generator with the given generator.org.springframework.javapoet.CodeBlock
DefaultMethodReference.toInvokeCodeBlock
(MethodReference.ArgumentCodeGenerator argumentCodeGenerator, org.springframework.javapoet.ClassName targetClassName) default org.springframework.javapoet.CodeBlock
MethodReference.toInvokeCodeBlock
(MethodReference.ArgumentCodeGenerator argumentCodeGenerator) Return this method reference as aCodeBlock
using the specifiedMethodReference.ArgumentCodeGenerator
.org.springframework.javapoet.CodeBlock
MethodReference.toInvokeCodeBlock
(MethodReference.ArgumentCodeGenerator argumentCodeGenerator, org.springframework.javapoet.ClassName targetClassName) Return this method reference as aCodeBlock
using the specifiedMethodReference.ArgumentCodeGenerator
.