类 KeyFactory.Generator
java.lang.Object
cn.taketoday.bytecode.core.AbstractClassGenerator
cn.taketoday.bytecode.core.KeyFactory.Generator
- 所有已实现的接口:
ClassGenerator
- 封闭类:
- KeyFactory
-
嵌套类概要
从类继承的嵌套类/接口 cn.taketoday.bytecode.core.AbstractClassGenerator
AbstractClassGenerator.ClassLoaderData -
字段概要
字段修饰符和类型字段说明private intprivate final CustomizerRegistryprivate Classprivate static final Class[]private int -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidaddCustomizer(KeyFactoryCustomizer customizer) create()protected ObjectfirstInstance(Class type) void<T> List<T>getCustomizers(Class<T> klass) protected ClassLoaderprivate StringgetFieldName(int arg) protected ProtectionDomainReturns the protection domain to use when defining the class.protected ObjectnextInstance(Object instance) voidsetHashConstant(int constant) voidsetHashMultiplier(int multiplier) voidsetInterface(Class keyInterface) 从类继承的方法 cn.taketoday.bytecode.core.AbstractClassGenerator
create, generate, getClassLoader, getClassName, getCurrent, getDefineClassStrategy, getNamingPolicy, getStrategy, getUseCache, isAttemptLoad, setAttemptLoad, setClassLoader, setDefineClassStrategy, setNamePrefix, setNamingPolicy, setNeighbor, setStrategy, setUseCache, unwrapCachedValue, wrapCachedClass
-
字段详细资料
-
KNOWN_CUSTOMIZER_TYPES
-
keyInterface
-
customizers
-
constant
private int constant -
multiplier
private int multiplier
-
-
构造器详细资料
-
Generator
public Generator()
-
-
方法详细资料
-
getDefaultClassLoader
-
getProtectionDomain
从类复制的说明:AbstractClassGeneratorReturns the protection domain to use when defining the class.Default implementation returns
nullfor using a default protection domain. Sub-classes may override to use a more specific protection domain.- 覆盖:
getProtectionDomain在类中AbstractClassGenerator- 返回:
- the protection domain (
nullfor using a default)
-
addCustomizer
-
getCustomizers
-
setInterface
-
create
-
setHashConstant
public void setHashConstant(int constant) -
setHashMultiplier
public void setHashMultiplier(int multiplier) -
firstInstance
- 指定者:
firstInstance在类中AbstractClassGenerator
-
nextInstance
- 指定者:
nextInstance在类中AbstractClassGenerator
-
generateClass
-
getFieldName
-