public interface MethodCall extends Expression
Modifier and Type | Method and Description |
---|---|
String |
getClassName()
Returns the class name of the target object,
which the method is called on.
|
MutableMethodInfo |
getMethod()
Returns the called method.
|
String |
getMethodName()
Returns the name of the called method.
|
String |
getSignatue()
Returns the method signature.
|
boolean |
isSuper()
Indicates whether the called method is of a superclass of the current
class.
|
void |
replace(String statement)
Replaces the method call with the bytecode derived from
the given source text.
|
getFileName, getLineNumber, indexOfBytecode, mayThrow, replace, whereConstructor, whereMethod
String getClassName()
String getMethodName()
MutableMethodInfo getMethod() throws NotFoundException
NotFoundException
String getSignatue()
boolean isSuper()
true
if the target class is a super class of the current classvoid replace(String statement) throws CannotCompileException
replace
in interface Expression
CannotCompileException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.