cojen/Maker
Cojen/Maker is a lightweight, full-featured, low-level dynamic Java class generator designed for ease of use.
Abstracts away JVM operand stack management by exclusively using local variables with automatic stack conversion, simplifying bytecode generation while relying on modern JVM liveness analysis for optimization. Seamlessly integrates `java.lang.invoke` features including `invokedynamic` and `condy` instructions through dedicated API methods, enabling just-in-time code generation and `MethodHandle`/`VarHandle` interoperability. Supports immediate class loading with automatic garbage collection via parent `ClassLoader` grouping, hidden classes, and arbitrary object injection via the `setExact` mechanism.
Stars
66
Forks
3
Language
Java
License
Apache-2.0
Category
Last pushed
Mar 18, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/cojen/Maker"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
INRIA/spoon
Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made...
phax/jcodemodel
A heavily extended fork of the com.sun.codemodel (from 2013/09)
avaje/avaje-http
Controller generation for Javalin, Helidon SE.
activej/activej
ActiveJ is an alternative Java platform built from the ground up. ActiveJ redefines core, web...
x-hansong/CodeMaker
A idea-plugin for Java/Scala, support custom code template.