public static class ImmutableBean.Generator extends AbstractClassGenerator
AbstractClassGenerator.Source
Constructor and Description |
---|
Generator() |
Modifier and Type | Method and Description |
---|---|
Object |
create() |
protected Object |
firstInstance(Class type) |
void |
generateClass(ClassVisitor v) |
protected ClassLoader |
getDefaultClassLoader() |
protected Object |
nextInstance(Object instance) |
void |
setBean(Object bean) |
create, getAttemptLoad, getClassLoader, getClassName, getCurrent, getNamingPolicy, getStrategy, getUseCache, setAttemptLoad, setClassLoader, setNamePrefix, setNamingPolicy, setStrategy, setUseCache
public void setBean(Object bean)
protected ClassLoader getDefaultClassLoader()
getDefaultClassLoader
in class AbstractClassGenerator
public Object create()
public void generateClass(ClassVisitor v)
protected Object firstInstance(Class type)
firstInstance
in class AbstractClassGenerator
protected Object nextInstance(Object instance)
nextInstance
in class AbstractClassGenerator
Copyright © 2018. All rights reserved.