| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final JavaStubGenerator |
| Access | Constructor and Description |
|---|---|
| public | JavaStubCompilationUnit(final CompilerConfiguration config, final GroovyClassLoader gcl, File destDir)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SourceUnit | addSource(final File file)
Overrides org. |
| public SourceUnit | addSource(URL url)
Overrides org. |
| public void | compile()
Overrides org. compile(Phases.ALL).
|
| public void | configure(final CompilerConfiguration config)
Overrides org. |
| public int | |
| private boolean |
| stubCount | back to summary |
|---|---|
| private int stubCount | |
| stubGenerator | back to summary |
|---|---|
| private final JavaStubGenerator stubGenerator | |
| JavaStubCompilationUnit | back to summary |
|---|---|
| public JavaStubCompilationUnit(final CompilerConfiguration config, final GroovyClassLoader gcl, File destDir) | |
| JavaStubCompilationUnit | back to summary |
|---|---|
| public JavaStubCompilationUnit(final CompilerConfiguration config, final GroovyClassLoader gcl) | |
| addSource | back to summary |
|---|---|
| public SourceUnit addSource(final File file) Overrides org. Doc from org. Adds a source file to the unit.
| |
| addSource | back to summary |
|---|---|
| public SourceUnit addSource(URL url) Overrides org. Doc from org. Adds a source file to the unit.
| |
| compile | back to summary |
|---|---|
| public void compile() throws CompilationFailedException Overrides org. Doc from org. Synonym for
| |
| configure | back to summary |
|---|---|
| public void configure(final CompilerConfiguration config) 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
| |
| getStubCount | back to summary |
|---|---|
| public int getStubCount() | |
| hasAcceptedFileExtension | back to summary |
|---|---|
| private boolean hasAcceptedFileExtension(String name) | |