GeneratorStrategyUndeclaredThrowableStrategypublic class DefaultGeneratorStrategy extends Object implements GeneratorStrategy
| Modifier and Type | Field | Description |
|---|---|---|
static DefaultGeneratorStrategy |
INSTANCE |
| Constructor | Description |
|---|---|
DefaultGeneratorStrategy() |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
generate(ClassGenerator cg) |
Generate the class.
|
protected DebuggingClassWriter |
getClassVisitor() |
|
protected org.objectweb.asm.ClassWriter |
getClassWriter() |
|
protected byte[] |
transform(byte[] b) |
|
protected ClassGenerator |
transform(ClassGenerator cg) |
equalspublic static final DefaultGeneratorStrategy INSTANCE
public byte[] generate(ClassGenerator cg) throws Exception
GeneratorStrategygenerate in interface GeneratorStrategycg - a class generator on which you can call ClassGenerator.generateClass(org.objectweb.asm.ClassVisitor)Exceptionprotected DebuggingClassWriter getClassVisitor() throws Exception
Exceptionprotected final org.objectweb.asm.ClassWriter getClassWriter()
protected ClassGenerator transform(ClassGenerator cg) throws Exception
ExceptionCopyright © 2018. All rights reserved.