| Modifier and Type | Field and Description |
|---|---|
| private JavaCompilerFactory | |
| private final File | |
| private final Set | |
| private final boolean | |
| private final boolean | |
| private final JavaStubGenerator |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | JavaAwareCompilationUnit(final CompilerConfiguration configuration, final GroovyClassLoader groovyClassLoader)
|
| public | JavaAwareCompilationUnit(final CompilerConfiguration configuration, final GroovyClassLoader groovyClassLoader, final GroovyClassLoader transformClassLoader)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public void | addSources(final String[] paths)
Overrides org. |
| public void | addSources(final File[] files)
Overrides org. |
| public void | configure(final CompilerConfiguration configuration)
Overrides org. |
| public JavaCompilerFactory | |
| public void | gotoPhase(final int phase)
Overrides org. |
| public void |
| compilerFactory | back to summary |
|---|---|
| private JavaCompilerFactory compilerFactory | |
| generationGoal | back to summary |
|---|---|
| private final File generationGoal | |
| javaSources | back to summary |
|---|---|
| private final Set<String> javaSources | |
| keepStubs | back to summary |
|---|---|
| private final boolean keepStubs | |
| memStubEnabled | back to summary |
|---|---|
| private final boolean memStubEnabled | |
| stubGenerator | back to summary |
|---|---|
| private final JavaStubGenerator stubGenerator | |
| JavaAwareCompilationUnit | back to summary |
|---|---|
| public JavaAwareCompilationUnit() | |
| JavaAwareCompilationUnit | back to summary |
|---|---|
| public JavaAwareCompilationUnit(final CompilerConfiguration configuration) | |
| JavaAwareCompilationUnit | back to summary |
|---|---|
| public JavaAwareCompilationUnit(final CompilerConfiguration configuration, final GroovyClassLoader groovyClassLoader) | |
| JavaAwareCompilationUnit | back to summary |
|---|---|
| public JavaAwareCompilationUnit(final CompilerConfiguration configuration, final GroovyClassLoader groovyClassLoader, final GroovyClassLoader transformClassLoader) | |
| addJavaOrGroovySource | back to summary |
|---|---|
| private void addJavaOrGroovySource(final File file) | |
| addJavaSource | back to summary |
|---|---|
| private void addJavaSource(final File file) | |
| addSources | back to summary |
|---|---|
| public void addSources(final String[] paths) Overrides org. Doc from org. Adds a set of file paths to the unit.
| |
| addSources | back to summary |
|---|---|
| public void addSources(final File[] files) Overrides org. Doc from org. Adds a set of source files to the unit.
| |
| configure | back to summary |
|---|---|
| public void configure(final CompilerConfiguration configuration) Overrides org. Doc from org. Configures its debugging mode and classloader classpath from a given compiler configuration.
This cannot be done more than once due to limitations in
| |
| getCompilerFactory | back to summary |
|---|---|
| public JavaCompilerFactory getCompilerFactory() | |
| gotoPhase | back to summary |
|---|---|
| public void gotoPhase(final int phase) throws CompilationFailedException Overrides org. Doc from org. Wraps up any pending operations for the current phase and switches to the given phase.
| |
| setCompilerFactory | back to summary |
|---|---|
| public void setCompilerFactory(final JavaCompilerFactory compilerFactory) | |