Package | Description |
---|---|
com.sun.tools.javac.api | |
com.sun.tools.javac.main | |
com.sun.tools.javac.processing | |
com.sun.tools.javac.sym | |
javax.annotation.processing |
Facilities for declaring annotation processors and for
allowing annotation processors to communicate with an annotation processing
tool environment.
|
javax.tools |
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
|
Modifier and Type | Method and Description |
---|---|
void |
JavacTaskImpl.setProcessors(Iterable<? extends Processor> processors) |
void |
BasicJavacTask.setProcessors(Iterable<? extends Processor> processors) |
Modifier and Type | Method and Description |
---|---|
void |
JavaCompiler.compile(List<JavaFileObject> sourceFileObjects,
List<String> classnames,
Iterable<? extends Processor> processors)
Main method: compile a list of files, return all compiled classes
|
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) |
void |
JavaCompiler.initProcessAnnotations(Iterable<? extends Processor> processors)
Check if we should process annotations.
|
Modifier and Type | Class and Description |
---|---|
class |
PrintingProcessor
A processor which prints out elements.
|
Modifier and Type | Method and Description |
---|---|
void |
JavacProcessingEnvironment.setProcessors(Iterable<? extends Processor> processors) |
Modifier and Type | Class and Description |
---|---|
class |
CreateSymbols
Used to generate a "symbol file" representing rt.jar that only
includes supported or legacy proprietary API.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractProcessor
An abstract annotation processor designed to be a convenient
superclass for most concrete annotation processors.
|
Modifier and Type | Method and Description |
---|---|
void |
JavaCompiler.CompilationTask.setProcessors(Iterable<? extends Processor> processors)
Sets processors (for annotation processing).
|
Copyright © 2015. All rights reserved.