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