org.python.compiler
Class AdapterMaker
java.lang.Object
org.python.compiler.ProxyMaker
org.python.compiler.AdapterMaker
- All Implemented Interfaces:
- ClassConstants
- public class AdapterMaker
- extends ProxyMaker
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 |
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 |
AdapterMaker
public AdapterMaker(Class interfac)
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