org.logicalcobwebs.cglib.proxy
Class Mixin.Generator

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

public static class Mixin.Generator
extends AbstractClassGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.logicalcobwebs.cglib.core.AbstractClassGenerator
AbstractClassGenerator.Source
 
Field Summary
private  boolean asBeans
           
private  java.lang.Class[] classes
           
private  java.lang.Object[] delegates
           
private  int[] route
           
private static AbstractClassGenerator.Source SOURCE
           
 
Constructor Summary
Mixin.Generator()
           
 
Method Summary
 Mixin 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 setAsBeans(boolean asBeans)
           
 void setClasses(java.lang.Class[] classes)
           
 void setDelegates(java.lang.Object[] delegates)
           
 void setRoute(int[] route)
           
 
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

classes

private java.lang.Class[] classes

delegates

private java.lang.Object[] delegates

route

private int[] route

asBeans

private boolean asBeans
Constructor Detail

Mixin.Generator

public Mixin.Generator()
Method Detail

getDefaultClassLoader

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

setAsBeans

public void setAsBeans(boolean asBeans)

setClasses

public void setClasses(java.lang.Class[] classes)

setDelegates

public void setDelegates(java.lang.Object[] delegates)

setRoute

public void setRoute(int[] route)

create

public Mixin create()

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