private static PsiElement currentCommaElement(@NotNull ActionContext context) {
    PsiElement element;
    if (!isComma(element = context.findLeafOnTheLeft()) && !isComma(element = context.findLeaf())) {
      return null;
    }
    return element;
  }
private static PsiElement currentCommaElement(@NotNull ActionContext context)