|
JBoss Reflection 2.2.1.SP1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NewArray
A new array expression.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.jboss.reflect.plugins.javassist.expr.Expression |
|---|
getFileName, getLineNumber, indexOfBytecode, mayThrow, replace, whereConstructor, whereMethod |
| Method Detail |
|---|
MutableClassInfo 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 ExpressionCannotCompileException
|
JBoss Reflection 2.2.1.SP1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||