org.jboss.errai.codegen.builder.impl
Class IfBlockBuilderImpl
java.lang.Object
org.jboss.errai.codegen.builder.impl.AbstractStatementBuilder
org.jboss.errai.codegen.builder.impl.IfBlockBuilderImpl
- All Implemented Interfaces:
- Builder, ClosedBlock, ContextualIfBlockBuilder, ElseBlockBuilder, IfBlockBuilder, StatementEnd, Statement
public class IfBlockBuilderImpl
- extends AbstractStatementBuilder
- implements ContextualIfBlockBuilder, IfBlockBuilder, ElseBlockBuilder
StatementBuilder to generate if blocks.
- Author:
- Christian Sadilek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IfBlockBuilderImpl
protected IfBlockBuilderImpl(Context context,
CallElementBuilder callElementBuilder)
IfBlockBuilderImpl
protected IfBlockBuilderImpl(Context context,
CallElementBuilder callElementBuilder,
IfBlock ifBlock)
if_
public BlockBuilder<ElseBlockBuilder> if_()
- Specified by:
if_
in interface ContextualIfBlockBuilder
ifNot
public BlockBuilder<ElseBlockBuilder> ifNot()
- Specified by:
ifNot
in interface ContextualIfBlockBuilder
if_
public BlockBuilder<ElseBlockBuilder> if_(BooleanOperator op,
Statement rhs)
- Specified by:
if_
in interface ContextualIfBlockBuilder
if_
public BlockBuilder<ElseBlockBuilder> if_(BooleanOperator op,
Object rhs)
- Specified by:
if_
in interface ContextualIfBlockBuilder
if_
public BlockBuilder<ElseBlockBuilder> if_(BooleanExpression condition)
- Specified by:
if_
in interface IfBlockBuilder
else_
public BlockBuilder<StatementEnd> else_()
- Specified by:
else_
in interface ElseBlockBuilder
elseif_
public BlockBuilder<ElseBlockBuilder> elseif_(Statement lhs)
- Specified by:
elseif_
in interface ElseBlockBuilder
elseif_
public BlockBuilder<ElseBlockBuilder> elseif_(Statement lhs,
BooleanOperator op,
Statement rhs)
- Specified by:
elseif_
in interface ElseBlockBuilder
elseif_
public BlockBuilder<ElseBlockBuilder> elseif_(Statement lhs,
BooleanOperator op,
Object rhs)
- Specified by:
elseif_
in interface ElseBlockBuilder
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.