1 34 package org.codehaus.groovy.classgen; 35 36 import org.codehaus.groovy.ast.CodeVisitorSupport; 37 import org.codehaus.groovy.ast.GroovyClassVisitor; 38 import org.objectweb.asm.Constants; 39 40 import java.util.LinkedList ; 41 42 48 public abstract class ClassGenerator extends CodeVisitorSupport implements GroovyClassVisitor, Constants { 49 protected ClassLoader classLoader; 50 protected LinkedList innerClasses = new LinkedList (); 52 53 public ClassGenerator(ClassLoader classLoader) { 54 this.classLoader = classLoader; 55 } 56 57 public LinkedList getInnerClasses() { 58 return innerClasses; 59 } 60 61 public ClassLoader getClassLoader() { 62 return classLoader; 63 } 64 65 77 public final static int asmJDKVersion = V1_3 ; 78 } 81 | Popular Tags |