public class JavaCompilerWithDeps extends JavaCompiler
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
JavaCompiler.CompilePolicy, JavaCompiler.ImplicitSourcePolicy
Modifier and Type | Field and Description |
---|---|
protected CompilerThread |
compilerThread |
protected Dependencies |
deps
The dependency database
|
annotate, annotationProcessingOccurred, attr, attrParseOnly, chk, closeables, compilePolicy, compilerKey, compileStates, completionFailureName, context, delegateCompiler, devVerbose, elapsed_msec, encoding, enter, explicitAnnotationProcessingRequested, fileManager, flow, gen, genEndPos, implicitSourceFilesRead, implicitSourcePolicy, inputFiles, jniWriter, keepComments, lineDebugInfo, log, lower, make, names, needRootClasses, options, parserFactory, printFlat, processPcks, reader, shouldStopPolicyIfError, shouldStopPolicyIfNoError, source, sourceOutput, stubOutput, syms, taskListener, thisCompleter, todo, transTypes, types, verbose, verboseCompilePolicy, werror, writer
Constructor and Description |
---|
JavaCompilerWithDeps(Context context,
CompilerThread t) |
Modifier and Type | Method and Description |
---|---|
static void |
preRegister(Context context,
CompilerThread t) |
void |
reportPublicApi(Symbol.ClassSymbol sym)
Collect the public apis of classes supplied explicitly for compilation.
|
attribute, attribute, close, close, compile, compile, complete, desugar, desugar, enterTrees, enterTreesIfNeeded, errorCount, flow, flow, flow, fullVersion, generate, generate, initProcessAnnotations, initRound, instance, keepComments, parse, parse, parse, parseFiles, printCount, printNote, processAnnotations, processAnnotations, readSource, reportDeferredDiagnostics, resolveBinaryNameOrIdent, resolveIdent, shouldStop, stopIfError, stopIfError, version, warningCount
protected Dependencies deps
protected CompilerThread compilerThread
public JavaCompilerWithDeps(Context context, CompilerThread t)
public static void preRegister(Context context, CompilerThread t)
public void reportPublicApi(Symbol.ClassSymbol sym)
reportPublicApi
in class JavaCompiler
sym
- The class to visit.Copyright © 2017 earcam. All rights reserved.