public class NewArrayBuilder extends ExpressionBuilderBase
Modifier and Type | Field and Description |
---|---|
private ArrayCreation |
m_arrayCreation
Array creation expression.
|
m_expression, m_source
m_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, getExpression
numberLiteral, setFinal, setPrivate, setPrivateFinal, setPrivateStaticFinal, setPublic, setPublicStatic, setPublicStaticFinal, setStatic, stringLiteral
public NewArrayBuilder(ClassBuilder source, ArrayCreation expr)
source
- expr
- protected void addOperand(Expression operand)
addOperand
in class ExpressionBuilderBase
operand
- public void setSize(ExpressionBuilderBase size)
size
-