类 Mixin.Generator
java.lang.Object
cn.taketoday.bytecode.core.AbstractClassGenerator
cn.taketoday.bytecode.proxy.Mixin.Generator
- 所有已实现的接口:
ClassGenerator
- 封闭类:
- Mixin
-
嵌套类概要
从类继承的嵌套类/接口 cn.taketoday.bytecode.core.AbstractClassGenerator
AbstractClassGenerator.ClassLoaderData -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明create()protected ObjectfirstInstance(Class type) voidprotected ClassLoaderprotected ProtectionDomainReturns the protection domain to use when defining the class.protected ObjectnextInstance(Object instance) voidsetClasses(Class[] classes) voidsetDelegates(Object[] delegates) voidsetStyle(int style) 从类继承的方法 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
-
构造器详细资料
-
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)
-
setStyle
public void setStyle(int style) -
setClasses
-
setDelegates
-
create
-
generateClass
-
firstInstance
- 指定者:
firstInstance在类中AbstractClassGenerator
-
nextInstance
- 指定者:
nextInstance在类中AbstractClassGenerator
-