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, whereMethod
MutableClassInfo getComponentType() throws NotFoundException
int
, the type returned by this method is
not int[]
but int
.NotFoundException
int getCreatedDimensions()
void replace(String statement) throws CannotCompileException
replace
in interface Expression
CannotCompileException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.