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
- Support sealed subclasses
- Superinterface as a TypeSpec
- Generating a ParameterSpec from ExecutableElement
- Deadlock in Java 8
- Add a way to generate package-info.java files
- Util. stringLiteralWithDoubleQuotes should split strings > 64k
- New API: ClassName.getReflectionName()
- Line endings are forced to be UNIX endings \n
- CodeBlock#toString doesn't seem to work right with indent formatting
- MethodSpec.beginControlFlow inserts unneccessary space when argument is empty
- Docs
- Java not yet supported