View Javadoc
1 package net.sf.cglib.transform; 2 3 import net.sf.cglib.core.ClassGenerator; 4 import net.sf.cglib.core.Transformer; 5 import org.objectweb.asm.ClassVisitor; 6 7 public class TransformingClassGenerator implements ClassGenerator { 8 private ClassGenerator gen; 9 private ClassTransformer t; 10 11 public TransformingClassGenerator(ClassGenerator gen, ClassTransformer t) { 12 this.gen = gen; 13 this.t = t; 14 } 15 16 public void generateClass(ClassVisitor v) throws Exception { 17 t.setTarget(v); 18 gen.generateClass(t); 19 } 20 }

This page was automatically generated by Maven