org.jboss.errai.codegen
Class TernaryStatement
java.lang.Object
org.jboss.errai.codegen.AbstractStatement
org.jboss.errai.codegen.TernaryStatement
- All Implemented Interfaces:
- Statement
public class TernaryStatement
- extends AbstractStatement
- Author:
- Mike Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TernaryStatement
public TernaryStatement(BooleanExpression condition,
Statement trueStatement,
Statement falseStatement)
generate
public String generate(Context context)
getType
public MetaClass getType()
- Specified by:
getType
in interface Statement
- Overrides:
getType
in class AbstractStatement
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.