[Groovy] Class VisitorClassLoader

  • org.codehaus.groovy.tools.shell.util.ScriptVariableAnalyzer.VisitorClassLoader

class loader to add our phase operation

Properties Summary

Properties
Type Name and description
GroovyClassVisitor visitor

Constructor Summary

Constructors
Constructor and description
ScriptVariableAnalyzer.VisitorClassLoader (GroovyClassVisitor visitor)
@deprecated will be removed in 2.5.0, use VisitorClassLoader(GroovyClassVisitor, ClassLoader)
ScriptVariableAnalyzer.VisitorClassLoader (GroovyClassVisitor visitor, ClassLoader parent)

Methods Summary

Methods
Type Params Return Type Name and description
protected CompilationUnit createCompilationUnit(CompilerConfiguration config, CodeSource source)

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class GroovyClassLoader loadClass, loadClass, loadClass, defineClass, defineClass, addURL, clearCache, setResourceLoader, getResourceLoader, generateScriptName, setShouldRecompile, isShouldRecompile, getLoadedClasses, parseClass, parseClass, parseClass, parseClass, parseClass, parseClass, addClasspath, getResourceAsStream, newInstance, newInstance, findResource, findResources, close, getURLs, getSystemClassLoader, getResource, getSystemResource, getSystemResourceAsStream, clearAssertionStatus, getParent, getResources, getSystemResources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
class URLClassLoader getResourceAsStream, newInstance, newInstance, findResource, findResources, close, getURLs, loadClass, getSystemClassLoader, getResource, getSystemResource, getSystemResourceAsStream, clearAssertionStatus, getParent, getResources, getSystemResources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Property Detail

final GroovyClassVisitor visitor

Constructor Detail

@Deprecated ScriptVariableAnalyzer.VisitorClassLoader(GroovyClassVisitor visitor)

deprecated:
will be removed in 2.5.0, use VisitorClassLoader(GroovyClassVisitor, ClassLoader)

ScriptVariableAnalyzer.VisitorClassLoader(GroovyClassVisitor visitor, ClassLoader parent)

Method Detail

@Override protected CompilationUnit createCompilationUnit(CompilerConfiguration config, CodeSource source)