net.sf.cglib.core
Class DefaultGeneratorStrategy
java.lang.Object
net.sf.cglib.core.DefaultGeneratorStrategy
- All Implemented Interfaces:
- GeneratorStrategy
- public class DefaultGeneratorStrategy
- extends java.lang.Object
- implements GeneratorStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DefaultGeneratorStrategy INSTANCE
DefaultGeneratorStrategy
public DefaultGeneratorStrategy()
generate
public byte[] generate(ClassGenerator cg)
throws java.lang.Exception
- Specified by:
generate
in interface GeneratorStrategy
- Throws:
java.lang.Exception
getClassWriter
protected org.objectweb.asm.ClassWriter getClassWriter()
throws java.lang.Exception
- Throws:
java.lang.Exception
transform
protected byte[] transform(byte[] b)
throws java.lang.Exception
- Throws:
java.lang.Exception
transform
protected ClassGenerator transform(ClassGenerator cg)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2002-2003 cglib. All Rights Reserved.