|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.control.ProcessingUnit org.codehaus.groovy.control.CompilationUnit org.codehaus.groovy.tools.javac.JavaAwareCompilationUnit
public class JavaAwareCompilationUnit extends CompilationUnit
Created by IntelliJ IDEA. User: Alex.Tkachman Date: May 31, 2007 Time: 6:48:28 PM
Field Summary |
---|
Fields inherited from class ProcessingUnit | |
---|---|
classLoader, configuration, errorCollector, phase, phaseComplete |
Constructor Summary | |
JavaAwareCompilationUnit(CompilerConfiguration configuration)
|
|
JavaAwareCompilationUnit(CompilerConfiguration configuration, GroovyClassLoader groovyClassLoader)
|
|
JavaAwareCompilationUnit(CompilerConfiguration configuration, GroovyClassLoader groovyClassLoader, GroovyClassLoader transformClassLoader)
|
Method Summary | |
---|---|
void
|
addSources(java.lang.String[] paths)
|
void
|
addSources(java.io.File[] files)
|
void
|
configure(CompilerConfiguration configuration)
|
JavaCompilerFactory
|
getCompilerFactory()
|
void
|
gotoPhase(int phase)
|
void
|
setCompilerFactory(JavaCompilerFactory compilerFactory)
|
Methods inherited from class ProcessingUnit | |
---|---|
completePhase, configure, getClassLoader, getConfiguration, getErrorCollector, getPhase, getPhaseDescription, gotoPhase, nextPhase, setClassLoader, setConfiguration |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public JavaAwareCompilationUnit(CompilerConfiguration configuration)
public JavaAwareCompilationUnit(CompilerConfiguration configuration, GroovyClassLoader groovyClassLoader)
public JavaAwareCompilationUnit(CompilerConfiguration configuration, GroovyClassLoader groovyClassLoader, GroovyClassLoader transformClassLoader)
Method Detail |
---|
public void addSources(java.lang.String[] paths)
public void addSources(java.io.File[] files)
public void configure(CompilerConfiguration configuration)
public JavaCompilerFactory getCompilerFactory()
public void gotoPhase(int phase)
public void setCompilerFactory(JavaCompilerFactory compilerFactory)
Groovy Documentation