net.sf.cglib.beans
public class BeanGenerator extends AbstractClassGenerator
| Constructor Summary | |
|---|---|
| BeanGenerator() | |
| Method Summary | |
|---|---|
| static void | addProperties(BeanGenerator gen, Map props) |
| static void | addProperties(BeanGenerator gen, Class type) |
| static void | addProperties(BeanGenerator gen, PropertyDescriptor[] descriptors) |
| void | addProperty(String name, Class type) |
| Object | create() |
| Object | createClass() |
| void | generateClass(ClassVisitor v) |
| void | setSuperclass(Class superclass)
Set the class which the generated class will extend. |
Parameters: superclass class to extend, or null to extend Object