phax/jcodemodel
A heavily extended fork of the com.sun.codemodel (from 2013/09)
jcodemodel helps Java developers programmatically generate Java source code. It takes your design choices and rules for code structure and outputs compilable Java files. This is invaluable for anyone building tools that need to create Java classes, methods, or interfaces on the fly, such as code generators for data schemas or API clients.
Use this if you need to automate the creation of Java source code based on dynamic inputs or specifications, especially for projects requiring Java 17+ features like records or `try-with-resources`.
Not ideal if you're looking for a direct replacement for JAXB for XML binding, as special configuration would be needed due to package name changes.
Stars
98
Forks
35
Language
Java
License
—
Category
Last pushed
Mar 17, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/phax/jcodemodel"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
INRIA/spoon
Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made...
avaje/avaje-http
Controller generation for Javalin, Helidon SE.
x-hansong/CodeMaker
A idea-plugin for Java/Scala, support custom code template.
overturetool/overture
The Overture Tool
activej/activej
ActiveJ is an alternative Java platform built from the ground up. ActiveJ redefines core, web...