public final class SisuIndexAPT6 extends AbstractSisuIndex implements javax.annotation.processing.Processor
Processor that generates a qualified class index for the current build.| Constructor and Description |
|---|
SisuIndexAPT6() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends javax.annotation.processing.Completion> |
getCompletions(javax.lang.model.element.Element element,
javax.lang.model.element.AnnotationMirror annotation,
javax.lang.model.element.ExecutableElement member,
String userText) |
protected Reader |
getReader(String path)
Creates a new reader for the given input path.
|
Set<String> |
getSupportedAnnotationTypes() |
Set<String> |
getSupportedOptions() |
javax.lang.model.SourceVersion |
getSupportedSourceVersion() |
protected Writer |
getWriter(String path)
Creates a new writer for the given output path.
|
protected void |
info(String msg)
Reports an informational message.
|
void |
init(javax.annotation.processing.ProcessingEnvironment _environment) |
boolean |
process(Set<? extends javax.lang.model.element.TypeElement> annotations,
javax.annotation.processing.RoundEnvironment round) |
protected void |
warn(String msg)
Reports a warning message.
|
addClassToIndex, flushIndexpublic void init(javax.annotation.processing.ProcessingEnvironment _environment)
init in interface javax.annotation.processing.Processorpublic boolean process(Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment round)
process in interface javax.annotation.processing.Processorpublic Iterable<? extends javax.annotation.processing.Completion> getCompletions(javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror annotation, javax.lang.model.element.ExecutableElement member, String userText)
getCompletions in interface javax.annotation.processing.Processorpublic Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface javax.annotation.processing.Processorpublic Set<String> getSupportedOptions()
getSupportedOptions in interface javax.annotation.processing.Processorpublic javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion in interface javax.annotation.processing.Processorprotected void info(String msg)
AbstractSisuIndexinfo in class AbstractSisuIndexmsg - The messageprotected void warn(String msg)
AbstractSisuIndexwarn in class AbstractSisuIndexmsg - The messageprotected Reader getReader(String path) throws IOException
AbstractSisuIndexgetReader in class AbstractSisuIndexpath - The input pathIOExceptionprotected Writer getWriter(String path) throws IOException
AbstractSisuIndexgetWriter in class AbstractSisuIndexpath - The output pathIOExceptionCopyright © 2010-2015 Sonatype, Inc.. All Rights Reserved.