public class ContextualStatementBuilderImpl extends AbstractStatementBuilder implements ContextualStatementBuilder, VariableReferenceContextualStatementBuilder
ContextualStatementBuilder
.callElementBuilder, context, generated
Modifier | Constructor and Description |
---|---|
protected |
ContextualStatementBuilderImpl(Context context,
CallElementBuilder callElementBuilder) |
appendCallElement, generate, getType, toJavaString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toJavaString
protected ContextualStatementBuilderImpl(Context context, CallElementBuilder callElementBuilder)
public ContextualStatementBuilder invoke(MetaMethod method, Object... parameters)
invoke
in interface ContextualStatementBuilder
public ContextualStatementBuilder invoke(String methodName, Object... parameters)
invoke
in interface ContextualStatementBuilder
public VariableReferenceContextualStatementBuilder loadField(MetaField field)
loadField
in interface ContextualStatementBuilder
public VariableReferenceContextualStatementBuilder loadField(String fieldName)
loadField
in interface ContextualStatementBuilder
public BlockBuilder<StatementEnd> foreach(String loopVarName)
foreach
in interface ContextualLoopBuilder
public BlockBuilder<StatementEnd> foreach(String loopVarName, Class<?> loopVarType)
foreach
in interface ContextualLoopBuilder
public BlockBuilder<StatementEnd> foreach(String loopVarName, MetaClass loopVarType)
foreach
in interface ContextualLoopBuilder
public BlockBuilder<StatementEnd> for_(Statement initializer, BooleanExpression condition)
for_
in interface ContextualLoopBuilder
public BlockBuilder<StatementEnd> for_(Statement initializer, BooleanExpression condition, Statement afterBlock)
for_
in interface ContextualLoopBuilder
public BlockBuilder<WhileBuilder> do_()
do_
in interface ContextualLoopBuilder
public BlockBuilder<StatementEnd> while_()
while_
in interface ContextualLoopBuilder
public BlockBuilder<StatementEnd> while_(BooleanOperator op, Statement rhs)
while_
in interface ContextualLoopBuilder
public BlockBuilder<StatementEnd> while_(BooleanOperator op, Object rhs)
while_
in interface ContextualLoopBuilder
public BlockBuilder<ElseBlockBuilder> if_()
if_
in interface ContextualIfBlockBuilder
public BlockBuilder<ElseBlockBuilder> if_(BooleanOperator op, Statement rhs)
if_
in interface ContextualIfBlockBuilder
public BlockBuilder<ElseBlockBuilder> if_(BooleanOperator op, Object rhs)
if_
in interface ContextualIfBlockBuilder
public BlockBuilder<ElseBlockBuilder> ifNot()
ifNot
in interface ContextualIfBlockBuilder
public CaseBlockBuilder switch_()
switch_
in interface ContextualSwitchBlockBuilder
public StatementEnd returnValue()
returnValue
in interface ContextualStatementBuilder
public StatementEnd assignValue(Object statement)
assignValue
in interface VariableReferenceContextualStatementBuilder
public StatementEnd assignValue(AssignmentOperator operator, Object statement)
assignValue
in interface VariableReferenceContextualStatementBuilder
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.