Package groovy.lang
Class GroovyClassLoader.ClassCollector
java.lang.Object
groovy.lang.GroovyClassLoader.ClassCollector
- All Implemented Interfaces:
CompilationUnit.ClassgenCallback
- Enclosing class:
- GroovyClassLoader
public static class GroovyClassLoader.ClassCollector extends java.lang.Object implements CompilationUnit.ClassgenCallback
-
Constructor Summary
Constructors Modifier Constructor Description protected
ClassCollector(GroovyClassLoader.InnerLoader cl, CompilationUnit unit, SourceUnit su)
-
Method Summary
Modifier and Type Method Description void
call(org.objectweb.asm.ClassVisitor classWriter, ClassNode classNode)
protected java.lang.Class
createClass(byte[] code, ClassNode classNode)
GroovyClassLoader
getDefiningClassLoader()
java.util.Collection
getLoadedClasses()
protected java.lang.Class
onClassNode(org.objectweb.asm.ClassWriter classWriter, ClassNode classNode)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ClassCollector
-
-
Method Details
-
getDefiningClassLoader
-
createClass
-
onClassNode
protected java.lang.Class onClassNode(org.objectweb.asm.ClassWriter classWriter, ClassNode classNode) -
call
- Specified by:
call
in interfaceCompilationUnit.ClassgenCallback
-
getLoadedClasses
public java.util.Collection getLoadedClasses()
-