IntentionAction (@NotNull PsiSwitchBlock switchBlock, @NotNull PsiClass selectorType, @NotNull Map<PsiType, Set<List<PsiType>>> branches, @NotNull List<? extends PsiCaseLabelElement> elements) { CreateMissingDeconstructionRecordClassBranchesFix fix = CreateMissingDeconstructionRecordClassBranchesFix.create(switchBlock, selectorType, branches, elements); return fix == null ? null : fix.asIntention(); }