Uses of Class
io.spring.initializr.generator.language.CodeBlock.Builder
Packages that use CodeBlock.Builder
-
Uses of CodeBlock.Builder in io.spring.initializr.generator.language
Methods in io.spring.initializr.generator.language that return CodeBlock.BuilderModifier and TypeMethodDescriptionAdd the specifiedCodeBlock
, without any extra line or statement separator.Add more code using the specified code and optional arguments.CodeBlock.Builder.addStatement
(CodeBlock codeBlock) Add the specifiedCodeBlock
as a statement.CodeBlock.Builder.addStatement
(String format, Object... args) Add more code using the specified code and optional arguments and indicate that this statement is finished.static CodeBlock.Builder
CodeBlock.builder()
Initialize a new builder.