org.logicalcobwebs.cglib.reflect
Class MulticastDelegate.Generator

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

public static class MulticastDelegate.Generator
extends AbstractClassGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.logicalcobwebs.cglib.core.AbstractClassGenerator
AbstractClassGenerator.Source
 
Field Summary
private static Signature ADD_DELEGATE
           
private static Signature ADD_HELPER
           
private  java.lang.Class iface
           
private static Type MULTICAST_DELEGATE
           
private static Signature NEW_INSTANCE
           
private static AbstractClassGenerator.Source SOURCE
           
 
Constructor Summary
MulticastDelegate.Generator()
           
 
Method Summary
 MulticastDelegate create()
           
private  void emitProxy(ClassEmitter ce, java.lang.reflect.Method method)
           
protected  java.lang.Object firstInstance(java.lang.Class type)
           
 void generateClass(ClassVisitor cv)
           
protected  java.lang.ClassLoader getDefaultClassLoader()
           
protected  java.lang.Object nextInstance(java.lang.Object instance)
           
 void setInterface(java.lang.Class iface)
           
 
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

NEW_INSTANCE

private static final Signature NEW_INSTANCE

ADD_DELEGATE

private static final Signature ADD_DELEGATE

ADD_HELPER

private static final Signature ADD_HELPER

MULTICAST_DELEGATE

private static final Type MULTICAST_DELEGATE

iface

private java.lang.Class iface
Constructor Detail

MulticastDelegate.Generator

public MulticastDelegate.Generator()
Method Detail

getDefaultClassLoader

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

setInterface

public void setInterface(java.lang.Class iface)

create

public MulticastDelegate create()

generateClass

public void generateClass(ClassVisitor cv)

emitProxy

private void emitProxy(ClassEmitter ce,
                       java.lang.reflect.Method method)

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