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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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