Java Code Generation

Open-source Java projects categorized as Code Generation

Top 23 Java Code Generation Projects

Code Generation
  1. JavaParser

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

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. parceler

    :package: Android Parcelables made easy through code generation.

  4. Shortbread

    Android library that creates app shortcuts from annotations

  5. 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: Release Radar · April 2024 Edition: Major updates from the open source community | dev.to | 2024-05-03

    The creators at Spoon claim that "🥄 is made with ❤️, 🍻 and ✨"! And why not?! Spoon is a metaprogramming library to analyze and transform Java source code by parsing source files to build a well-designed AST (Abstract Syntax Tree). The latest version supports Java 17 and the modelling of receiver parameters has been changed. Read all about the changes in the release notes.

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

  7. colfer

    binary serialization format

  8. android-contentprovider-generator

    A tool to generate Android ContentProviders.

  9. SaaSHub

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

    SaaSHub logo
  10. Favor

    A easy way to use android sharepreference

  11. pojobuilder

    A Java Code Generator for Pojo Builders

  12. ContentProviderCodeGenerator

    A code generator to create Android ContentProvider

  13. ParcelablePlease

    Annotation Processor for generating Parcelable code

  14. RoboCoP

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

  15. Telosys

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

    Project mention: Dashboard of open source low-code tools | dev.to | 2024-11-24

    In fact, there are a few. For instance, Telosys (that we also covered here). But Telosys defines itself as a "lightweight and pragmatic code generator", not as a low-code tool. Once again, the diverse terminology in our area makes a small domain even smaller and hides useful tools from potential users that are using the "wrong" keywords. To read mode about the relationship between the low-code and model-driven communities, take a look at our work on a Metascience Study of the Adoption of Low-Code terminology in Modeling Publications, which we are now updating and extending as I still believe it's an important discussion to have in our community.

  16. zserio

    zero sugar, zero fat, zero serialization overhead

    Project mention: Zserio: Zero serialization overhead for C++, Java, Python | news.ycombinator.com | 2024-04-30
  17. avaje-http

    Controller generation for Javalin, Helidon SE.

  18. Maker

    Cojen/Maker is a lightweight, full-featured, low-level dynamic Java class generator designed for ease of use.

  19. sugarhaskell

    Library-based Language Extensibility

  20. fling

    A fluent API generator (by OriRoth)

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

  22. jSQL-Gen

    Java SQL (JDBC) code generator with GUI. 0% boilerplate + compile-safe SQL + powerful API.

  23. MicrostarterCli

    A Simple tool that generates Micronaut Components

  24. JavaForger

    Generate java source code based on existing classes using templates

  25. rapier

    Code generation companion library for Google Dagger focusing on eliminating boilerplate for common configuration sources (by aleph0io)

    Project mention: Show HN: Rapier – Generate Dagger Modules from Annotations for Config Data | news.ycombinator.com | 2025-01-28
  26. SaaSHub

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

    SaaSHub logo
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).

Java Code Generation discussion

Log in or Post with

Java Code Generation related posts

  • AspectJ VS Metalama - a user suggested alternative

    2 projects | 7 Dec 2023
  • Supercharge Your Spring Boot Services with Multiple Data Sources! Introducing spring-multi-data-source!

    2 projects | /r/SpringBoot | 23 Jun 2023
  • Supercharge Your Spring Boot Services with Multiple Data Sources! Introudcing spring-multi-data-source!

    2 projects | /r/SpringBoot | 23 Jun 2023
  • Generare de cod pentru Java

    2 projects | /r/programare | 27 Dec 2022
  • Any news on the Classfile API?

    5 projects | /r/java | 23 Dec 2022
  • Visual AKDL Editor

    2 projects | dev.to | 16 Dec 2022
  • Proposed: A new CMake scripting language usable alongside existing one

    9 projects | news.ycombinator.com | 6 Dec 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 Feb 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 JavaParser 5,672
2 parceler 3,557
3 Shortbread 1,780
4 Spoon 1,778
5 ActiveJ 902
6 colfer 746
7 android-contentprovider-generator 620
8 Favor 461
9 pojobuilder 334
10 ContentProviderCodeGenerator 296
11 ParcelablePlease 259
12 RoboCoP 246
13 Telosys 174
14 zserio 109
15 avaje-http 73
16 Maker 57
17 sugarhaskell 39
18 fling 25
19 1. AutoProxy 20
20 jSQL-Gen 18
21 MicrostarterCli 16
22 JavaForger 12
23 rapier 3

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Java is
the 8th most popular programming language
based on number of references?