org.python.compiler
Class AdapterMaker

java.lang.Object
  extended byorg.python.compiler.ProxyMaker
      extended byorg.python.compiler.AdapterMaker
All Implemented Interfaces:
ClassConstants

public class AdapterMaker
extends ProxyMaker


Field Summary
 
Fields inherited from class org.python.compiler.ProxyMaker
classfile, isAdapter, myClass, tBoolean, tByte, tCharacter, tDouble, tFloat, tInteger, tLong, tNone, tOther, tShort, tVoid, types
 
Fields inherited from interface org.python.compiler.ClassConstants
$clss, $obj, $objArr, $pyCode, $pyComplex, $pyExc, $pyFloat, $pyFrame, $pyFuncTbl, $pyInteger, $pyLong, $pyObj, $pyObjArr, $pyProxy, $pyRunnable, $pyStr, $str, $strArr, $throwable
 
Constructor Summary
AdapterMaker(Class interfac)
           
 
Method Summary
 void addMethod(Method method, int access)
           
 void build()
           
 void doConstants()
           
static String makeAdapter(Class interfac, OutputStream ostream)
           
 
Methods inherited from class org.python.compiler.ProxyMaker
addClassDictInit, addConstructor, addConstructors, addProxy, addSuperMethod, addSuperMethod, callMethod, callSuper, doJavaCall, doNullReturn, doReturn, fillTypes, getArgs, getFile, getType, makeFilename, makeProxy, makeSignature, mapClass, mapType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdapterMaker

public AdapterMaker(Class interfac)
Method Detail

build

public void build()
           throws Exception
Overrides:
build in class ProxyMaker
Throws:
Exception

makeAdapter

public static String makeAdapter(Class interfac,
                                 OutputStream ostream)
                          throws Exception
Throws:
Exception

doConstants

public void doConstants()
                 throws Exception
Overrides:
doConstants in class ProxyMaker
Throws:
Exception

addMethod

public void addMethod(Method method,
                      int access)
               throws Exception
Overrides:
addMethod in class ProxyMaker
Throws:
Exception