| java.lang.Object org.ow2.easybeans.component.smartclient.test.GenerateClass
GenerateClass | final public class GenerateClass implements Opcodes(Code) | | Allow to generate dynamically a class.
author: Florent BENOIT |
Method Summary | |
public static byte[] | getByteForClass(String className, String helloWorldString) Gets the bytecode for the given generated classname and the content of
the hello() method. |
getByteForClass | public static byte[] getByteForClass(String className, String helloWorldString) throws Exception(Code) | | Gets the bytecode for the given generated classname and the content of
the hello() method.
Parameters: className - the name of the class to generate Parameters: helloWorldString - the content that hello() method will return the bytecode throws: Exception - if bytecode can't be built |
|
|