org.codehaus.groovy.tools.javac
[Java] Class JavaStubCompilationUnit
java.lang.Object
org.codehaus.groovy.control.ProcessingUnit
org.codehaus.groovy.control.CompilationUnit
org.codehaus.groovy.tools.javac.JavaStubCompilationUnit
public class JavaStubCompilationUnit
extends CompilationUnit
Compilation unit to only generate stubs.
- Authors:
- Jason Dillon
- Guillaume Laforge
Fields inherited from class CompilationUnit
|
ast, astTransformationsContext, classNodeResolver, classSourcesByPublicClassName, classgenCallback, configured, debug, generatedClasses, names, optimizer, progressCallback, queuedSources, resolveVisitor, sources, staticImportVisitor, summariesByPublicClassName, summariesBySourceName, verifier |
Methods inherited from class CompilationUnit
|
addClassNode, addNewPhaseOperation, addPhaseOperation, addPhaseOperation, addPhaseOperation, addSource, addSource, addSource, addSource, addSource, addSources, addSources, applyToGeneratedGroovyClasses, applyToPrimaryClassNodes, applyToSourceUnits, compile, compile, configure, createClassVisitor, dequeued, getAST, getASTTransformationsContext, getClassNode, getClassNodeResolver, getClassSourcesByPublicClassName, getClasses, getClassgenCallback, getFirstClassNode, getProgressCallback, getSummariesByPublicClassName, getSummariesBySourceName, getTransformLoader, isPublicClass, iterator, mark, setClassNodeResolver, setClassgenCallback, setProgressCallback |
Methods inherited from class ProcessingUnit
|
completePhase, configure, getClassLoader, getConfiguration, getErrorCollector, getPhase, getPhaseDescription, gotoPhase, nextPhase, setClassLoader, setConfiguration |
JavaStubCompilationUnit
public JavaStubCompilationUnit(CompilerConfiguration config, GroovyClassLoader gcl, File destDir)
-
JavaStubCompilationUnit
public JavaStubCompilationUnit(CompilerConfiguration config, GroovyClassLoader gcl)
-
addSource
@Overridepublic SourceUnit addSource(final File file) {
public SourceUnit addSource(File file)
-
addSource
@Overridepublic SourceUnit addSource(URL url) {
public SourceUnit addSource(URL url)
-
compile
@Override
public void compile()
-
configure
@Override
public void configure(CompilerConfiguration config)
-
getStubCount
public int getStubCount()
-
Copyright © 2003-2013 The Codehaus. All rights reserved.