Uses of Class
org.springframework.data.javapoet.LordOfTheStrings.CodeBlockBuilder
Packages that use LordOfTheStrings.CodeBlockBuilder
Package
Description
Opinionated extensions to JavaPoet to support Spring Data specific use cases.
-
Uses of LordOfTheStrings.CodeBlockBuilder in org.springframework.data.javapoet
Methods in org.springframework.data.javapoet that return LordOfTheStrings.CodeBlockBuilderModifier and TypeMethodDescriptionAdd a formatted statement to the code block.LordOfTheStrings.CodeBlockBuilder.add(org.springframework.javapoet.CodeBlock codeBlock) Add aCodeBlockto the code block.Add named arguments to the code block.LordOfTheStrings.CodeBlockBuilder.addStatement(String format, @Nullable Object... args) Add a formatted statement to the code block.LordOfTheStrings.CodeBlockBuilder.addStatement(Consumer<LordOfTheStrings.StatementBuilder> consumer) Add a statement to the code block using aConsumerto configure it.LordOfTheStrings.CodeBlockBuilder.addStatement(org.springframework.javapoet.CodeBlock codeBlock) Add aCodeBlockas a statement to the code block.LordOfTheStrings.CodeBlockBuilder.beginControlFlow(String controlFlow, @Nullable Object... args) Begin a control flow block with the specified format and arguments.LordOfTheStrings.builder()Create a newCodeBlockBuilderinstance.Create a newCodeBlockBuilderinstance with an initial format and arguments.LordOfTheStrings.builder(org.springframework.javapoet.CodeBlock.Builder builder) Create a newCodeBlockBuilderinstance using the givenCodeBlock.Builder.LordOfTheStrings.CodeBlockBuilder.clear()Clear the current state of the builder.LordOfTheStrings.CodeBlockBuilder.endControlFlow()End the current control flow block.LordOfTheStrings.CodeBlockBuilder.endControlFlow(String controlFlow, @Nullable Object... args) End the current control flow block with the specified format and arguments.LordOfTheStrings.CodeBlockBuilder.indent()Indent the current code block.LordOfTheStrings.CodeBlockBuilder.nextControlFlow(String controlFlow, @Nullable Object... args) Begin the next control flow block with the specified format and arguments.LordOfTheStrings.CodeBlockBuilder.unindent()Unindent the current code block.