javapoet
https://github.com/square/javapoet
Java
A Java API for generating .java source files.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Java not yet supported3 Subscribers
Add a CodeTriage badge to javapoet
Help out
- Issues
- a Use scenarios to ask questions
- fix #637: Prevent class loading deadlock between TypeName and ClassName
- TypeVariableName#annotated lost previously annotated annotations
- Add support for Java 16 records
- Provide an API to set TypeVariableName bounds lazily
- Getting a CodeBlock from an AnnotationValue for an enum constant
- Assignment->lambda->statement fails with "statement enter $[ followed by statement enter $["
- Generate Builder Code
- API for creating a CodeBlock Statement directly
- Add a `tap` method to builders
- Docs
- Java not yet supported