A Java source code generation library. Rather than concatenating strings or manipulating template files, JDeparser provides a type-safe API for constructing syntactically correct Java source code.
JDeparser is designed for two primary use cases:
- Annotation processors that generate source files during compilation
- Build-time code generators that produce Java source as part of a build pipeline
Add the following dependency to your project:
<dependency>
<groupId>io.smallrye.jdeparser</groupId>
<artifactId>jdeparser</artifactId>
<version>VERSION</version>
</dependency>Replace VERSION with the latest release version.
For detailed usage instructions and API documentation, see the User Manual.
Building this project requires JDK 25 or later:
mvn clean verifyThis project is licensed under the Apache License, Version 2.0.