com.caucho.java.gen
Class SuperMethodCallChain

java.lang.Object
  extended by com.caucho.java.gen.CallChain
      extended by com.caucho.java.gen.MethodCallChain
          extended by com.caucho.java.gen.SuperMethodCallChain

public class SuperMethodCallChain
extends MethodCallChain

Generates the skeleton for a method call.


Constructor Summary
SuperMethodCallChain()
          Creates the chain.
SuperMethodCallChain(java.lang.reflect.Method method)
          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.
 
Methods inherited from class com.caucho.java.gen.MethodCallChain
getMethod, getParameterTypes, getReturnType
 
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

SuperMethodCallChain

public SuperMethodCallChain()
Creates the chain.


SuperMethodCallChain

public SuperMethodCallChain(java.lang.reflect.Method method)
Creates the chain with the method.

Method Detail

generateCall

public void generateCall(JavaWriter out,
                         java.lang.String retVar,
                         java.lang.String var,
                         java.lang.String[] args)
                  throws java.io.IOException
Generates the code for the method call.

Overrides:
generateCall in class MethodCallChain
Parameters:
out - the writer to the output stream.
retVar - the variable to hold the return value
var - the object to be called
args - the method arguments
Throws:
java.io.IOException