org.logicalcobwebs.cglib.proxy
Class LazyLoaderGenerator

java.lang.Object
  extended by org.logicalcobwebs.cglib.proxy.LazyLoaderGenerator
All Implemented Interfaces:
CallbackGenerator

 class LazyLoaderGenerator
extends java.lang.Object
implements CallbackGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.logicalcobwebs.cglib.proxy.CallbackGenerator
CallbackGenerator.Context
 
Field Summary
static LazyLoaderGenerator INSTANCE
           
private static Type LAZY_LOADER
           
private static Signature LOAD_OBJECT
           
 
Constructor Summary
LazyLoaderGenerator()
           
 
Method Summary
 void generate(ClassEmitter ce, CallbackGenerator.Context context)
           
 void generateStatic(CodeEmitter e, CallbackGenerator.Context context)
           
private  Signature loadMethod(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final LazyLoaderGenerator INSTANCE

LOAD_OBJECT

private static final Signature LOAD_OBJECT

LAZY_LOADER

private static final Type LAZY_LOADER
Constructor Detail

LazyLoaderGenerator

LazyLoaderGenerator()
Method Detail

generate

public void generate(ClassEmitter ce,
                     CallbackGenerator.Context context)
Specified by:
generate in interface CallbackGenerator

loadMethod

private Signature loadMethod(int index)

generateStatic

public void generateStatic(CodeEmitter e,
                           CallbackGenerator.Context context)
Specified by:
generateStatic in interface CallbackGenerator