From: Finn B. <bc...@us...> - 2001-02-25 16:35:56
|
Update of /cvsroot/jython/jython/org/python/core In directory usw-pr-cvs1:/tmp/cvs-serv32382 Modified Files: BytecodeLoader.java Log Message: Added javadoc comments. Index: BytecodeLoader.java =================================================================== RCS file: /cvsroot/jython/jython/org/python/core/BytecodeLoader.java,v retrieving revision 2.12 retrieving revision 2.13 diff -C2 -r2.12 -r2.13 *** BytecodeLoader.java 2001/02/02 09:28:36 2.12 --- BytecodeLoader.java 2001/02/25 16:37:06 2.13 *************** *** 7,10 **** --- 7,14 ---- import java.util.Vector; + /** + * Utility class for loading of compiled python modules and + * java classes defined in python modules. + */ public class BytecodeLoader { *************** *** 64,67 **** --- 68,78 ---- } + /** + * Turn the java byte code in data into a java class. + * @param name the name of the class + * @param referents a list of superclass and interfaces that + * the new class will reference. + * @param data the java byte code. + */ public static Class makeClass(String name, Vector referents, byte[] data) *************** *** 82,85 **** --- 93,102 ---- } + /** + * Turn the java byte code for a compiled python module into a + * java class. + * @param name the name of the class + * @param data the java byte code. + */ public static PyCode makeCode(String name, byte[] data) { try { |