net.sf.cglib.reflect
Class FastClass.Generator

java.lang.Object
  extended by net.sf.cglib.core.AbstractClassGenerator
      extended by net.sf.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 net.sf.cglib.core.AbstractClassGenerator
AbstractClassGenerator.Source
 
Constructor Summary
FastClass.Generator()
           
 
Method Summary
 FastClass create()
           
protected  Object firstInstance(Class type)
           
 void generateClass(org.objectweb.asm.ClassVisitor v)
           
protected  ClassLoader getDefaultClassLoader()
           
protected  Object nextInstance(Object instance)
           
 void setType(Class type)
           
 
Methods inherited from class net.sf.cglib.core.AbstractClassGenerator
create, getAttemptLoad, getClassLoader, getClassName, getCurrent, getNamingPolicy, getStrategy, getUseCache, setAttemptLoad, 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

FastClass.Generator

public FastClass.Generator()
Method Detail

setType

public void setType(Class type)

create

public FastClass create()

getDefaultClassLoader

protected ClassLoader getDefaultClassLoader()
Specified by:
getDefaultClassLoader in class AbstractClassGenerator

generateClass

public void generateClass(org.objectweb.asm.ClassVisitor v)
                   throws Exception
Throws:
Exception

firstInstance

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

nextInstance

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


Copyright © 2012 Oracle Corporation. All Rights Reserved.