java.lang.Object | |
↳ | org.eclipse.sisu.space.SisuIndexAPT6 |
Java 6 Annotation Processor that generates a qualified class index for the current build.
The index consists of qualified class names listed in META-INF/sisu/javax.inject.Named
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SisuIndexAPT6() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Iterable<? extends Completion> | getCompletions(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) | ||||||||||
Set<String> | getSupportedAnnotationTypes() | ||||||||||
Set<String> | getSupportedOptions() | ||||||||||
SourceVersion | getSupportedSourceVersion() | ||||||||||
void | init(ProcessingEnvironment _environment) | ||||||||||
boolean | process(Set<? extends TypeElement> annotations, RoundEnvironment round) |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized final void |
addClassToIndex(Object anno, Object clazz)
Adds a new annotated class entry to the index.
| ||||||||||
synchronized final void |
flushIndex()
Writes the current index as a series of tables.
| ||||||||||
Reader |
getReader(String path)
Creates a new reader for the given input path.
| ||||||||||
Writer |
getWriter(String path)
Creates a new writer for the given output path.
| ||||||||||
void |
info(String msg)
Reports an informational message.
| ||||||||||
void |
warn(String msg)
Reports a warning message.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
javax.annotation.processing.Processor
|
Adds a new annotated class entry to the index.
anno | The annotation name |
---|---|
clazz | The class name |
Writes the current index as a series of tables.
Creates a new reader for the given input path.
path | The input path |
---|
IOException |
---|
Creates a new writer for the given output path.
path | The output path |
---|
IOException |
---|