|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.java.gen.CallChain
com.caucho.java.gen.MethodCallChain
public class MethodCallChain
Generates the skeleton for a method call.
| Constructor Summary | |
|---|---|
MethodCallChain()
Creates the chain. |
|
MethodCallChain(java.lang.reflect.Method method)
Creates the chain with the method. |
|
MethodCallChain(java.lang.String methodName,
java.lang.Class[] params,
java.lang.Class returnType)
Creates the chain with the method. |
|
| Method Summary | |
|---|---|
void |
generateCall(JavaWriter out,
java.lang.String retVar,
java.lang.String var,
java.lang.String[] args)
Generates the code for the method call. |
java.lang.reflect.Method |
getMethod()
Returns the method. |
java.lang.Class[] |
getParameterTypes()
Returns the method's parameter types. |
java.lang.Class |
getReturnType()
Returns the method's return type. |
| Methods inherited from class com.caucho.java.gen.CallChain |
|---|
getExceptionTypes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodCallChain()
public MethodCallChain(java.lang.reflect.Method method)
public MethodCallChain(java.lang.String methodName,
java.lang.Class[] params,
java.lang.Class returnType)
| Method Detail |
|---|
public java.lang.reflect.Method getMethod()
public java.lang.Class[] getParameterTypes()
getParameterTypes in class CallChainpublic java.lang.Class getReturnType()
getReturnType in class CallChain
public void generateCall(JavaWriter out,
java.lang.String retVar,
java.lang.String var,
java.lang.String[] args)
throws java.io.IOException
generateCall in class CallChainout - the writer to the output stream.retVar - the variable to hold the return valuevar - the object to be calledargs - the method arguments
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||