public interface NewArray extends Expression
| Modifier and Type | Method and Description |
|---|---|
MutableClassInfo |
getComponentType()
Returns the type of array components.
|
int |
getCreatedDimensions()
Returns the number of dimensions of the array being created.
|
void |
replace(String statement)
Replaces the array creation with the bytecode derived from
the given source text.
|
getFileName, getLineNumber, indexOfBytecode, mayThrow, replace, whereConstructor, whereMethodMutableClassInfo getComponentType() throws NotFoundException
int, the type returned by this method is
not int[] but int.NotFoundExceptionint getCreatedDimensions()
void replace(String statement) throws CannotCompileException
replace in interface ExpressionCannotCompileExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.