org.logicalcobwebs.cglib.core
Class KeyFactory.Generator
java.lang.Object
org.logicalcobwebs.cglib.core.AbstractClassGenerator
org.logicalcobwebs.cglib.core.KeyFactory.Generator
- All Implemented Interfaces:
- ClassGenerator
- Enclosing class:
- KeyFactory
public static class KeyFactory.Generator
- extends AbstractClassGenerator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCE
private static final AbstractClassGenerator.Source SOURCE
keyInterface
private java.lang.Class keyInterface
customizer
private Customizer customizer
constant
private int constant
multiplier
private int multiplier
KeyFactory.Generator
public KeyFactory.Generator()
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(ClassVisitor v)
getFieldName
private java.lang.String getFieldName(int arg)