public static class KeyFactory.Generator extends AbstractClassGenerator
AbstractClassGenerator.Source
Constructor and Description |
---|
Generator() |
Modifier and Type | Method and Description |
---|---|
KeyFactory |
create() |
protected Object |
firstInstance(Class type) |
void |
generateClass(ClassVisitor v) |
protected ClassLoader |
getDefaultClassLoader() |
protected Object |
nextInstance(Object instance) |
void |
setCustomizer(Customizer customizer) |
void |
setHashConstant(int constant) |
void |
setHashMultiplier(int multiplier) |
void |
setInterface(Class keyInterface) |
create, getAttemptLoad, getClassLoader, getClassName, getCurrent, getNamingPolicy, getStrategy, getUseCache, setAttemptLoad, setClassLoader, setNamePrefix, setNamingPolicy, setStrategy, setUseCache
protected ClassLoader getDefaultClassLoader()
getDefaultClassLoader
in class AbstractClassGenerator
public void setCustomizer(Customizer customizer)
public void setInterface(Class keyInterface)
public KeyFactory create()
public void setHashConstant(int constant)
public void setHashMultiplier(int multiplier)
protected Object firstInstance(Class type)
firstInstance
in class AbstractClassGenerator
protected Object nextInstance(Object instance)
nextInstance
in class AbstractClassGenerator
public void generateClass(ClassVisitor v)
Copyright © 2018. All rights reserved.