Class ExtendedGroovyClassLoader.ExtendedClassCollector
java.lang.Object
groovy.lang.GroovyClassLoader.ClassCollector
org.springframework.boot.cli.compiler.ExtendedGroovyClassLoader.ExtendedClassCollector
- All Implemented Interfaces:
org.codehaus.groovy.control.CompilationUnit.ClassgenCallback
- Enclosing class:
- ExtendedGroovyClassLoader
protected class ExtendedGroovyClassLoader.ExtendedClassCollector
extends groovy.lang.GroovyClassLoader.ClassCollector
Inner collector class used to track as classes are added.
-
Constructor Summary
ModifierConstructorDescriptionprotected
ExtendedClassCollector
(groovy.lang.GroovyClassLoader.InnerLoader loader, org.codehaus.groovy.control.CompilationUnit unit, org.codehaus.groovy.control.SourceUnit su) -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?>
createClass
(byte[] code, org.codehaus.groovy.ast.ClassNode classNode) Methods inherited from class groovy.lang.GroovyClassLoader.ClassCollector
call, getDefiningClassLoader, getLoadedClasses, onClassNode
-
Constructor Details
-
ExtendedClassCollector
protected ExtendedClassCollector(groovy.lang.GroovyClassLoader.InnerLoader loader, org.codehaus.groovy.control.CompilationUnit unit, org.codehaus.groovy.control.SourceUnit su)
-
-
Method Details
-
createClass
- Overrides:
createClass
in classgroovy.lang.GroovyClassLoader.ClassCollector
-