org.logicalcobwebs.cglib.reflect
Class FastClass.Generator

java.lang.Object
  extended by org.logicalcobwebs.cglib.core.AbstractClassGenerator
      extended by org.logicalcobwebs.cglib.reflect.FastClass.Generator
All Implemented Interfaces:
ClassGenerator
Enclosing class:
FastClass

public static class FastClass.Generator
extends AbstractClassGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.logicalcobwebs.cglib.core.AbstractClassGenerator
AbstractClassGenerator.Source
 
Field Summary
private static AbstractClassGenerator.Source SOURCE
           
private  java.lang.Class type
           
 
Constructor Summary
FastClass.Generator()
           
 
Method Summary
 FastClass create()
           
protected  java.lang.Object firstInstance(java.lang.Class type)
           
 void generateClass(ClassVisitor v)
           
protected  java.lang.ClassLoader getDefaultClassLoader()
           
protected  java.lang.Object nextInstance(java.lang.Object instance)
           
 void setType(java.lang.Class type)
           
 
Methods inherited from class org.logicalcobwebs.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
 

Field Detail

SOURCE

private static final AbstractClassGenerator.Source SOURCE

type

private java.lang.Class type
Constructor Detail

FastClass.Generator

public FastClass.Generator()
Method Detail

setType

public void setType(java.lang.Class type)

create

public FastClass create()

getDefaultClassLoader

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

generateClass

public void generateClass(ClassVisitor v)
                   throws java.lang.Exception
Throws:
java.lang.Exception

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