private static CompareInfo fromTernary(PsiConditionalExpression ternary) {
    if (!PsiTypes.intType().equals(ternary.getType())) return null;
    Map<Integer, PsiExpression> map = extractConditions(ternary);
    return fromMap(map, ternary, ternary);
  }
private static CompareInfo fromTernary(PsiConditionalExpression ternary)