|
Groovy 2.2.0 | |||||||
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
Compilation Unit capable of compiling Java source files.
Constructor Summary | |
JavaAwareCompilationUnit(CompilerConfiguration configuration)
|
|
JavaAwareCompilationUnit(CompilerConfiguration configuration, GroovyClassLoader groovyClassLoader)
|
|
JavaAwareCompilationUnit(CompilerConfiguration configuration, GroovyClassLoader groovyClassLoader, GroovyClassLoader transformClassLoader)
|
Method Summary | |
---|---|
void
|
addSources(String[] paths)
|
void
|
addSources(File[] files)
|
void
|
configure(CompilerConfiguration configuration)
|
JavaCompilerFactory
|
getCompilerFactory()
|
void
|
gotoPhase(int phase)
|
void
|
setCompilerFactory(JavaCompilerFactory compilerFactory)
|
Methods inherited from class ProcessingUnit | |
---|---|
getConfiguration, getErrorCollector, setConfiguration, getPhase, nextPhase, gotoPhase, getPhaseDescription, completePhase, getClassLoader, configure, setClassLoader, wait, wait, wait, equals, toString, hashCode, getClass, notify, 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(String[] paths)
public void addSources(File[] files)
public void configure(CompilerConfiguration configuration)
public JavaCompilerFactory getCompilerFactory()
public void gotoPhase(int phase)
public void setCompilerFactory(JavaCompilerFactory compilerFactory)
Copyright © 2003-2013 The Codehaus. All rights reserved.