public interface NewArray extends Expression
Expression
subinterface for expressions which create new arrays.Modifier and Type | Method and Description |
---|---|
NewArray |
addDim()
Sets the given dimension without an argument ([]).
|
NewArray |
addDim(Expression e)
Sets the given expression for the given dimension.
|
List<Expression> |
getDims()
Gets the list of dimension expressions as an list of
Expression . |
ArrayInitializer |
getInitializer()
Gets the array initialization expression.
|
NewArray |
setInitializer(ArrayInitializer ai)
Sets the array initialization expressions as an arbitrarily nested
array[n] of expressions.
|
NewArray |
setType(Type type)
Sets the given type for this array creation.
|
getType
applyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vm
NewArray addDim()
NewArray addDim(Expression e)
null
.List<Expression> getDims()
Expression
.ArrayInitializer getInitializer()
NewArray setInitializer(ArrayInitializer ai)
Copyright © 2000–2018 jenesis4java. All rights reserved.