Uses of Class
org.springframework.javapoet.support.MultiStatement
Package
Description
Support classes for components that contribute generated code equivalent
to a runtime behavior.
Support classes for JavaPoet usage.
-
Uses of MultiStatement in org.springframework.aot.generator
Modifier and TypeMethodDescriptionCodeContribution.statements()
Return the statements that can be used to append code.DefaultCodeContribution.statements()
ModifierConstructorDescriptionprotected
DefaultCodeContribution
(MultiStatement statements, RuntimeHints runtimeHints, ProtectedAccess protectedAccess) -
Uses of MultiStatement in org.springframework.javapoet.support
Modifier and TypeMethodDescriptionAdd aCodeBlock
rendered as-is using the specified callback.MultiStatement.add
(org.springframework.javapoet.CodeBlock codeBlock) Add the specifiedcodeblock
rendered as-is.<T> MultiStatement
MultiStatement.addAll
(Iterable<T> items, Function<T, org.springframework.javapoet.CodeBlock> itemGenerator) Add the statements produced from theitemGenerator
applied on the specified items.MultiStatement.addStatement
(String code, Object... args) Add a statement using the specified formatted String and the specified arguments.MultiStatement.addStatement
(Consumer<org.springframework.javapoet.CodeBlock.Builder> code) Add a statement using the specified callback.MultiStatement.addStatement
(org.springframework.javapoet.CodeBlock statement) Add a statement.