public class NewArrayBuilder extends ExpressionBuilderBase
| Modifier and Type | Field and Description |
|---|---|
private ArrayCreation |
m_arrayCreation
Array creation expression.
|
m_expression, m_sourcem_ast| Constructor and Description |
|---|
NewArrayBuilder(ClassBuilder source,
ArrayCreation expr)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOperand(Expression operand)
Add operand to expression.
|
void |
setSize(ExpressionBuilderBase size)
Set the size of the array.
|
addCharacterLiteralOperand, addNullOperand, addNumberLiteralOperand, addStringLiteralOperand, addVariableOperand, getExpressionnumberLiteral, setFinal, setPrivate, setPrivateFinal, setPrivateStaticFinal, setPublic, setPublicStatic, setPublicStaticFinal, setStatic, stringLiteralpublic NewArrayBuilder(ClassBuilder source, ArrayCreation expr)
source - expr - protected void addOperand(Expression operand)
addOperand in class ExpressionBuilderBaseoperand - public void setSize(ExpressionBuilderBase size)
size -