org.python.compiler
Class JavaMaker

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

public class JavaMaker
extends ProxyMaker
implements ClassConstants


Field Summary
 boolean frozen
           
 boolean main
           
 String[] packages
           
 String[] properties
           
 String pythonClass
           
 String pythonModule
           
 
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
JavaMaker(Class superclass, Class[] interfaces, String pythonClass, String pythonModule, String myClass, PyObject methods)
           
JavaMaker(Class superclass, Class[] interfaces, String pythonClass, String pythonModule, String myClass, String[] packages, String[] properties, PyObject methods, boolean frozen, boolean main)
           
 
Method Summary
 void addConstructor(String name, Class[] parameters, Class ret, String sig, int access)
           
 void addMain()
           
 void addMethod(Method method, int access)
           
 void addProxy()
           
 
Methods inherited from class org.python.compiler.ProxyMaker
addClassDictInit, addConstructors, addSuperMethod, addSuperMethod, build, callMethod, callSuper, doConstants, 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
 

Field Detail

pythonClass

public String pythonClass

pythonModule

public String pythonModule

properties

public String[] properties

packages

public String[] packages

frozen

public boolean frozen

main

public boolean main
Constructor Detail

JavaMaker

public JavaMaker(Class superclass,
                 Class[] interfaces,
                 String pythonClass,
                 String pythonModule,
                 String myClass,
                 PyObject methods)

JavaMaker

public JavaMaker(Class superclass,
                 Class[] interfaces,
                 String pythonClass,
                 String pythonModule,
                 String myClass,
                 String[] packages,
                 String[] properties,
                 PyObject methods,
                 boolean frozen,
                 boolean main)
Method Detail

addConstructor

public void addConstructor(String name,
                           Class[] parameters,
                           Class ret,
                           String sig,
                           int access)
                    throws Exception
Overrides:
addConstructor in class ProxyMaker
Throws:
Exception

addProxy

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

addMethod

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

addMain

public void addMain()
             throws Exception
Throws:
Exception