Interface CtConditional<T>

All Superinterfaces:
Cloneable, CtCodeElement, CtElement, CtExpression<T>, CtQueryable, CtTypedElement<T>, CtVisitable, FactoryAccessor, Serializable, SourcePositionHolder, TemplateParameter<T>
All Known Implementing Classes:
CtConditionalImpl

public interface CtConditional<T> extends CtExpression<T>
This code element defines conditional expressions using the ? (ternary expressions). Example:
     System.out.println(
        1==0 ? "foo" : "bar" // <-- ternary conditional
     );