@Override
  public boolean satisfiedBy(PsiElement element) {
    if (!(element instanceof PsiConditionalExpression conditionalExpression)) {
      return false;
    }
    final PsiExpression condition = conditionalExpression.getCondition();
    return !(PsiTreeUtil.getDeepestLast(condition) instanceof PsiErrorElement) &&
           !(PsiTreeUtil.getDeepestLast(element) instanceof PsiErrorElement) &&
           conditionalExpression.getThenExpression() != null &&
           conditionalExpression.getElseExpression() != null;
  }
@Override
  public boolean satisfiedBy(PsiElement element)