[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-kotlin-kotlin-tooling-immutable-collections-0-5-x-migration":3,"mdc-d0p43t-key":38,"related-org-kotlin-kotlin-tooling-immutable-collections-0-5-x-migration":1157,"related-repo-kotlin-kotlin-tooling-immutable-collections-0-5-x-migration":1245},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":33,"sourceUrl":36,"mdContent":37},"kotlin-tooling-immutable-collections-0-5-x-migration","migrate Kotlin projects to immutable collections 0.5.x","Migrate Kotlin (and Java) code from kotlinx.collections.immutable 0.3.x \u002F 0.4.x to the latest 0.5.x. The 0.5.x line renames every copy-returning method on PersistentList \u002F PersistentMap \u002F PersistentSet \u002F PersistentCollection to a participial form per KEEP-0459 (add→adding, removeAt→removingAt, set→replacingAt, put→putting, clear→cleared, …) and deprecates the old names (WARNING, with ReplaceWith). Driven by the compiler: bump the version, recompile, and apply the rename each deprecation warning names. Use when the user mentions kotlinx.collections.immutable 0.5.x, PersistentList migration, \"Use adding() instead\", KEEP-0459, or sees deprecation warnings from kotlinx.collections.immutable.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"kotlin","Kotlin","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fkotlin.png",[12,14,17,20,23],{"name":9,"slug":8,"type":13},"tag",{"name":15,"slug":16,"type":13},"Java","java",{"name":18,"slug":19,"type":13},"Migration","migration",{"name":21,"slug":22,"type":13},"Engineering","engineering",{"name":24,"slug":25,"type":13},"Tech Debt","tech-debt",963,"https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlin-agent-skills","2026-06-09T07:19:44.883299","Apache-2.0",35,[8,32],"skills",{"repoUrl":27,"stars":26,"forks":30,"topics":34,"description":35},[8,32],"A collection of AI agent skills useful for projects using Kotlin language","https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlin-agent-skills\u002Ftree\u002FHEAD\u002Fskills\u002Fkotlin-tooling-immutable-collections-0-5-x-migration","---\nname: kotlin-tooling-immutable-collections-0-5-x-migration\ndescription: >\n  Migrate Kotlin (and Java) code from kotlinx.collections.immutable 0.3.x \u002F 0.4.x to the\n  latest 0.5.x. The 0.5.x line renames every copy-returning method on PersistentList \u002F\n  PersistentMap \u002F PersistentSet \u002F PersistentCollection to a participial form per KEEP-0459\n  (add→adding, removeAt→removingAt, set→replacingAt, put→putting, clear→cleared, …) and\n  deprecates the old names (WARNING, with ReplaceWith). Driven by the compiler: bump the\n  version, recompile, and apply the rename each deprecation warning names. Use when the user\n  mentions kotlinx.collections.immutable 0.5.x, PersistentList migration, \"Use adding()\n  instead\", KEEP-0459, or sees deprecation warnings from kotlinx.collections.immutable.\nlicense: Apache-2.0\nmetadata:\n  author: JetBrains\n  version: \"2.4.0\"\n---\n\n# kotlinx.collections.immutable 0.5.x Migration\n\nThe 0.5.x line renames every copy-returning method on the persistent collections to a\nparticipial form (per [KEEP-0459]) and deprecates the old names at `WARNING` level with a\n`ReplaceWith` hint. Migrating is a mechanical, binary-compatible, semantics-preserving\ncall-site rename — same parameters, order, and return type; only the name changes.\n\nDrive it from the compiler: bump the version, recompile, and fix each deprecation warning —\nthe warning names the replacement. Source of truth: [`0.5.0-MIGRATION.md`].\n\n## When it applies\n\nCheck the version the project currently uses:\n\n- **0.3.x or 0.4.x** (any pre-0.5.0) → run the migration below.\n- **On 0.5.x but not the latest** → set the version to the latest 0.5.x and stop. All 0.5.x\n  releases share the same renames, so a within-line bump adds no new deprecations and needs\n  no recompile.\n- **On the latest 0.5.x, or on 0.6.x and later** → nothing to do.\n\n## Migration\n\n### 1. Find the build command\n\nCheck `README.md`, `CLAUDE.md`, or `AGENTS.md` for how the project builds; if it isn't\nwritten down, infer it from the build files — Gradle (`.\u002Fgradlew`), Maven (`mvn`, or the\n`.\u002Fmvnw` wrapper), Bazel\n(a `bazel` wrapper), or a custom script. Record the compile command (and the test command).\nIn a multi-module project you only need the modules that use the library, plus any you\nchange — not a whole-repo build.\n\n### 2. Baseline compile\n\nCompile on the current version and confirm it's green. If it doesn't build now, you can't\ntell post-migration errors from pre-existing ones — get a working compile command first.\n\n### 3. Bump to the latest 0.5.x\n\nFind where the version is pinned — `grep -rn kotlinx-collections-immutable` across the build\nfiles finds it (version catalog, build script, `gradle.properties`, `pom.xml`, …) — and set\nit to the latest 0.5.x on [Maven Central] (a `-beta` is fine). If the build pins artifact\nhashes (e.g. `gradle\u002Fverification-metadata.xml`), update those too — the cheapest fix is to\ncopy the new artifact's checksum straight from the dependency-verification failure message\nand add just that one entry, rather than regenerating the whole metadata file. The bump is\nbinary-compatible; old code keeps compiling with warnings. (If the dependency fails to\nresolve with a Kotlin metadata-version error, the project's Kotlin is too old for the 0.5.x\nartifact — bump Kotlin first.)\n\n### 4. Recompile and fix the warnings\n\nRecompile. Each renamed method carries `@Deprecated(WARNING, ReplaceWith(...))`, so the\ncompiler emits one warning per call site naming the replacement (e.g. *\"Use removingAll()\ninstead\"*). Apply that rename. Repeat compile → fix until no `kotlinx.collections.immutable`\ndeprecation warnings remain. (For multiplatform, one target compile surfaces the shared call\nsites. Pre-existing factory deprecations such as `immutableListOf` → `persistentListOf`\nappear the same way — apply those too.) A recompile that fails right after the bump is\nfailing *on these deprecations* (plus, if hashes are pinned, a one-time dependency-verification\nerror) — keep applying the renames the warnings name; don't re-run dependency-resolution or\nmetadata-regeneration commands to try to clear it.\n\n**Trust the compiler — never find\u002Freplace by name.** The same method names exist on\n`MutableList` \u002F `MutableMap` \u002F `MutableSet` and on the `.Builder` types, which mutate in\nplace and are *not* deprecated. Only the sites the compiler flags (receiver statically\n`Persistent*`) get renamed; if it didn't flag it, leave it.\n\n**An `Unresolved reference` after a rename means the participial name isn't on that\nreceiver — you've split a rename.** A rename only compiles if the *declaration* and *every*\ncall site move together. The library already did that for the kotlinx types, so renaming\ntheir call sites just works — but it doesn't hold for anything else that merely shares the\nnames. When a renamed call won't resolve, there are two cases:\n\n- The receiver is unrelated to this library (a `Mutable*`, a `.Builder`, a same-named method\n  on some other type) — the rename was wrong; revert that site.\n- The receiver is a project type the codebase is itself migrating — it implements a\n  `Persistent*`, or it's the project's own wrapper whose methods echo these names and get\n  renamed to match. The rename is right but *half-done*: rename the declaration and its\n  other callers too, so the call resolves. (Deprecated overrides on an implementer are\n  step 5.)\n\nDecide by the receiver's *declared* type, never the method name — a `Persistent*`-named\nfield may hold another type. This matters most when you can't lean on a fast recompile and\nare renaming from reading the source.\n\n**Java callers.** The recompile flags them only if the build reports javac deprecation\nwarnings (`-Xlint:deprecation`, usually off). If it doesn't, grep the `.java` files that\nimport the library for the old names and rename the calls whose receiver is a `Persistent*`\ntype.\n\nAfter the renames, the compiler may report some `@Suppress(\"DEPRECATION\")` as having no\neffect — remove those (re-read the region first, in case it still covers something else).\n\n### 5. Custom implementers\n\nIf the project has classes that implement `PersistentList` \u002F `PersistentMap` \u002F\n`PersistentSet` \u002F `PersistentCollection`, their deprecated overrides need migrating too.\nFind them:\n\n```bash\ngrep -rnE --include='*.kt' \\\n  '(class|object|interface)\\s+\\w[^:]*:\\s*[^{]*\\b(PersistentList|PersistentMap|PersistentSet|PersistentCollection)\\s*\u003C' .\n```\n\nOn Windows PowerShell, `Select-String` is the `grep` equivalent:\n\n```powershell\nGet-ChildItem -Recurse -Filter *.kt |\n  Select-String '(class|object|interface)\\s+\\w[^:]*:\\s*[^{]*\\b(PersistentList|PersistentMap|PersistentSet|PersistentCollection)\\s*\u003C'\n```\n\n(Confirm a match really lists the interface as a *supertype*, not just a field type or type\nargument.) For each, move the implementation into the new participial method and have the\ndeprecated override delegate to it:\n\n```kotlin\noverride fun adding(element: E): MyList\u003CE> = \u002F* real implementation *\u002F\n\n@Suppress(\"OVERRIDE_DEPRECATION\")\noverride fun add(element: E): MyList\u003CE> = adding(element)\n```\n\nIf the participial methods call each other, route those calls through participial siblings,\nnot the deprecated names. (Add `\"DEPRECATION\"` to the suppress only when an override body\nitself still calls a deprecated member.) Doing this now matters: at 0.6.0 the old names\nbecome compile errors, and at 0.7.0 they are removed. See [`0.5.0-MIGRATION.md`] for the\nupstream implementer guidance.\n\n### 6. Run any documented follow-up steps\n\nDo this *after* the renames compile clean, so that if you run low on time the call-site work\nis already done. Some projects document steps to run after a dependency change that the\ncompiler won't surface — most commonly regenerating dependency-verification metadata (the\n`gradle\u002Fverification-metadata.xml` hashes from step 3). Usually the single-entry fix from\nstep 3 is all you need; only fall back to the project's documented full-regeneration procedure\n(in `README.md` \u002F `CONTRIBUTING.md` \u002F `CLAUDE.md` \u002F `AGENTS.md`) if that one entry isn't\nenough. Run it **once** — a full `--write-verification-metadata` \u002F \"resolve all dependencies\"\npass re-resolves the entire graph and is slow, and repeating it rarely changes the outcome.\nThen re-confirm the build is clean.\n\n## Rename reference\n\n- **`PersistentCollection`** — `add`→`adding`, `addAll`→`addingAll`, `remove`→`removing`, `removeAll`→`removingAll`, `retainAll`→`retainingAll`, `clear`→`cleared`\n- **`PersistentList`** (the above, plus) — `add(i, e)`→`addingAt`, `addAll(i, c)`→`addingAllAt`, `set(i, e)`→`replacingAt`, `removeAt`→`removingAt`\n- **`PersistentMap`** — `put`→`putting`, `putAll`→`puttingAll`, `remove(k)`→`removing`, `remove(k, v)`→`removing`, `clear`→`cleared`\n\nBuilders (`PersistentList.Builder`, etc.) are **not** renamed — they mutate in place, so\ntheir imperative names stay.\n\n## Links\n\n- [`0.5.0-MIGRATION.md`] — upstream guide (source of truth, incl. implementer details)\n- [KEEP-0459] — naming rationale\n\n[KEEP-0459]: https:\u002F\u002Fgithub.com\u002FKotlin\u002FKEEP\u002Fblob\u002Fmain\u002Fproposals\u002FKEEP-0459-naming-conventions-for-copy-returning-operations.md\n[`0.5.0-MIGRATION.md`]: https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlinx.collections.immutable\u002Fblob\u002Fmaster\u002Fdocs\u002F0.5.0-MIGRATION.md\n[Maven Central]: https:\u002F\u002Fcentral.sonatype.com\u002Fartifact\u002Forg.jetbrains.kotlinx\u002Fkotlinx-collections-immutable\u002Fversions\n",{"data":39,"body":43},{"name":4,"description":6,"license":29,"metadata":40},{"author":41,"version":42},"JetBrains","2.4.0",{"type":44,"children":45},"root",[46,55,86,102,109,114,150,154,161,222,228,233,239,290,296,348,404,436,478,497,530,543,549,584,661,681,706,718,761,784,790,850,856,1101,1120,1126,1151],{"type":47,"tag":48,"props":49,"children":51},"element","h1",{"id":50},"kotlinxcollectionsimmutable-05x-migration",[52],{"type":53,"value":54},"text","kotlinx.collections.immutable 0.5.x Migration",{"type":47,"tag":56,"props":57,"children":58},"p",{},[59,61,67,69,76,78,84],{"type":53,"value":60},"The 0.5.x line renames every copy-returning method on the persistent collections to a\nparticipial form (per ",{"type":47,"tag":62,"props":63,"children":64},"span",{},[65],{"type":53,"value":66},"KEEP-0459",{"type":53,"value":68},") and deprecates the old names at ",{"type":47,"tag":70,"props":71,"children":73},"code",{"className":72},[],[74],{"type":53,"value":75},"WARNING",{"type":53,"value":77}," level with a\n",{"type":47,"tag":70,"props":79,"children":81},{"className":80},[],[82],{"type":53,"value":83},"ReplaceWith",{"type":53,"value":85}," hint. Migrating is a mechanical, binary-compatible, semantics-preserving\ncall-site rename — same parameters, order, and return type; only the name changes.",{"type":47,"tag":56,"props":87,"children":88},{},[89,91,100],{"type":53,"value":90},"Drive it from the compiler: bump the version, recompile, and fix each deprecation warning —\nthe warning names the replacement. Source of truth: ",{"type":47,"tag":62,"props":92,"children":93},{},[94],{"type":47,"tag":70,"props":95,"children":97},{"className":96},[],[98],{"type":53,"value":99},"0.5.0-MIGRATION.md",{"type":53,"value":101},".",{"type":47,"tag":103,"props":104,"children":106},"h2",{"id":105},"when-it-applies",[107],{"type":53,"value":108},"When it applies",{"type":47,"tag":56,"props":110,"children":111},{},[112],{"type":53,"value":113},"Check the version the project currently uses:",{"type":47,"tag":115,"props":116,"children":117},"ul",{},[118,130,140],{"type":47,"tag":119,"props":120,"children":121},"li",{},[122,128],{"type":47,"tag":123,"props":124,"children":125},"strong",{},[126],{"type":53,"value":127},"0.3.x or 0.4.x",{"type":53,"value":129}," (any pre-0.5.0) → run the migration below.",{"type":47,"tag":119,"props":131,"children":132},{},[133,138],{"type":47,"tag":123,"props":134,"children":135},{},[136],{"type":53,"value":137},"On 0.5.x but not the latest",{"type":53,"value":139}," → set the version to the latest 0.5.x and stop. All 0.5.x\nreleases share the same renames, so a within-line bump adds no new deprecations and needs\nno recompile.",{"type":47,"tag":119,"props":141,"children":142},{},[143,148],{"type":47,"tag":123,"props":144,"children":145},{},[146],{"type":53,"value":147},"On the latest 0.5.x, or on 0.6.x and later",{"type":53,"value":149}," → nothing to do.",{"type":47,"tag":103,"props":151,"children":152},{"id":19},[153],{"type":53,"value":18},{"type":47,"tag":155,"props":156,"children":158},"h3",{"id":157},"_1-find-the-build-command",[159],{"type":53,"value":160},"1. Find the build command",{"type":47,"tag":56,"props":162,"children":163},{},[164,166,172,174,180,182,188,190,196,198,204,206,212,214,220],{"type":53,"value":165},"Check ",{"type":47,"tag":70,"props":167,"children":169},{"className":168},[],[170],{"type":53,"value":171},"README.md",{"type":53,"value":173},", ",{"type":47,"tag":70,"props":175,"children":177},{"className":176},[],[178],{"type":53,"value":179},"CLAUDE.md",{"type":53,"value":181},", or ",{"type":47,"tag":70,"props":183,"children":185},{"className":184},[],[186],{"type":53,"value":187},"AGENTS.md",{"type":53,"value":189}," for how the project builds; if it isn't\nwritten down, infer it from the build files — Gradle (",{"type":47,"tag":70,"props":191,"children":193},{"className":192},[],[194],{"type":53,"value":195},".\u002Fgradlew",{"type":53,"value":197},"), Maven (",{"type":47,"tag":70,"props":199,"children":201},{"className":200},[],[202],{"type":53,"value":203},"mvn",{"type":53,"value":205},", or the\n",{"type":47,"tag":70,"props":207,"children":209},{"className":208},[],[210],{"type":53,"value":211},".\u002Fmvnw",{"type":53,"value":213}," wrapper), Bazel\n(a ",{"type":47,"tag":70,"props":215,"children":217},{"className":216},[],[218],{"type":53,"value":219},"bazel",{"type":53,"value":221}," wrapper), or a custom script. Record the compile command (and the test command).\nIn a multi-module project you only need the modules that use the library, plus any you\nchange — not a whole-repo build.",{"type":47,"tag":155,"props":223,"children":225},{"id":224},"_2-baseline-compile",[226],{"type":53,"value":227},"2. Baseline compile",{"type":47,"tag":56,"props":229,"children":230},{},[231],{"type":53,"value":232},"Compile on the current version and confirm it's green. If it doesn't build now, you can't\ntell post-migration errors from pre-existing ones — get a working compile command first.",{"type":47,"tag":155,"props":234,"children":236},{"id":235},"_3-bump-to-the-latest-05x",[237],{"type":53,"value":238},"3. Bump to the latest 0.5.x",{"type":47,"tag":56,"props":240,"children":241},{},[242,244,250,252,258,259,265,267,272,274,280,282,288],{"type":53,"value":243},"Find where the version is pinned — ",{"type":47,"tag":70,"props":245,"children":247},{"className":246},[],[248],{"type":53,"value":249},"grep -rn kotlinx-collections-immutable",{"type":53,"value":251}," across the build\nfiles finds it (version catalog, build script, ",{"type":47,"tag":70,"props":253,"children":255},{"className":254},[],[256],{"type":53,"value":257},"gradle.properties",{"type":53,"value":173},{"type":47,"tag":70,"props":260,"children":262},{"className":261},[],[263],{"type":53,"value":264},"pom.xml",{"type":53,"value":266},", …) — and set\nit to the latest 0.5.x on ",{"type":47,"tag":62,"props":268,"children":269},{},[270],{"type":53,"value":271},"Maven Central",{"type":53,"value":273}," (a ",{"type":47,"tag":70,"props":275,"children":277},{"className":276},[],[278],{"type":53,"value":279},"-beta",{"type":53,"value":281}," is fine). If the build pins artifact\nhashes (e.g. ",{"type":47,"tag":70,"props":283,"children":285},{"className":284},[],[286],{"type":53,"value":287},"gradle\u002Fverification-metadata.xml",{"type":53,"value":289},"), update those too — the cheapest fix is to\ncopy the new artifact's checksum straight from the dependency-verification failure message\nand add just that one entry, rather than regenerating the whole metadata file. The bump is\nbinary-compatible; old code keeps compiling with warnings. (If the dependency fails to\nresolve with a Kotlin metadata-version error, the project's Kotlin is too old for the 0.5.x\nartifact — bump Kotlin first.)",{"type":47,"tag":155,"props":291,"children":293},{"id":292},"_4-recompile-and-fix-the-warnings",[294],{"type":53,"value":295},"4. Recompile and fix the warnings",{"type":47,"tag":56,"props":297,"children":298},{},[299,301,307,309,315,317,323,325,331,333,339,341,346],{"type":53,"value":300},"Recompile. Each renamed method carries ",{"type":47,"tag":70,"props":302,"children":304},{"className":303},[],[305],{"type":53,"value":306},"@Deprecated(WARNING, ReplaceWith(...))",{"type":53,"value":308},", so the\ncompiler emits one warning per call site naming the replacement (e.g. ",{"type":47,"tag":310,"props":311,"children":312},"em",{},[313],{"type":53,"value":314},"\"Use removingAll()\ninstead\"",{"type":53,"value":316},"). Apply that rename. Repeat compile → fix until no ",{"type":47,"tag":70,"props":318,"children":320},{"className":319},[],[321],{"type":53,"value":322},"kotlinx.collections.immutable",{"type":53,"value":324},"\ndeprecation warnings remain. (For multiplatform, one target compile surfaces the shared call\nsites. Pre-existing factory deprecations such as ",{"type":47,"tag":70,"props":326,"children":328},{"className":327},[],[329],{"type":53,"value":330},"immutableListOf",{"type":53,"value":332}," → ",{"type":47,"tag":70,"props":334,"children":336},{"className":335},[],[337],{"type":53,"value":338},"persistentListOf",{"type":53,"value":340},"\nappear the same way — apply those too.) A recompile that fails right after the bump is\nfailing ",{"type":47,"tag":310,"props":342,"children":343},{},[344],{"type":53,"value":345},"on these deprecations",{"type":53,"value":347}," (plus, if hashes are pinned, a one-time dependency-verification\nerror) — keep applying the renames the warnings name; don't re-run dependency-resolution or\nmetadata-regeneration commands to try to clear it.",{"type":47,"tag":56,"props":349,"children":350},{},[351,356,358,364,366,372,373,379,381,387,389,394,396,402],{"type":47,"tag":123,"props":352,"children":353},{},[354],{"type":53,"value":355},"Trust the compiler — never find\u002Freplace by name.",{"type":53,"value":357}," The same method names exist on\n",{"type":47,"tag":70,"props":359,"children":361},{"className":360},[],[362],{"type":53,"value":363},"MutableList",{"type":53,"value":365}," \u002F ",{"type":47,"tag":70,"props":367,"children":369},{"className":368},[],[370],{"type":53,"value":371},"MutableMap",{"type":53,"value":365},{"type":47,"tag":70,"props":374,"children":376},{"className":375},[],[377],{"type":53,"value":378},"MutableSet",{"type":53,"value":380}," and on the ",{"type":47,"tag":70,"props":382,"children":384},{"className":383},[],[385],{"type":53,"value":386},".Builder",{"type":53,"value":388}," types, which mutate in\nplace and are ",{"type":47,"tag":310,"props":390,"children":391},{},[392],{"type":53,"value":393},"not",{"type":53,"value":395}," deprecated. Only the sites the compiler flags (receiver statically\n",{"type":47,"tag":70,"props":397,"children":399},{"className":398},[],[400],{"type":53,"value":401},"Persistent*",{"type":53,"value":403},") get renamed; if it didn't flag it, leave it.",{"type":47,"tag":56,"props":405,"children":406},{},[407,420,422,427,429,434],{"type":47,"tag":123,"props":408,"children":409},{},[410,412,418],{"type":53,"value":411},"An ",{"type":47,"tag":70,"props":413,"children":415},{"className":414},[],[416],{"type":53,"value":417},"Unresolved reference",{"type":53,"value":419}," after a rename means the participial name isn't on that\nreceiver — you've split a rename.",{"type":53,"value":421}," A rename only compiles if the ",{"type":47,"tag":310,"props":423,"children":424},{},[425],{"type":53,"value":426},"declaration",{"type":53,"value":428}," and ",{"type":47,"tag":310,"props":430,"children":431},{},[432],{"type":53,"value":433},"every",{"type":53,"value":435},"\ncall site move together. The library already did that for the kotlinx types, so renaming\ntheir call sites just works — but it doesn't hold for anything else that merely shares the\nnames. When a renamed call won't resolve, there are two cases:",{"type":47,"tag":115,"props":437,"children":438},{},[439,459],{"type":47,"tag":119,"props":440,"children":441},{},[442,444,450,452,457],{"type":53,"value":443},"The receiver is unrelated to this library (a ",{"type":47,"tag":70,"props":445,"children":447},{"className":446},[],[448],{"type":53,"value":449},"Mutable*",{"type":53,"value":451},", a ",{"type":47,"tag":70,"props":453,"children":455},{"className":454},[],[456],{"type":53,"value":386},{"type":53,"value":458},", a same-named method\non some other type) — the rename was wrong; revert that site.",{"type":47,"tag":119,"props":460,"children":461},{},[462,464,469,471,476],{"type":53,"value":463},"The receiver is a project type the codebase is itself migrating — it implements a\n",{"type":47,"tag":70,"props":465,"children":467},{"className":466},[],[468],{"type":53,"value":401},{"type":53,"value":470},", or it's the project's own wrapper whose methods echo these names and get\nrenamed to match. The rename is right but ",{"type":47,"tag":310,"props":472,"children":473},{},[474],{"type":53,"value":475},"half-done",{"type":53,"value":477},": rename the declaration and its\nother callers too, so the call resolves. (Deprecated overrides on an implementer are\nstep 5.)",{"type":47,"tag":56,"props":479,"children":480},{},[481,483,488,490,495],{"type":53,"value":482},"Decide by the receiver's ",{"type":47,"tag":310,"props":484,"children":485},{},[486],{"type":53,"value":487},"declared",{"type":53,"value":489}," type, never the method name — a ",{"type":47,"tag":70,"props":491,"children":493},{"className":492},[],[494],{"type":53,"value":401},{"type":53,"value":496},"-named\nfield may hold another type. This matters most when you can't lean on a fast recompile and\nare renaming from reading the source.",{"type":47,"tag":56,"props":498,"children":499},{},[500,505,507,513,515,521,523,528],{"type":47,"tag":123,"props":501,"children":502},{},[503],{"type":53,"value":504},"Java callers.",{"type":53,"value":506}," The recompile flags them only if the build reports javac deprecation\nwarnings (",{"type":47,"tag":70,"props":508,"children":510},{"className":509},[],[511],{"type":53,"value":512},"-Xlint:deprecation",{"type":53,"value":514},", usually off). If it doesn't, grep the ",{"type":47,"tag":70,"props":516,"children":518},{"className":517},[],[519],{"type":53,"value":520},".java",{"type":53,"value":522}," files that\nimport the library for the old names and rename the calls whose receiver is a ",{"type":47,"tag":70,"props":524,"children":526},{"className":525},[],[527],{"type":53,"value":401},{"type":53,"value":529},"\ntype.",{"type":47,"tag":56,"props":531,"children":532},{},[533,535,541],{"type":53,"value":534},"After the renames, the compiler may report some ",{"type":47,"tag":70,"props":536,"children":538},{"className":537},[],[539],{"type":53,"value":540},"@Suppress(\"DEPRECATION\")",{"type":53,"value":542}," as having no\neffect — remove those (re-read the region first, in case it still covers something else).",{"type":47,"tag":155,"props":544,"children":546},{"id":545},"_5-custom-implementers",[547],{"type":53,"value":548},"5. Custom implementers",{"type":47,"tag":56,"props":550,"children":551},{},[552,554,560,561,567,569,575,576,582],{"type":53,"value":553},"If the project has classes that implement ",{"type":47,"tag":70,"props":555,"children":557},{"className":556},[],[558],{"type":53,"value":559},"PersistentList",{"type":53,"value":365},{"type":47,"tag":70,"props":562,"children":564},{"className":563},[],[565],{"type":53,"value":566},"PersistentMap",{"type":53,"value":568}," \u002F\n",{"type":47,"tag":70,"props":570,"children":572},{"className":571},[],[573],{"type":53,"value":574},"PersistentSet",{"type":53,"value":365},{"type":47,"tag":70,"props":577,"children":579},{"className":578},[],[580],{"type":53,"value":581},"PersistentCollection",{"type":53,"value":583},", their deprecated overrides need migrating too.\nFind them:",{"type":47,"tag":585,"props":586,"children":591},"pre",{"className":587,"code":588,"language":589,"meta":590,"style":590},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","grep -rnE --include='*.kt' \\\n  '(class|object|interface)\\s+\\w[^:]*:\\s*[^{]*\\b(PersistentList|PersistentMap|PersistentSet|PersistentCollection)\\s*\u003C' .\n","bash","",[592],{"type":47,"tag":70,"props":593,"children":594},{"__ignoreMap":590},[595,638],{"type":47,"tag":62,"props":596,"children":599},{"class":597,"line":598},"line",1,[600,606,612,617,623,628,632],{"type":47,"tag":62,"props":601,"children":603},{"style":602},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[604],{"type":53,"value":605},"grep",{"type":47,"tag":62,"props":607,"children":609},{"style":608},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[610],{"type":53,"value":611}," -rnE",{"type":47,"tag":62,"props":613,"children":614},{"style":608},[615],{"type":53,"value":616}," --include=",{"type":47,"tag":62,"props":618,"children":620},{"style":619},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[621],{"type":53,"value":622},"'",{"type":47,"tag":62,"props":624,"children":625},{"style":608},[626],{"type":53,"value":627},"*.kt",{"type":47,"tag":62,"props":629,"children":630},{"style":619},[631],{"type":53,"value":622},{"type":47,"tag":62,"props":633,"children":635},{"style":634},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[636],{"type":53,"value":637}," \\\n",{"type":47,"tag":62,"props":639,"children":641},{"class":597,"line":640},2,[642,647,652,656],{"type":47,"tag":62,"props":643,"children":644},{"style":619},[645],{"type":53,"value":646},"  '",{"type":47,"tag":62,"props":648,"children":649},{"style":608},[650],{"type":53,"value":651},"(class|object|interface)\\s+\\w[^:]*:\\s*[^{]*\\b(PersistentList|PersistentMap|PersistentSet|PersistentCollection)\\s*\u003C",{"type":47,"tag":62,"props":653,"children":654},{"style":619},[655],{"type":53,"value":622},{"type":47,"tag":62,"props":657,"children":658},{"style":608},[659],{"type":53,"value":660}," .\n",{"type":47,"tag":56,"props":662,"children":663},{},[664,666,672,674,679],{"type":53,"value":665},"On Windows PowerShell, ",{"type":47,"tag":70,"props":667,"children":669},{"className":668},[],[670],{"type":53,"value":671},"Select-String",{"type":53,"value":673}," is the ",{"type":47,"tag":70,"props":675,"children":677},{"className":676},[],[678],{"type":53,"value":605},{"type":53,"value":680}," equivalent:",{"type":47,"tag":585,"props":682,"children":686},{"className":683,"code":684,"language":685,"meta":590,"style":590},"language-powershell shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","Get-ChildItem -Recurse -Filter *.kt |\n  Select-String '(class|object|interface)\\s+\\w[^:]*:\\s*[^{]*\\b(PersistentList|PersistentMap|PersistentSet|PersistentCollection)\\s*\u003C'\n","powershell",[687],{"type":47,"tag":70,"props":688,"children":689},{"__ignoreMap":590},[690,698],{"type":47,"tag":62,"props":691,"children":692},{"class":597,"line":598},[693],{"type":47,"tag":62,"props":694,"children":695},{},[696],{"type":53,"value":697},"Get-ChildItem -Recurse -Filter *.kt |\n",{"type":47,"tag":62,"props":699,"children":700},{"class":597,"line":640},[701],{"type":47,"tag":62,"props":702,"children":703},{},[704],{"type":53,"value":705},"  Select-String '(class|object|interface)\\s+\\w[^:]*:\\s*[^{]*\\b(PersistentList|PersistentMap|PersistentSet|PersistentCollection)\\s*\u003C'\n",{"type":47,"tag":56,"props":707,"children":708},{},[709,711,716],{"type":53,"value":710},"(Confirm a match really lists the interface as a ",{"type":47,"tag":310,"props":712,"children":713},{},[714],{"type":53,"value":715},"supertype",{"type":53,"value":717},", not just a field type or type\nargument.) For each, move the implementation into the new participial method and have the\ndeprecated override delegate to it:",{"type":47,"tag":585,"props":719,"children":722},{"className":720,"code":721,"language":8,"meta":590,"style":590},"language-kotlin shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","override fun adding(element: E): MyList\u003CE> = \u002F* real implementation *\u002F\n\n@Suppress(\"OVERRIDE_DEPRECATION\")\noverride fun add(element: E): MyList\u003CE> = adding(element)\n",[723],{"type":47,"tag":70,"props":724,"children":725},{"__ignoreMap":590},[726,734,743,752],{"type":47,"tag":62,"props":727,"children":728},{"class":597,"line":598},[729],{"type":47,"tag":62,"props":730,"children":731},{},[732],{"type":53,"value":733},"override fun adding(element: E): MyList\u003CE> = \u002F* real implementation *\u002F\n",{"type":47,"tag":62,"props":735,"children":736},{"class":597,"line":640},[737],{"type":47,"tag":62,"props":738,"children":740},{"emptyLinePlaceholder":739},true,[741],{"type":53,"value":742},"\n",{"type":47,"tag":62,"props":744,"children":746},{"class":597,"line":745},3,[747],{"type":47,"tag":62,"props":748,"children":749},{},[750],{"type":53,"value":751},"@Suppress(\"OVERRIDE_DEPRECATION\")\n",{"type":47,"tag":62,"props":753,"children":755},{"class":597,"line":754},4,[756],{"type":47,"tag":62,"props":757,"children":758},{},[759],{"type":53,"value":760},"override fun add(element: E): MyList\u003CE> = adding(element)\n",{"type":47,"tag":56,"props":762,"children":763},{},[764,766,772,774,782],{"type":53,"value":765},"If the participial methods call each other, route those calls through participial siblings,\nnot the deprecated names. (Add ",{"type":47,"tag":70,"props":767,"children":769},{"className":768},[],[770],{"type":53,"value":771},"\"DEPRECATION\"",{"type":53,"value":773}," to the suppress only when an override body\nitself still calls a deprecated member.) Doing this now matters: at 0.6.0 the old names\nbecome compile errors, and at 0.7.0 they are removed. See ",{"type":47,"tag":62,"props":775,"children":776},{},[777],{"type":47,"tag":70,"props":778,"children":780},{"className":779},[],[781],{"type":53,"value":99},{"type":53,"value":783}," for the\nupstream implementer guidance.",{"type":47,"tag":155,"props":785,"children":787},{"id":786},"_6-run-any-documented-follow-up-steps",[788],{"type":53,"value":789},"6. Run any documented follow-up steps",{"type":47,"tag":56,"props":791,"children":792},{},[793,795,800,802,807,809,814,815,821,822,827,828,833,835,840,842,848],{"type":53,"value":794},"Do this ",{"type":47,"tag":310,"props":796,"children":797},{},[798],{"type":53,"value":799},"after",{"type":53,"value":801}," the renames compile clean, so that if you run low on time the call-site work\nis already done. Some projects document steps to run after a dependency change that the\ncompiler won't surface — most commonly regenerating dependency-verification metadata (the\n",{"type":47,"tag":70,"props":803,"children":805},{"className":804},[],[806],{"type":53,"value":287},{"type":53,"value":808}," hashes from step 3). Usually the single-entry fix from\nstep 3 is all you need; only fall back to the project's documented full-regeneration procedure\n(in ",{"type":47,"tag":70,"props":810,"children":812},{"className":811},[],[813],{"type":53,"value":171},{"type":53,"value":365},{"type":47,"tag":70,"props":816,"children":818},{"className":817},[],[819],{"type":53,"value":820},"CONTRIBUTING.md",{"type":53,"value":365},{"type":47,"tag":70,"props":823,"children":825},{"className":824},[],[826],{"type":53,"value":179},{"type":53,"value":365},{"type":47,"tag":70,"props":829,"children":831},{"className":830},[],[832],{"type":53,"value":187},{"type":53,"value":834},") if that one entry isn't\nenough. Run it ",{"type":47,"tag":123,"props":836,"children":837},{},[838],{"type":53,"value":839},"once",{"type":53,"value":841}," — a full ",{"type":47,"tag":70,"props":843,"children":845},{"className":844},[],[846],{"type":53,"value":847},"--write-verification-metadata",{"type":53,"value":849}," \u002F \"resolve all dependencies\"\npass re-resolves the entire graph and is slow, and repeating it rarely changes the outcome.\nThen re-confirm the build is clean.",{"type":47,"tag":103,"props":851,"children":853},{"id":852},"rename-reference",[854],{"type":53,"value":855},"Rename reference",{"type":47,"tag":115,"props":857,"children":858},{},[859,956,1024],{"type":47,"tag":119,"props":860,"children":861},{},[862,870,872,878,880,886,887,893,894,900,901,907,908,914,915,921,922,928,929,935,936,942,943,949,950],{"type":47,"tag":123,"props":863,"children":864},{},[865],{"type":47,"tag":70,"props":866,"children":868},{"className":867},[],[869],{"type":53,"value":581},{"type":53,"value":871}," — ",{"type":47,"tag":70,"props":873,"children":875},{"className":874},[],[876],{"type":53,"value":877},"add",{"type":53,"value":879},"→",{"type":47,"tag":70,"props":881,"children":883},{"className":882},[],[884],{"type":53,"value":885},"adding",{"type":53,"value":173},{"type":47,"tag":70,"props":888,"children":890},{"className":889},[],[891],{"type":53,"value":892},"addAll",{"type":53,"value":879},{"type":47,"tag":70,"props":895,"children":897},{"className":896},[],[898],{"type":53,"value":899},"addingAll",{"type":53,"value":173},{"type":47,"tag":70,"props":902,"children":904},{"className":903},[],[905],{"type":53,"value":906},"remove",{"type":53,"value":879},{"type":47,"tag":70,"props":909,"children":911},{"className":910},[],[912],{"type":53,"value":913},"removing",{"type":53,"value":173},{"type":47,"tag":70,"props":916,"children":918},{"className":917},[],[919],{"type":53,"value":920},"removeAll",{"type":53,"value":879},{"type":47,"tag":70,"props":923,"children":925},{"className":924},[],[926],{"type":53,"value":927},"removingAll",{"type":53,"value":173},{"type":47,"tag":70,"props":930,"children":932},{"className":931},[],[933],{"type":53,"value":934},"retainAll",{"type":53,"value":879},{"type":47,"tag":70,"props":937,"children":939},{"className":938},[],[940],{"type":53,"value":941},"retainingAll",{"type":53,"value":173},{"type":47,"tag":70,"props":944,"children":946},{"className":945},[],[947],{"type":53,"value":948},"clear",{"type":53,"value":879},{"type":47,"tag":70,"props":951,"children":953},{"className":952},[],[954],{"type":53,"value":955},"cleared",{"type":47,"tag":119,"props":957,"children":958},{},[959,967,969,975,976,982,983,989,990,996,997,1003,1004,1010,1011,1017,1018],{"type":47,"tag":123,"props":960,"children":961},{},[962],{"type":47,"tag":70,"props":963,"children":965},{"className":964},[],[966],{"type":53,"value":559},{"type":53,"value":968}," (the above, plus) — ",{"type":47,"tag":70,"props":970,"children":972},{"className":971},[],[973],{"type":53,"value":974},"add(i, e)",{"type":53,"value":879},{"type":47,"tag":70,"props":977,"children":979},{"className":978},[],[980],{"type":53,"value":981},"addingAt",{"type":53,"value":173},{"type":47,"tag":70,"props":984,"children":986},{"className":985},[],[987],{"type":53,"value":988},"addAll(i, c)",{"type":53,"value":879},{"type":47,"tag":70,"props":991,"children":993},{"className":992},[],[994],{"type":53,"value":995},"addingAllAt",{"type":53,"value":173},{"type":47,"tag":70,"props":998,"children":1000},{"className":999},[],[1001],{"type":53,"value":1002},"set(i, e)",{"type":53,"value":879},{"type":47,"tag":70,"props":1005,"children":1007},{"className":1006},[],[1008],{"type":53,"value":1009},"replacingAt",{"type":53,"value":173},{"type":47,"tag":70,"props":1012,"children":1014},{"className":1013},[],[1015],{"type":53,"value":1016},"removeAt",{"type":53,"value":879},{"type":47,"tag":70,"props":1019,"children":1021},{"className":1020},[],[1022],{"type":53,"value":1023},"removingAt",{"type":47,"tag":119,"props":1025,"children":1026},{},[1027,1035,1036,1042,1043,1049,1050,1056,1057,1063,1064,1070,1071,1076,1077,1083,1084,1089,1090,1095,1096],{"type":47,"tag":123,"props":1028,"children":1029},{},[1030],{"type":47,"tag":70,"props":1031,"children":1033},{"className":1032},[],[1034],{"type":53,"value":566},{"type":53,"value":871},{"type":47,"tag":70,"props":1037,"children":1039},{"className":1038},[],[1040],{"type":53,"value":1041},"put",{"type":53,"value":879},{"type":47,"tag":70,"props":1044,"children":1046},{"className":1045},[],[1047],{"type":53,"value":1048},"putting",{"type":53,"value":173},{"type":47,"tag":70,"props":1051,"children":1053},{"className":1052},[],[1054],{"type":53,"value":1055},"putAll",{"type":53,"value":879},{"type":47,"tag":70,"props":1058,"children":1060},{"className":1059},[],[1061],{"type":53,"value":1062},"puttingAll",{"type":53,"value":173},{"type":47,"tag":70,"props":1065,"children":1067},{"className":1066},[],[1068],{"type":53,"value":1069},"remove(k)",{"type":53,"value":879},{"type":47,"tag":70,"props":1072,"children":1074},{"className":1073},[],[1075],{"type":53,"value":913},{"type":53,"value":173},{"type":47,"tag":70,"props":1078,"children":1080},{"className":1079},[],[1081],{"type":53,"value":1082},"remove(k, v)",{"type":53,"value":879},{"type":47,"tag":70,"props":1085,"children":1087},{"className":1086},[],[1088],{"type":53,"value":913},{"type":53,"value":173},{"type":47,"tag":70,"props":1091,"children":1093},{"className":1092},[],[1094],{"type":53,"value":948},{"type":53,"value":879},{"type":47,"tag":70,"props":1097,"children":1099},{"className":1098},[],[1100],{"type":53,"value":955},{"type":47,"tag":56,"props":1102,"children":1103},{},[1104,1106,1112,1114,1118],{"type":53,"value":1105},"Builders (",{"type":47,"tag":70,"props":1107,"children":1109},{"className":1108},[],[1110],{"type":53,"value":1111},"PersistentList.Builder",{"type":53,"value":1113},", etc.) are ",{"type":47,"tag":123,"props":1115,"children":1116},{},[1117],{"type":53,"value":393},{"type":53,"value":1119}," renamed — they mutate in place, so\ntheir imperative names stay.",{"type":47,"tag":103,"props":1121,"children":1123},{"id":1122},"links",[1124],{"type":53,"value":1125},"Links",{"type":47,"tag":115,"props":1127,"children":1128},{},[1129,1142],{"type":47,"tag":119,"props":1130,"children":1131},{},[1132,1140],{"type":47,"tag":62,"props":1133,"children":1134},{},[1135],{"type":47,"tag":70,"props":1136,"children":1138},{"className":1137},[],[1139],{"type":53,"value":99},{"type":53,"value":1141}," — upstream guide (source of truth, incl. implementer details)",{"type":47,"tag":119,"props":1143,"children":1144},{},[1145,1149],{"type":47,"tag":62,"props":1146,"children":1147},{},[1148],{"type":53,"value":66},{"type":53,"value":1150}," — naming rationale",{"type":47,"tag":1152,"props":1153,"children":1154},"style",{},[1155],{"type":53,"value":1156},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1158,"total":1244},[1159,1179,1194,1210,1218,1231],{"slug":1160,"name":1160,"fn":1161,"description":1162,"org":1163,"tags":1164,"stars":26,"repoUrl":27,"updatedAt":1178},"kotlin-backend-jpa-entity-mapping","map JPA entities in Kotlin backend apps","Model Kotlin persistence code correctly for Spring Data JPA and Hibernate. Covers entity design, identity and equality, uniqueness constraints, relationships, fetch plans, and common ORM (Object-Relational Mapping) traps  specific to Kotlin. Use when creating or reviewing JPA (Java Persistence API)  entities, diagnosing N+1 or LazyInitializationException, placing indexes and  uniqueness rules, or preventing Kotlin-specific bugs such as data class  entities and broken equals\u002FhashCode.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1165,1168,1171,1174,1175],{"name":1166,"slug":1167,"type":13},"Backend","backend",{"name":1169,"slug":1170,"type":13},"Data Modeling","data-modeling",{"name":1172,"slug":1173,"type":13},"Database","database",{"name":9,"slug":8,"type":13},{"name":1176,"slug":1177,"type":13},"ORM","orm","2026-04-06T18:26:01.44065",{"slug":1180,"name":1180,"fn":1181,"description":1182,"org":1183,"tags":1184,"stars":26,"repoUrl":27,"updatedAt":1193},"kotlin-tooling-agp9-migration","migrate KMP projects to AGP 9.0","Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Handles plugin replacement (com.android.kotlin.multiplatform.library), module splitting, DSL migration, and the new default project structure. Use when upgrading AGP, when build fails due to KMP+AGP incompatibility, or when the user mentions AGP 9.0, android multiplatform plugin, KMP migration, or com.android.kotlin.multiplatform.library.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1185,1188,1189,1190],{"name":1186,"slug":1187,"type":13},"Android","android",{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"name":1191,"slug":1192,"type":13},"Mobile","mobile","2026-04-06T18:25:58.945632",{"slug":1195,"name":1195,"fn":1196,"description":1197,"org":1198,"tags":1199,"stars":26,"repoUrl":27,"updatedAt":1209},"kotlin-tooling-cocoapods-spm-migration","migrate KMP projects from CocoaPods to SPM","Migrate KMP projects from CocoaPods (kotlin(\"native.cocoapods\")) to Swift Package Manager (swiftPMDependencies DSL) — replaces pod() with swiftPackage(), transforms cocoapods.* imports to swiftPMImport.*, and reconfigures the Xcode project.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1200,1203,1204,1205,1206],{"name":1201,"slug":1202,"type":13},"iOS","ios",{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"name":1191,"slug":1192,"type":13},{"name":1207,"slug":1208,"type":13},"Swift","swift","2026-04-06T18:25:57.691016",{"slug":4,"name":4,"fn":5,"description":6,"org":1211,"tags":1212,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1213,1214,1215,1216,1217],{"name":21,"slug":22,"type":13},{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"name":24,"slug":25,"type":13},{"slug":1219,"name":1219,"fn":1220,"description":1221,"org":1222,"tags":1223,"stars":26,"repoUrl":27,"updatedAt":1230},"kotlin-tooling-java-to-kotlin","convert Java code to idiomatic Kotlin","Use when converting Java source files to idiomatic Kotlin, when user mentions \"java to kotlin\", \"j2k\", \"convert java\", \"migrate java to kotlin\", or when working with .java files that need to become .kt files. Handles framework-aware conversion for Spring, Lombok, Hibernate, Jackson, Micronaut, Quarkus, Dagger\u002FHilt, RxJava, JUnit, Guice, Retrofit, and Mockito.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1224,1227,1228,1229],{"name":1225,"slug":1226,"type":13},"Code Analysis","code-analysis",{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},"2026-04-06T18:26:00.191761",{"slug":1232,"name":1232,"fn":1233,"description":1234,"org":1235,"tags":1236,"stars":26,"repoUrl":27,"updatedAt":1243},"kotlin-tooling-native-build-performance","optimize Kotlin Native build performance","Diagnoses and fixes slow Kotlin\u002FNative compilation and linking in Kotlin Multiplatform projects that target iOS. Use when the user reports slow iOS or shared-framework builds, long linkDebug*\u002FlinkRelease* or XCFramework tasks, cold CI builds that re-download the Kotlin\u002FNative toolchain, KSP or other generated code on the native path, transitiveExport usage, or asks for a local-development versus CI build performance plan.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1237,1238,1239,1240],{"name":1201,"slug":1202,"type":13},{"name":9,"slug":8,"type":13},{"name":1191,"slug":1192,"type":13},{"name":1241,"slug":1242,"type":13},"Performance","performance","2026-07-18T05:47:25.998032",6,{"items":1246,"total":1244},[1247,1255,1262,1270,1278,1285],{"slug":1160,"name":1160,"fn":1161,"description":1162,"org":1248,"tags":1249,"stars":26,"repoUrl":27,"updatedAt":1178},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1250,1251,1252,1253,1254],{"name":1166,"slug":1167,"type":13},{"name":1169,"slug":1170,"type":13},{"name":1172,"slug":1173,"type":13},{"name":9,"slug":8,"type":13},{"name":1176,"slug":1177,"type":13},{"slug":1180,"name":1180,"fn":1181,"description":1182,"org":1256,"tags":1257,"stars":26,"repoUrl":27,"updatedAt":1193},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1258,1259,1260,1261],{"name":1186,"slug":1187,"type":13},{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"name":1191,"slug":1192,"type":13},{"slug":1195,"name":1195,"fn":1196,"description":1197,"org":1263,"tags":1264,"stars":26,"repoUrl":27,"updatedAt":1209},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1265,1266,1267,1268,1269],{"name":1201,"slug":1202,"type":13},{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"name":1191,"slug":1192,"type":13},{"name":1207,"slug":1208,"type":13},{"slug":4,"name":4,"fn":5,"description":6,"org":1271,"tags":1272,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1273,1274,1275,1276,1277],{"name":21,"slug":22,"type":13},{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"name":24,"slug":25,"type":13},{"slug":1219,"name":1219,"fn":1220,"description":1221,"org":1279,"tags":1280,"stars":26,"repoUrl":27,"updatedAt":1230},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1281,1282,1283,1284],{"name":1225,"slug":1226,"type":13},{"name":15,"slug":16,"type":13},{"name":9,"slug":8,"type":13},{"name":18,"slug":19,"type":13},{"slug":1232,"name":1232,"fn":1233,"description":1234,"org":1286,"tags":1287,"stars":26,"repoUrl":27,"updatedAt":1243},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1288,1289,1290,1291],{"name":1201,"slug":1202,"type":13},{"name":9,"slug":8,"type":13},{"name":1191,"slug":1192,"type":13},{"name":1241,"slug":1242,"type":13}]