private boolean isApplicableToNode(final SNode node, final EditorContext editorContext) {
   return (IntentionUtils.getExpressionFromNode(SLinkOperations.getTarget(node, "ifTrue", true))
           != null)
       && (IntentionUtils.getExpressionFromNode(
               SLinkOperations.getTarget(node, "ifFalseStatement", true))
           != null)
       && ListSequence.fromList(SLinkOperations.getTargets(node, "elsifClauses", true)).isEmpty();
 }
 public void execute(final SNode node, final EditorContext editorContext) {
   SNode ternaryOperator =
       _quotation_createNode_78c6t8_a0a0a(
           SLinkOperations.getTarget(node, "condition", true),
           IntentionUtils.getExpressionFromNode(SLinkOperations.getTarget(node, "ifTrue", true)),
           IntentionUtils.getExpressionFromNode(
               SLinkOperations.getTarget(node, "ifFalseStatement", true)));
   SNodeOperations.replaceWithAnother(node, ternaryOperator);
 }