|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Expression
subinterface for expressions which create
new arrays.
Method Summary | |
NewArray |
addDim()
Sets the given dimension without an argument ([]). |
NewArray |
addDim(Expression e)
Sets the given expression for the given dimension. |
Iterator |
getDims()
Gets the list of dimension expressions as an iterator of Expression . |
ArrayInitializer |
getInitializer()
Gets the array initialization expression. |
void |
setInitializer(ArrayInitializer ai)
Sets the array initialization expressions as an arbitrarily nested array[n] of expressions. |
void |
setType(Type type)
Sets the given type for this array creation. |
Methods inherited from interface org.inxar.jenesis.Expression |
getType |
Methods inherited from interface org.inxar.jenesis.Codeable |
getComment, setComment, toCode, vm |
Method Detail |
public void setType(Type type)
public ArrayInitializer getInitializer()
public void setInitializer(ArrayInitializer ai)
public Iterator getDims()
Expression
.public NewArray addDim(Expression e)
null
.public NewArray addDim()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |