Atul Gupta
08/04/2025, 11:17 PManalyze
set of apis) is there any equivalent api like WhenChecker.getMissingCases
?Roman Golyshev
08/06/2025, 3:52 PMcomputeMissingCases
function:
https://github.com/JetBrains/kotlin/blob/9b13bac21334ad5103716945cd70532abae7c1de/[…]tlin/analysis/api/components/KaExpressionInformationProvider.ktAtul Gupta
08/17/2025, 11:06 PM@KaIdeApi
is it safe to use outside the ide?Roman Golyshev
08/18/2025, 9:36 AMRegarding this particular method, I doubt that it would change much in the future, but stillCopy codeInternal API which is used only from the IntelliJ Kotlin plugin. Such an API should not be used in other places since it has no compatibility guarantees
Roman Golyshev
08/18/2025, 9:45 AMAtul Gupta
08/18/2025, 10:05 AMWhenChecker.getMissingCases
for a detekt rule, now since detekt is not a Idea plugin should we not use it? If not, then what should be the alternate for this?Atul Gupta
08/18/2025, 10:09 AMOptionalUnit
Since this rule is being migrated to use Analysis api, similar api is not being present in the same