类 ClassLoaderAwareGeneratorStrategy
java.lang.Object
cn.taketoday.bytecode.core.DefaultGeneratorStrategy
cn.taketoday.bytecode.core.ClassLoaderAwareGeneratorStrategy
- 所有已实现的接口:
GeneratorStrategy
GeneratorStrategy variant which exposes the application ClassLoader
as current thread context ClassLoader for the time of class generation.
The ASM ClassWriter in ASM variant will pick it up when doing
common superclass resolution.
- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller, TODAY 2021/10/30 17:59
-
字段概要
字段从类继承的字段 cn.taketoday.bytecode.core.DefaultGeneratorStrategy
INSTANCE -
构造器概要
构造器 -
方法概要
从类继承的方法 cn.taketoday.bytecode.core.DefaultGeneratorStrategy
getClassVisitor, transform, transform从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.bytecode.core.GeneratorStrategy
equals
-
字段详细资料
-
classLoader
-
-
构造器详细资料
-
ClassLoaderAwareGeneratorStrategy
-
-
方法详细资料
-
generate
从接口复制的说明:GeneratorStrategyGenerate the class.- 指定者:
generate在接口中GeneratorStrategy- 覆盖:
generate在类中DefaultGeneratorStrategy- 参数:
cg- a class generator on which you can callClassGenerator.generateClass(cn.taketoday.bytecode.ClassVisitor)- 返回:
- a byte array containing the bits of a valid Class
- 抛出:
Exception
-