Uses of Class
org.springframework.data.javapoet.LordOfTheStrings.StatementBuilder
Packages that use LordOfTheStrings.StatementBuilder
Package
Description
Opinionated extensions to JavaPoet to support Spring Data specific use cases.
-
Uses of LordOfTheStrings.StatementBuilder in org.springframework.data.javapoet
Methods in org.springframework.data.javapoet that return LordOfTheStrings.StatementBuilderModifier and TypeMethodDescriptionAdd a formatted statement to the builder.LordOfTheStrings.StatementBuilder.add(org.springframework.javapoet.CodeBlock codeBlock) Add aCodeBlockto the statement builder.LordOfTheStrings.StatementBuilder.addAll(Iterable<? extends T> elements, String delim, Function<? super T, org.springframework.javapoet.CodeBlock> mapper) Concatenate elements into the builder with a delimiter.LordOfTheStrings.StatementBuilder.addAll(Iterable<? extends T> elements, Function<? super T, String> delim, Function<? super T, org.springframework.javapoet.CodeBlock> mapper) Concatenate elements into the builder with a custom delimiter function.LordOfTheStrings.StatementBuilder.ConditionalStatementStep.then(String format, @Nullable Object... args) Add a statement to the builder if the condition is met.Method parameters in org.springframework.data.javapoet with type arguments of type LordOfTheStrings.StatementBuilderModifier and TypeMethodDescriptionLordOfTheStrings.CodeBlockBuilder.addStatement(Consumer<LordOfTheStrings.StatementBuilder> consumer) Add a statement to the code block using aConsumerto configure it.