Modifier and Type | Field and Description |
---|---|
protected Context |
BasicJavacTask.context |
Modifier and Type | Method and Description |
---|---|
Context |
BasicJavacTask.getContext()
For internal use only.
|
Modifier and Type | Method and Description |
---|---|
JavacTask |
JavacTool.getTask(Writer out,
JavaFileManager fileManager,
DiagnosticListener<? super JavaFileObject> diagnosticListener,
Iterable<String> options,
Iterable<String> classes,
Iterable<? extends JavaFileObject> compilationUnits,
Context context) |
static JavacTask |
BasicJavacTask.instance(Context context) |
static ClientCodeWrapper |
ClientCodeWrapper.instance(Context context) |
static JavacTrees |
JavacTrees.instance(Context context) |
static MultiTaskListener |
MultiTaskListener.instance(Context context)
Get the MultiTaskListener instance for this context.
|
static void |
JavacTool.processOptions(Context context,
JavaFileManager fileManager,
Iterable<String> options) |
void |
BasicJavacTask.updateContext(Context newContext)
For internal use only.
|
void |
JavacTrees.updateContext(Context context) |
Constructor and Description |
---|
BasicJavacTask(Context c,
boolean register) |
ClientCodeWrapper(Context context) |
JavacTrees(Context context) |
MultiTaskListener(Context context) |
Modifier and Type | Method and Description |
---|---|
static DeferredLintHandler |
DeferredLintHandler.instance(Context context) |
static Lint |
Lint.instance(Context context)
Get the root Lint instance.
|
static Source |
Source.instance(Context context) |
static Symtab |
Symtab.instance(Context context)
Get the symbol table instance.
|
static TypeAnnotations |
TypeAnnotations.instance(Context context) |
static Types |
Types.instance(Context context) |
Constructor and Description |
---|
DeferredLintHandler(Context context) |
Lint(Context context) |
Symtab(Context context)
Constructor; enters all predefined identifiers and operators
into symbol table.
|
TypeAnnotations(Context context) |
Types(Context context) |
Modifier and Type | Field and Description |
---|---|
protected Context |
CompileStates.context |
Modifier and Type | Method and Description |
---|---|
static Annotate |
Annotate.instance(Context context) |
static Attr |
Attr.instance(Context context) |
static Check |
Check.instance(Context context) |
static CompileStates |
CompileStates.instance(Context context)
Get the CompileStates instance for this context.
|
static DeferredAttr |
DeferredAttr.instance(Context context) |
static Enter |
Enter.instance(Context context) |
static Flow |
Flow.instance(Context context) |
static Infer |
Infer.instance(Context context) |
static LambdaToMethod |
LambdaToMethod.instance(Context context) |
static Lower |
Lower.instance(Context context) |
static MemberEnter |
MemberEnter.instance(Context context) |
static Resolve |
Resolve.instance(Context context) |
static Todo |
Todo.instance(Context context)
Get the Todo instance for this context.
|
static TransTypes |
TransTypes.instance(Context context)
Get the instance for this context.
|
Constructor and Description |
---|
Annotate(Context context) |
Attr(Context context) |
Check(Context context) |
CompileStates(Context context) |
DeferredAttr(Context context) |
Enter(Context context) |
Flow(Context context) |
Infer(Context context) |
Lower(Context context) |
MemberEnter(Context context) |
Resolve(Context context) |
Todo(Context context)
Create a new todo list.
|
TransTypes(Context context) |
Modifier and Type | Method and Description |
---|---|
static FSInfo |
FSInfo.instance(Context context)
Get the FSInfo instance for this context.
|
static ZipFileIndexCache |
ZipFileIndexCache.instance(Context context)
Get a context-specific instance of a cache.
|
static void |
CacheFSInfo.preRegister(Context context)
Register a Context.Factory to create a CacheFSInfo.
|
static void |
JavacFileManager.preRegister(Context context)
Register a Context.Factory to create a JavacFileManager.
|
void |
JavacFileManager.setContext(Context context)
Set the context for JavacFileManager.
|
Constructor and Description |
---|
FSInfo(Context context) |
JavacFileManager(Context context,
boolean register,
Charset charset)
Create a JavacFileManager using a given context, optionally registering
it as the JavaFileManager for that context.
|
Modifier and Type | Field and Description |
---|---|
protected Context |
LVTRanges.context |
Modifier and Type | Method and Description |
---|---|
static ClassReader |
ClassReader.instance(Context context)
Get the ClassReader instance for this invocation.
|
static ClassWriter |
ClassWriter.instance(Context context)
Get the ClassWriter instance for this context.
|
static Gen |
Gen.instance(Context context) |
static JNIWriter |
JNIWriter.instance(Context context)
Get the ClassWriter instance for this context.
|
static LVTRanges |
LVTRanges.instance(Context context)
Get the LVTRanges instance for this context.
|
static Profile |
Profile.instance(Context context) |
static Target |
Target.instance(Context context) |
Constructor and Description |
---|
ClassReader(Context context,
boolean definitive)
Construct a new class reader, optionally treated as the
definitive classreader for this invocation.
|
ClassWriter(Context context)
Construct a class writer, given an options table.
|
Gen(Context context) |
LVTRanges(Context context) |
Modifier and Type | Field and Description |
---|---|
protected Context |
JavaCompiler.context |
Modifier and Type | Method and Description |
---|---|
Main.Result |
Main.compile(String[] args,
Context context) |
Main.Result |
Main.compile(String[] args,
Context context,
List<JavaFileObject> fileObjects,
Iterable<? extends Processor> processors)
Programmatic interface for main function.
|
Main.Result |
Main.compile(String[] args,
String[] classNames,
Context context,
List<JavaFileObject> fileObjects,
Iterable<? extends Processor> processors) |
static JavaCompiler |
JavaCompiler.instance(Context context)
Get the JavaCompiler instance for this context.
|
Constructor and Description |
---|
JavaCompiler(Context context)
Construct a new compiler using a shared context.
|
Modifier and Type | Method and Description |
---|---|
static JavacElements |
JavacElements.instance(Context context) |
static JavacTypes |
JavacTypes.instance(Context context) |
void |
JavacElements.setContext(Context context)
Use a new context.
|
void |
JavacTypes.setContext(Context context)
Use a new context.
|
Constructor and Description |
---|
JavacElements(Context context)
Public for use only by JavacProcessingEnvironment
|
JavacTypes(Context context)
Public for use only by JavacProcessingEnvironment
|
Modifier and Type | Method and Description |
---|---|
void |
JavacPathFileManager.setContext(Context context)
Set the context for JavacPathFileManager.
|
Constructor and Description |
---|
JavacPathFileManager(Context context,
boolean register,
Charset charset)
Create a JavacPathFileManager using a given context, optionally registering
it as the JavaFileManager for that context.
|
Modifier and Type | Method and Description |
---|---|
static ParserFactory |
ParserFactory.instance(Context context) |
static ScannerFactory |
ScannerFactory.instance(Context context)
Get the Factory instance for this context.
|
static Tokens |
Tokens.instance(Context context) |
Constructor and Description |
---|
ParserFactory(Context context) |
ScannerFactory(Context context)
Create a new scanner factory.
|
Tokens(Context context) |
Modifier and Type | Method and Description |
---|---|
Context |
JavacProcessingEnvironment.getContext()
For internal use only.
|
Modifier and Type | Method and Description |
---|---|
JavaCompiler |
JavacProcessingEnvironment.doProcessing(Context context,
List<JCTree.JCCompilationUnit> roots,
List<Symbol.ClassSymbol> classSymbols,
Iterable<? extends Symbol.PackageSymbol> pckSymbols,
Log.DeferredDiagnosticHandler deferredDiagnosticHandler) |
static JavacProcessingEnvironment |
JavacProcessingEnvironment.instance(Context context)
Get the JavacProcessingEnvironment instance for this context.
|
void |
JavacFiler.newRound(Context context)
Update internal state for a new round.
|
void |
JavacMessager.newRound(Context context) |
Constructor and Description |
---|
JavacProcessingEnvironment(Context context) |
Modifier and Type | Method and Description |
---|---|
static DocTreeMaker |
DocTreeMaker.instance(Context context)
Get the TreeMaker instance.
|
static TreeInfo |
TreeInfo.instance(Context context) |
static TreeMaker |
TreeMaker.instance(Context context)
Get the TreeMaker instance.
|
Constructor and Description |
---|
DocTreeMaker(Context context)
Create a tree maker with NOPOS as initial position.
|
TreeMaker(Context context)
Create a tree maker with null toplevel and NOPOS as initial position.
|
Modifier and Type | Method and Description |
---|---|
static JavacMessages |
JavacMessages.instance(Context context)
Get the JavacMessages instance for this context.
|
static JCDiagnostic.Factory |
JCDiagnostic.Factory.instance(Context context)
Get the Factory instance for this context.
|
static Log |
Log.instance(Context context)
Get the Log instance for this context.
|
static Names |
Names.instance(Context context) |
static Options |
Options.instance(Context context)
Get the Options instance for this context.
|
static RichDiagnosticFormatter |
RichDiagnosticFormatter.instance(Context context)
Get the DiagnosticFormatter instance for this context.
|
T |
Context.Factory.make(Context c) |
void |
BaseFileManager.setContext(Context context)
Set the context for JavacPathFileManager.
|
Constructor and Description |
---|
Context(Context prev) |
Factory(Context context)
Create a new diagnostic factory.
|
JavacMessages(Context context)
Creates a JavacMessages object.
|
Log(Context context)
Construct a log with default settings.
|
Log(Context context,
PrintWriter defaultWriter)
Construct a log with all output redirected.
|
Log(Context context,
PrintWriter errWriter,
PrintWriter warnWriter,
PrintWriter noticeWriter)
Construct a log with given I/O redirections.
|
Names(Context context) |
Options(Context context) |
RichDiagnosticFormatter(Context context) |
Modifier and Type | Method and Description |
---|---|
static Dependencies |
Dependencies.instance(Context context) |
static void |
JavaCompilerWithDeps.preRegister(Context context,
CompilerThread t) |
static void |
ResolveWithDeps.preRegister(Context context) |
Constructor and Description |
---|
JavaCompilerWithDeps(Context context,
CompilerThread t) |
ResolveWithDeps(Context context) |
Copyright © 2017 earcam. All rights reserved.