Skip to content

Conversation

@tandemdude
Copy link
Owner

Inspired by Palantir's JavaPoet, this allows declaring what Java code you want without having to care about how the code is generated. Should make the code generation far more robust and supports automatic importing to prevent issues like #34 in the future.

tandemdude and others added 3 commits July 18, 2025 11:44
* feat(poet): implement string formatting for code generation

Signed-off-by: davfsa <[email protected]>

* chore: cleanup parsing of replacement string after doing regex

Signed-off-by: davfsa <[email protected]>

* chore: improve code and quoting

Signed-off-by: davfsa <[email protected]>

* chore: cleanup code

Signed-off-by: davfsa <[email protected]>

* feat: add tests

Signed-off-by: davfsa <[email protected]>

* chore: tweaks

* feat: allow escaping, fix tests

---------

Signed-off-by: davfsa <[email protected]>
Co-authored-by: tandemdude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants