kotlinpoet icon indicating copy to clipboard operation
kotlinpoet copied to clipboard

A Kotlin API for generating .kt source files.

Results 94 kotlinpoet issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Stumbled upon this. Was adding some KDoc comments based on some text from elsewhere. That text had 2 spaces after a period and that happened to be...

bug

**Describe the bug** When adding a comment that has long text that is long enough to wrap, additional lines are indented and do not have the \\ at the beginning...

bug
PR welcome

**Describe the bug** Using KotlinPoet 1.18.1 I get the exception: `java.lang.IllegalStateException: Functional interfaces must have exactly one abstract function. Contained 0: []` when try to generate valid kotlin code. I'm...

bug

#304 Hi! This PR attempts to change the `kotlinpoet` module into a true multi-platform module: adding source code sets for platforms other than the JVM platform: JS and WasmJs. No...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.jetbrains.kotlin.jvm](https://kotlinlang.org/) ([source](https://togithub.com/JetBrains/kotlin)) | `2.0.10` -> `2.0.20` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.jetbrains.kotlin.jvm/2.0.20?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.devtools.ksp](https://goo.gle/ksp) ([source](https://redirect.github.com/google/ksp)) | `2.0.0-1.0.22` -> `2.0.21-1.0.25` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.devtools.ksp/2.0.21-1.0.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.devtools.ksp:symbol-processing-aa-embeddable](https://goo.gle/ksp) ([source](https://redirect.github.com/google/ksp)) | `2.0.0-1.0.22` -> `2.0.20-1.0.25` | [![age](https://developer.mend.io/api/mc/badges/age/maven/com.google.devtools.ksp:symbol-processing-aa-embeddable/2.0.20-1.0.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) |...

If you for example call `copy` on a `ClassName`, you get `TypeName` returned. The `copy` with `tags` parameter is overridden in the subclasses and returns the respective subclass. But the...

enhancement

**Describe the bug** Consider the following function ```kotlin interface Factory fun doSomething(factories: Set) { } // or fun doSomething(factories: @JvmSuppressWildcards Set) { } ``` And later in the processor ```kotlin...

bug