public static class BulkBean.Generator extends AbstractClassGenerator
AbstractClassGenerator.Source
Constructor and Description |
---|
Generator() |
Modifier and Type | Method and Description |
---|---|
BulkBean |
create() |
protected Object |
firstInstance(Class type) |
void |
generateClass(ClassVisitor v) |
protected ClassLoader |
getDefaultClassLoader() |
protected Object |
nextInstance(Object instance) |
void |
setGetters(String[] getters) |
void |
setSetters(String[] setters) |
void |
setTarget(Class target) |
void |
setTypes(Class[] types) |
create, getAttemptLoad, getClassLoader, getClassName, getCurrent, getNamingPolicy, getStrategy, getUseCache, setAttemptLoad, setClassLoader, setNamePrefix, setNamingPolicy, setStrategy, setUseCache
public void setTarget(Class target)
public void setGetters(String[] getters)
public void setSetters(String[] setters)
public void setTypes(Class[] types)
protected ClassLoader getDefaultClassLoader()
getDefaultClassLoader
in class AbstractClassGenerator
public BulkBean create()
public void generateClass(ClassVisitor v) throws Exception
Exception
protected Object firstInstance(Class type)
firstInstance
in class AbstractClassGenerator
protected Object nextInstance(Object instance)
nextInstance
in class AbstractClassGenerator
Copyright © 2018. All rights reserved.