SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Java Code Generation Projects
-
JavaParser
Java 1-25 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
Project mention: Onboarding Your AI Pair Programmer: From Spec-Driven Development to Kiro Powers | dev.to | 2026-07-11We (Kiro and me) developed this approach while contributing to JavaParser, a 6,000+ star open source project with strict architectural standards. After receiving maintainer feedback on our first PR that highlighted 8 code quality issues (not bugs — the code worked, but it bypassed project abstractions), we realized: the AI needed to be onboarded properly.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
Spoon
Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made with :heart:, :beers: and :sparkles:. It parses source files to build a well-designed AST with powerful analysis and transformation API.
Spoon is a heavier and more powerful framework that helps read, modify, and create Java code. It's powerful enough that we built our Java static analyzer on it. It may be an overkill for our task, but it's worth mentioning.
-
-
ActiveJ
ActiveJ is an alternative Java platform built from the ground up. ActiveJ redefines core, web and high-load programming in Java, providing simplicity, maximum performance and scalability
-
-
-
-
-
-
RoboCoP
Pure Java code generation tool for generating a fully functional ContentProvider for Android.
-
-
-
-
-
Maker
Cojen/Maker is a lightweight, full-featured, low-level dynamic Java class generator designed for ease of use.
-
-
excalibase-graphql
The Excalibase API engine: GraphQL and REST generated from your database schema, each GraphQL request compiled to one SQL query, with per-role permissions.
Project mention: I'm building an open-source platform for your database, API, auth and apps | dev.to | 2026-10-17The engine is open source under Apache 2.0: github.com/excalibase/excalibase-graphql
-
-
1. AutoProxy
Annotation Processing Library. Generates proxy class on top of interface/abstract class, that allows to intercept calls. Also known as a design pattern: proxy, delegate, interceptor.
-
-
-
Java Code Generation discussion
Java Code Generation related posts
-
“Real Developers Test in Production.” But Should They?
-
MapStruct vs Immuto: Where the Records Gap Actually Is
-
OpenAPI generators break generic API responses
-
Code generation for algorithms in Java
-
🚀 Spring Boot + OpenAPI Generator: Type-Safe Generic API Clients Without Boilerplate
-
Propify: Type-Safe Configuration and Internationalization for Java Applications
-
AspectJ VS Metalama - a user suggested alternative
2 projects | 7 Dec 2023 -
A note from our sponsor - SaaSHub
www.saashub.com | 11 Nov 2026
Index
What are some of the best open-source Code Generation projects in Java? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | JavaParser | 6,175 |
| 2 | parceler | 3,524 |
| 3 | Spoon | 1,963 |
| 4 | Shortbread | 1,758 |
| 5 | ActiveJ | 998 |
| 6 | colfer | 760 |
| 7 | android-contentprovider-generator | 614 |
| 8 | pojobuilder | 335 |
| 9 | ContentProviderCodeGenerator | 290 |
| 10 | ParcelablePlease | 261 |
| 11 | RoboCoP | 247 |
| 12 | Telosys | 192 |
| 13 | zserio | 153 |
| 14 | magic-bean | 102 |
| 15 | avaje-http | 99 |
| 16 | Maker | 73 |
| 17 | sugarhaskell | 40 |
| 18 | excalibase-graphql | 33 |
| 19 | fling | 27 |
| 20 | 1. AutoProxy | 22 |
| 21 | jSQL-Gen | 21 |
| 22 | MicrostarterCli | 16 |
| 23 | JavaForger | 13 |