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, whereMethod
String getClassName()
String getSignature()
MutableConstructorInfo getConstructor() throws NotFoundException
NotFoundException
void replace(String statement) throws CannotCompileException
replace
in interface Expression
CannotCompileException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.