net.sf.cglib.core
Class KeyFactory.Generator

java.lang.Object
  extended bynet.sf.cglib.core.AbstractClassGenerator
      extended bynet.sf.cglib.core.KeyFactory.Generator
All Implemented Interfaces:
ClassGenerator
Enclosing class:
KeyFactory

public static class KeyFactory.Generator
extends AbstractClassGenerator


Nested Class Summary
 
Nested classes inherited from class net.sf.cglib.core.AbstractClassGenerator
AbstractClassGenerator.Source
 
Constructor Summary
KeyFactory.Generator()
           
 
Method Summary
 KeyFactory create()
           
protected  java.lang.Object firstInstance(java.lang.Class type)
           
 void generateClass(org.objectweb.asm.ClassVisitor v)
           
protected  java.lang.ClassLoader getDefaultClassLoader()
           
protected  java.lang.Object nextInstance(java.lang.Object instance)
           
 void setCustomizer(Customizer customizer)
           
 void setHashConstant(int constant)
           
 void setHashMultiplier(int multiplier)
           
 void setInterface(java.lang.Class keyInterface)
           
 
Methods inherited from class net.sf.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
 

Constructor Detail

KeyFactory.Generator

public KeyFactory.Generator()
Method Detail

getDefaultClassLoader

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

setCustomizer

public void setCustomizer(Customizer customizer)

setInterface

public void setInterface(java.lang.Class keyInterface)

create

public KeyFactory create()

setHashConstant

public void setHashConstant(int constant)

setHashMultiplier

public void setHashMultiplier(int multiplier)

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

generateClass

public void generateClass(org.objectweb.asm.ClassVisitor v)


Copyright © 2002-2003 cglib. All Rights Reserved.