@Contract("null,_ -> false")
  private static boolean isInList(@Nullable PsiCaseLabelElement labelElement, @NotNull PsiCaseLabelElementList labelElementList) {
    return labelElement != null && PsiTreeUtil.isAncestor(labelElementList, labelElement, true);
  }
@Contract("null,_ -> false")
  private static boolean isInList(@Nullable PsiCaseLabelElement labelElement, @NotNull PsiCaseLabelElementList labelElementList)