Java annotation-processor

Open-source Java projects categorized as annotation-processor

Top 22 Java annotation-processor Projects

annotation-processor
  1. MapStruct

    An annotation processor for generating type-safe bean mappers

    Project mention: [Kotlin] Using Mappie to Reassign Data Class Properties | dev.to | 2025-03-14

    In Java, there is MapStruct which uses annotation processing. However, it seems somewhat incompatible with Kotlin.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. parceler

    :package: Android Parcelables made easy through code generation.

  4. Immutables

    Annotation processor to create immutable objects and builders. Feels like Guava's immutable collections but for regular value objects. JSON, Jackson, Gson, JAX-RS integrations included

    Project mention: Translating 10M lines of Java to Kotlin | news.ycombinator.com | 2024-12-22

    > * data class Foo(val theImplementationAndStyleOfDataClasses: String)

    For the purists there are records now in Java (which can be combined with destructuring / pattern matching - there were significant improvements in this area in the last few JDK releases, and more are coming!). In this regard Java had surpassed Kotlin by some margin.

    For the enterprise coders, there is the Immutables project (https://immutables.org) which you can say is Lombok on steroids (but implemented correctly, that is, by generating classes which you can inspect as regular source code, instead of relying on hacking the compiler...).

    > * elvis?.operator?.chaining

    This will hopefully be finally resolved by one of the subprojects of project Valhalla, as a prerequisite for value class support (which cannot be null, so...).

    The others on your list are small and subjective stylistic differences, of course your preference may vary, but should not weigh heavily in any Java vs Kotlin discussion.

  5. Shortbread

    Android library that creates app shortcuts from annotations

  6. derive4j

    Java 8 annotation processor and framework for deriving algebraic data types constructors, pattern-matching, folds, optics and typeclasses.

  7. Doma 2

    DAO oriented database mapping framework for Java

  8. pojobuilder

    A Java Code Generator for Pojo Builders

  9. SaaSHub

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

    SaaSHub logo
  10. Moxy

    Moxy is MVP library for Android with incremental annotation processor and ktx features (by moxy-community)

  11. jstachio

    Java type safe statically compiled mustache

    Project mention: Java string interpolation feature was cancelled | news.ycombinator.com | 2024-06-20

    / Generated By:JavaCC: Do not edit this line. QueryParser.java */

    I'm not claiming you're not going to see properties written out. I'm just saying that's not the majority of code you're going to see and to claim that idiomatic Java is all getters and setters is a bit far fetched.

    Here is what I would consider modern idiomatic Java, immutable records and immutable classes that may expose some of their state:

    https://github.com/jstachio/jstachio/blob/main/compiler/apt/...

  12. transfuse

    :syringe: Transfuse - A Dependency Injection and Integration framework for Google Android

  13. Kripton Persistence Library

    A Java/Kotlin library for Android platform, to manage bean's persistence in SQLite, SharedPreferences, JSON, XML, Properties, Yaml, CBOR.

  14. magic-bean

    A very basic library which will generate getters and setters.

  15. zerocell

    Simple, efficient Excel to POJO library for Java

  16. avaje-http

    Controller generation for Javalin, Helidon SE.

  17. elementary

    A suite of libraries that simplify creating and unit testing annotation processors. (by Pante)

  18. avaje-prisms

    Upgraded fork of hickory (updated to Java 11 with module-info and new features)

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

  20. net.cactusthorn.config

    Configuration library based on annotation processing

  21. spring-multi-data-source

    To mitigate Spring's limitations with multiple data sources in a single service, this library provides two custom Java annotations that automatically generate all the required bean definition configurations, and package-segregated repositories, for each data source.

  22. auto-record

    Java record source generator

  23. maven-properties-gen

    Maven Properties Generator for Java

  24. simple-component

    Basic dependency injection tool

  25. 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 annotation-processor discussion

Log in or Post with

Java annotation-processor related posts

  • What can happen if you skip the DTOs

    2 projects | dev.to | 29 Jul 2024
  • Avaje HTTP 2.0 Released

    1 project | news.ycombinator.com | 27 Oct 2023
  • Object mapping libraries

    1 project | /r/Python | 18 Sep 2023
  • Feedback on a new annotation processor api

    9 projects | /r/java | 20 May 2023
  • Mapping in Domain Driven Design sucks

    1 project | /r/javahelp | 6 Feb 2023
  • RIFE2 web framework v1.0.0 released!

    4 projects | /r/java | 21 Jan 2023
  • Correct way of exception handling, an optional?

    1 project | /r/javahelp | 30 Nov 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 14 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 MapStruct 7,328
2 parceler 3,551
3 Immutables 3,485
4 Shortbread 1,777
5 derive4j 566
6 Doma 2 467
7 pojobuilder 334
8 Moxy 328
9 jstachio 291
10 transfuse 221
11 Kripton Persistence Library 118
12 magic-bean 86
13 zerocell 81
14 avaje-http 74
15 elementary 44
16 avaje-prisms 23
17 1. AutoProxy 20
18 net.cactusthorn.config 12
19 spring-multi-data-source 12
20 auto-record 6
21 maven-properties-gen 3
22 simple-component 3

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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