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

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

Apache License V2.0

Follow KotlinPoet

KotlinPoet Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of KotlinPoet!

Additional Project Details

Programming Language

Kotlin

Related Categories

Kotlin Frameworks

Registered

2024-01-23