org.logicalcobwebs.cglib.reflect
Class ConstructorDelegate.Generator

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

public static class ConstructorDelegate.Generator
extends AbstractClassGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.logicalcobwebs.cglib.core.AbstractClassGenerator
AbstractClassGenerator.Source
 
Field Summary
private static Type CONSTRUCTOR_DELEGATE
           
private  java.lang.Class iface
           
private static AbstractClassGenerator.Source SOURCE
           
private  java.lang.Class targetClass
           
 
Constructor Summary
ConstructorDelegate.Generator()
           
 
Method Summary
 ConstructorDelegate 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 setInterface(java.lang.Class iface)
           
 void setTargetClass(java.lang.Class targetClass)
           
 
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

CONSTRUCTOR_DELEGATE

private static final Type CONSTRUCTOR_DELEGATE

iface

private java.lang.Class iface

targetClass

private java.lang.Class targetClass
Constructor Detail

ConstructorDelegate.Generator

public ConstructorDelegate.Generator()
Method Detail

setInterface

public void setInterface(java.lang.Class iface)

setTargetClass

public void setTargetClass(java.lang.Class targetClass)

create

public ConstructorDelegate create()

getDefaultClassLoader

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

generateClass

public void generateClass(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