KotlinPoet is a Kotlin and Java API for generating .kt source files. Source file generation can be useful when doing things such as annotation processing or interacting with metadata files (e.g., database schemas, protocol formats). By generating code, you eliminate the need to write boilerplate while also keeping a single source of truth for the metadata.
Features
- The KDoc catalogs the complete KotlinPoet API, which is inspired by JavaPoet
- Documentation available
- Examples available
- In order to maximize portability, KotlinPoet generates code with explicit visibility modifiers
- Compatibility with both standard Kotlin projects as well as projects using explicit API mode
Categories
FrameworksLicense
Apache License V2.0Follow KotlinPoet
You Might Also Like
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of KotlinPoet!