Uses of Interface
org.springframework.aot.generate.MethodReference.ArgumentCodeGenerator
Packages that use 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
Methods in org.springframework.aot.generate that return MethodReference.ArgumentCodeGeneratorModifier and TypeMethodDescriptionCreate a new composedMethodReference.ArgumentCodeGeneratorby combining this generator with supporting the given argument type.MethodReference.ArgumentCodeGenerator.and(MethodReference.ArgumentCodeGenerator argumentCodeGenerator) Create a new composedMethodReference.ArgumentCodeGeneratorby 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.ArgumentCodeGeneratorfrom a lambda friendly function.MethodReference.ArgumentCodeGenerator.none()Factory method that returns anMethodReference.ArgumentCodeGeneratorthat always returnsnull.Factory method that can be used to create anMethodReference.ArgumentCodeGeneratorthat support only the given argument type.Methods in org.springframework.aot.generate with parameters of type MethodReference.ArgumentCodeGeneratorModifier and TypeMethodDescriptionprotected voidDefaultMethodReference.addArguments(org.springframework.javapoet.CodeBlock.Builder code, MethodReference.ArgumentCodeGenerator argumentCodeGenerator) Add the code for the method arguments using the specifiedMethodReference.ArgumentCodeGeneratorif necessary.MethodReference.ArgumentCodeGenerator.and(MethodReference.ArgumentCodeGenerator argumentCodeGenerator) Create a new composedMethodReference.ArgumentCodeGeneratorby combining this generator with the given generator.org.springframework.javapoet.CodeBlockDefaultMethodReference.toInvokeCodeBlock(MethodReference.ArgumentCodeGenerator argumentCodeGenerator, org.springframework.javapoet.ClassName targetClassName) default org.springframework.javapoet.CodeBlockMethodReference.toInvokeCodeBlock(MethodReference.ArgumentCodeGenerator argumentCodeGenerator) Return this method reference as aCodeBlockusing the specifiedMethodReference.ArgumentCodeGenerator.org.springframework.javapoet.CodeBlockMethodReference.toInvokeCodeBlock(MethodReference.ArgumentCodeGenerator argumentCodeGenerator, org.springframework.javapoet.ClassName targetClassName) Return this method reference as aCodeBlockusing the specifiedMethodReference.ArgumentCodeGenerator.