@@ -0,0 +1,1773 @@
+package org.jcodegen.java;%0A%0Apublic class TernaryOperator extends Expression%3CTernaryOperator%3E %7B%0A%0A    private final Condition condition;%0A    private final StringOrCode%3CExpression%3E trueResult;%0A    private final StringOrCode%3CExpression%3E falseResult;%0A%0A%0A    public TernaryOperator(final Condition condition, final Expression trueResult, final Expression falseResult) %7B%0A        super(%22Ternary%22, 0);%0A        this.condition = condition;%0A        this.trueResult = new StringOrCode%3CExpression%3E(trueResult);%0A        this.falseResult = new StringOrCode%3CExpression%3E(falseResult);%0A    %7D%0A%0A    public TernaryOperator(final Condition condition, final String trueResult, final Expression falseResult) %7B%0A        super(%22Ternary%22, 0);%0A        this.condition = condition;%0A        this.trueResult = new StringOrCode%3CExpression%3E(trueResult);%0A        this.falseResult = new StringOrCode%3CExpression%3E(falseResult);%0A    %7D%0A%0A    public TernaryOperator(final Condition condition, final Expression trueResult, final String falseResult) %7B%0A        super(%22Ternary%22, 0);%0A        this.condition = condition;%0A        this.trueResult = new StringOrCode%3CExpression%3E(trueResult);%0A        this.falseResult = new StringOrCode%3CExpression%3E(falseResult);%0A    %7D%0A%0A    public TernaryOperator(final Condition condition, final String trueResult, final String falseResult) %7B%0A        super(%22Ternary%22, 0);%0A        this.condition = condition;%0A        this.trueResult = new StringOrCode%3CExpression%3E(trueResult);%0A        this.falseResult = new StringOrCode%3CExpression%3E(falseResult);%0A    %7D%0A%0A%0A    @Override%0A    protected TernaryOperator getThis() %7B%0A        return this;%0A    %7D%0A%0A%0A    @Override%0A    public String toString() %7B%0A        return condition.toString() + %22 ? %22 + trueResult.toString() + %22 : %22 + falseResult.toString();%0A    %7D%0A%7D%0A

Add ternary operator to code that can be generated