net.sf.cglib.beans
Class ImmutableBean.Generator

java.lang.Object
  extended bynet.sf.cglib.core.AbstractClassGenerator
      extended bynet.sf.cglib.beans.ImmutableBean.Generator
All Implemented Interfaces:
ClassGenerator
Enclosing class:
ImmutableBean

public static class ImmutableBean.Generator
extends AbstractClassGenerator


Nested Class Summary
 
Nested classes inherited from class net.sf.cglib.core.AbstractClassGenerator
AbstractClassGenerator.Source
 
Constructor Summary
ImmutableBean.Generator()
           
 
Method Summary
 java.lang.Object create()
           
protected  java.lang.Object firstInstance(java.lang.Class type)
           
 void generateClass(org.objectweb.asm.ClassVisitor v)
           
protected  java.lang.ClassLoader getDefaultClassLoader()
           
protected  java.lang.Object nextInstance(java.lang.Object instance)
           
 void setBean(java.lang.Object bean)
           
 
Methods inherited from class net.sf.cglib.core.AbstractClassGenerator
create, getClassLoader, getClassName, setClassLoader, setNamePrefix, setNamingPolicy, setStrategy, setUseCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableBean.Generator

public ImmutableBean.Generator()
Method Detail

setBean

public void setBean(java.lang.Object bean)

getDefaultClassLoader

protected java.lang.ClassLoader getDefaultClassLoader()
Specified by:
getDefaultClassLoader in class AbstractClassGenerator

create

public java.lang.Object create()

generateClass

public void generateClass(org.objectweb.asm.ClassVisitor v)

firstInstance

protected java.lang.Object firstInstance(java.lang.Class type)
Specified by:
firstInstance in class AbstractClassGenerator

nextInstance

protected java.lang.Object nextInstance(java.lang.Object instance)
Specified by:
nextInstance in class AbstractClassGenerator


Copyright © 2002-2003 cglib. All Rights Reserved.