public interface NewExpression extends Expression
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName()
Returns the class name of the created object.
|
MutableConstructorInfo |
getConstructor()
Returns the constructor called for creating the object.
|
String |
getSignature()
Returns the signature of the constructor.
|
void |
replace(String statement)
Replaces the new expression with the bytecode derived from
the given source text.
|
getFileName, getLineNumber, indexOfBytecode, mayThrow, replace, whereConstructor, whereMethodString getClassName()
String getSignature()
MutableConstructorInfo getConstructor() throws NotFoundException
NotFoundExceptionvoid replace(String statement) throws CannotCompileException
replace in interface ExpressionCannotCompileExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.