initializr/initializr-generator-spring
Stephane Nicoll 8acbad503a Introduce CodeBlock
This commit introduces a way to build more complex statement, including
multi statements and nested method invocations. CodeBlock is heavily
inspired from Square's JavaPoet project.

A CodeBlock is an immutable piece of code that provide the imports that
are needed and can emit code to an IndentingWriter.

This commit also migrates the use of expressions in Java, Kotlin, and
Groovy to the newly introduced CodeBlock. Those are deprecated in
favor of CodeBlock.

Closes gh-1043
2023-06-07 12:01:43 +02:00
..
src Introduce CodeBlock 2023-06-07 12:01:43 +02:00
pom.xml Polish 2019-10-16 11:37:21 +02:00