| Package | Description |
|---|---|
| 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 |
|---|---|
JavaFileObject |
Filer.createClassFile(CharSequence
Creates a new class file, and returns an object to allow writing to it.
|
JavaFileObject |
Filer.createSourceFile(CharSequence
Creates a new source file and returns an object to allow writing to it.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ForwardingJavaFileObject<F extends JavaFileObject
Forwards calls to a given file object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ForwardingJavaFileObject<F extends JavaFileObject
Forwards calls to a given file object.
|
class |
SimpleJavaFileObject
Provides simple implementations for most methods in JavaFileObject.
|
| Modifier and Type | Method and Description |
|---|---|
JavaFileObject |
JavaFileManager.getJavaFileForInput(JavaFileManager
Gets a
file object for input representing the specified class of the specified kind in the given location.
|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForInput(JavaFileManager
|
JavaFileObject |
JavaFileManager.getJavaFileForOutput(JavaFileManager
Gets a
file object for output representing the specified class of the specified kind in the given location.
|
JavaFileObject |
ForwardingJavaFileManager.getJavaFileForOutput(JavaFileManager
|
| Modifier and Type | Method and Description |
|---|---|
Iterable |
StandardJavaFileManager.getJavaFileObjects(File
Gets file objects representing the given files.
|
Iterable |
StandardJavaFileManager.getJavaFileObjects(String
Gets file objects representing the given file names.
|
Iterable |
StandardJavaFileManager.getJavaFileObjectsFromFiles(Iterable
Gets file objects representing the given files.
|
Iterable |
StandardJavaFileManager.getJavaFileObjectsFromStrings(Iterable
Gets file objects representing the given file names.
|
Iterable |
JavaFileManager.list(JavaFileManager
Lists all file objects matching the given criteria in the given location.
|
Iterable |
ForwardingJavaFileManager.list(JavaFileManager
|
| Modifier and Type | Method and Description |
|---|---|
String |
JavaFileManager.inferBinaryName(JavaFileManager
Infers a binary name of a file object based on a location.
|
String |
ForwardingJavaFileManager.inferBinaryName(JavaFileManager
|
| Modifier and Type | Method and Description |
|---|---|
StandardJavaFileManager |
DocumentationTool.getStandardFileManager(DiagnosticListener
Gets a new instance of the standard file manager implementation for this tool.
|
StandardJavaFileManager |
JavaCompiler.getStandardFileManager(DiagnosticListener
Gets a new instance of the standard file manager implementation for this tool.
|
DocumentationTool |
DocumentationTool.getTask(Writer
Creates a future for a documentation task with the given components and arguments.
|
DocumentationTool |
DocumentationTool.getTask(Writer
Creates a future for a documentation task with the given components and arguments.
|
JavaCompiler |
JavaCompiler.getTask(Writer
Creates a future for a compilation task with the given components and arguments.
|
JavaCompiler |
JavaCompiler.getTask(Writer
Creates a future for a compilation task with the given components and arguments.
|