net.sf.cglib.beans
public static class BeanMap.Generator extends AbstractClassGenerator
Constructor Summary | |
---|---|
Generator() |
Method Summary | |
---|---|
BeanMap | create()
Create a new instance of the BeanMap . |
void | generateClass(ClassVisitor v) |
void | setBean(Object bean)
Set the bean that the generated map should reflect. |
void | setBeanClass(Class beanClass)
Set the class of the bean that the generated map should support.
|
void | setRequire(int require)
Limit the properties reflected by the generated map. |
BeanMap
. An existing
generated class will be reused if possible.Parameters: bean the initial bean
Parameters: beanClass the class of the bean
Parameters: require any combination of Generator and Generator; default is zero (any property allowed)