What problem does it solve?
It converts Java code into idiomatic Kotlin while preserving behavior and API intent, saving time and reducing mistakes during migration.
Core Features & Use Cases
- Javadoc to KDoc conversion with preserved wording: Translates Java API documentation into Kotlin documentation format, keeping the original wording meaningfully intact.
- Nullability-aware type migration: Applies Kotlin nullable types only when Java types are annotated as @Nullable, helping prevent incorrect null handling.
- Behavior-preserving Kotlin refactoring: Converts common Java constructs (getters/setters, static members, anonymous classes, builders) into Kotlin equivalents while keeping the same functionality.
Use cases include migrating a Java module to Kotlin, converting individual classes or methods, and modernizing documentation and API surfaces during a gradual adoption of Kotlin in a JVM codebase.
Quick Start
Ask the skill to convert the provided Java file(s) to Kotlin, preserving nullability and converting Javadoc to KDoc.