Java Code Generation

Open-source Java projects categorized as Code Generation

Top 23 Java Code Generation Projects

  • javawriter

    A Java API for generating .java source files.

    Project mention: Supercharge Your Spring Boot Services with Multiple Data Sources! Introducing spring-multi-data-source! | /r/SpringBoot | 2023-06-23

    javapoet (for generating code in Java): square/javapoet: A Java API for generating .java source files. (

  • JavaParser

    Java 1-17 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • parceler

    :package: Android Parcelables made easy through code generation.

  • Shortbread

    Android library that creates app shortcuts from annotations

  • 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.

    Project mention: I introduced Rust at work | /r/rust | 2023-06-29


  • 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

  • colfer

    binary serialization format

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • android-contentprovider-generator

    A tool to generate Android ContentProviders.

  • Favor

    A easy way to use android sharepreference

  • pojobuilder

    A Java Code Generator for Pojo Builders

  • ContentProviderCodeGenerator

    A code generator to create Android ContentProvider

  • ParcelablePlease

    Annotation Processor for generating Parcelable code

  • RoboCoP

    Pure Java code generation tool for generating a fully functional ContentProvider for Android.

  • Telosys

    Telosys Command Line Interface - Code Generator for any language with any framework

  • openapi-json-schema-generator

    OpenAPI JSON Schema Generator allows auto-generation of API client libraries with a focus on JSON schema given an OpenAPI document

    Project mention: OpenAPI JSON Schema generator v3.0.0 released | | 2023-08-17
  • avaje-http

    Controller generation for Javalin, Helidon SE.

    Project mention: Avaje HTTP 2.0 Released | | 2023-10-27
  • Maker

    Lightweight, full-featured, low-level dynamic Java class generator designed for ease of use.

  • sugarhaskell

    Library-based Language Extensibility

  • 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.

  • MicrostarterCli

    A Simple tool that generates Micronaut Components

  • JavaForger

    Generate java source code based on existing classes using templates

  • coretex_web_platform

    CoreTex web platform

  • akdl

    AKDL stays for Another Keyword Definition Language It’s all about defining a syntax and generating java parser and runtime code.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-10-27.

Java Code Generation related posts


What are some of the best open-source Code Generation projects in Java? This list will help you:

Project Stars
1 javawriter 10,628
2 JavaParser 5,116
3 parceler 3,561
4 Shortbread 1,787
5 Spoon 1,630
6 ActiveJ 787
7 colfer 726
8 android-contentprovider-generator 617
9 Favor 462
10 pojobuilder 334
11 ContentProviderCodeGenerator 296
12 ParcelablePlease 259
13 RoboCoP 247
14 Telosys 148
15 openapi-json-schema-generator 105
16 avaje-http 57
17 Maker 42
18 sugarhaskell 40
19 1. AutoProxy 18
20 MicrostarterCli 16
21 JavaForger 12
22 coretex_web_platform 3
23 akdl 0
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives