Uses of Class
org.springframework.javapoet.support.MultiStatement
Packages that use 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
Methods in org.springframework.aot.generator that return MultiStatementModifier and TypeMethodDescriptionCodeContribution.statements()
Return the statements that can be used to append code.DefaultCodeContribution.statements()
Constructors in org.springframework.aot.generator with parameters of type MultiStatementModifierConstructorDescriptionprotected
DefaultCodeContribution
(MultiStatement statements, RuntimeHints runtimeHints, ProtectedAccess protectedAccess) -
Uses of MultiStatement in org.springframework.javapoet.support
Methods in org.springframework.javapoet.support that return MultiStatementModifier 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.