Groovy Documentation

org.codehaus.groovy.tools.ast
[Groovy] Class TestHarnessClassLoader

java.lang.Object
  java.lang.ClassLoader
      java.security.SecureClassLoader
          java.net.URLClassLoader
              groovy.lang.GroovyClassLoader
                  org.codehaus.groovy.tools.ast.TestHarnessClassLoader

class TestHarnessClassLoader
extends GroovyClassLoader

ClassLoader exists so that TestHarnessOperation can be wired into the compile.

Authors:
Hamlet D'Arcy


Constructor Summary
TestHarnessClassLoader(ASTTransformation transform, CompilePhase phase)

 
Method Summary
protected CompilationUnit createCompilationUnit(CompilerConfiguration config, java.security.CodeSource codeSource)

 
Methods inherited from class GroovyClassLoader
addClasspath, setResourceLoader, getResourceLoader, parseClass, parseClass, parseClass, parseClass, parseClass, parseClass, generateScriptName, getLoadedClasses, setShouldRecompile, isShouldRecompile, loadClass, loadClass, loadClass, defineClass, defineClass, clearCache, addURL, 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
 
Methods inherited from class java.net.URLClassLoader
java.net.URLClassLoader#getResourceAsStream(java.lang.String), java.net.URLClassLoader#newInstance([Ljava.net.URL;, java.lang.ClassLoader), java.net.URLClassLoader#newInstance([Ljava.net.URL;), java.net.URLClassLoader#findResource(java.lang.String), java.net.URLClassLoader#findResources(java.lang.String), java.net.URLClassLoader#close(), java.net.URLClassLoader#getURLs(), java.net.URLClassLoader#loadClass(java.lang.String), java.net.URLClassLoader#getSystemClassLoader(), java.net.URLClassLoader#getResource(java.lang.String), java.net.URLClassLoader#getSystemResource(java.lang.String), java.net.URLClassLoader#getSystemResourceAsStream(java.lang.String), java.net.URLClassLoader#clearAssertionStatus(), java.net.URLClassLoader#getParent(), java.net.URLClassLoader#getResources(java.lang.String), java.net.URLClassLoader#getSystemResources(java.lang.String), java.net.URLClassLoader#setClassAssertionStatus(java.lang.String, boolean), java.net.URLClassLoader#setDefaultAssertionStatus(boolean), java.net.URLClassLoader#setPackageAssertionStatus(java.lang.String, boolean), java.net.URLClassLoader#wait(long, int), java.net.URLClassLoader#wait(long), java.net.URLClassLoader#wait(), java.net.URLClassLoader#equals(java.lang.Object), java.net.URLClassLoader#toString(), java.net.URLClassLoader#hashCode(), java.net.URLClassLoader#getClass(), java.net.URLClassLoader#notify(), java.net.URLClassLoader#notifyAll()
 

Constructor Detail

TestHarnessClassLoader

TestHarnessClassLoader(ASTTransformation transform, CompilePhase phase)


 
Method Detail

createCompilationUnit

protected CompilationUnit createCompilationUnit(CompilerConfiguration config, java.security.CodeSource codeSource)


 

Groovy Documentation