SaaSHub helps you find the best software and product alternatives Learn more →
Top 22 Java annotation-processor Projects
-
In Java, there is MapStruct which uses annotation processing. However, it seems somewhat incompatible with Kotlin.
-
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.
-
-
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
> * 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.
-
-
derive4j
Java 8 annotation processor and framework for deriving algebraic data types constructors, pattern-matching, folds, optics and typeclasses.
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Moxy
Moxy is MVP library for Android with incremental annotation processor and ktx features (by moxy-community)
-
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/...
-
-
Kripton Persistence Library
A Java/Kotlin library for Android platform, to manage bean's persistence in SQLite, SharedPreferences, JSON, XML, Properties, Yaml, CBOR.
-
-
-
-
elementary
A suite of libraries that simplify creating and unit testing annotation processors. (by Pante)
-
-
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.
-
-
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.
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Java annotation-processor discussion
Java annotation-processor related posts
-
What can happen if you skip the DTOs
-
Avaje HTTP 2.0 Released
-
Object mapping libraries
-
Feedback on a new annotation processor api
-
Mapping in Domain Driven Design sucks
-
RIFE2 web framework v1.0.0 released!
-
Correct way of exception handling, an optional?
-
A note from our sponsor - SaaSHub
www.saashub.com | 14 May 2025
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 |