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, flushIndex
public void init(javax.annotation.processing.ProcessingEnvironment _environment)
init
in interface javax.annotation.processing.Processor
public boolean process(Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment round)
process
in interface javax.annotation.processing.Processor
public 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.Processor
public Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes
in interface javax.annotation.processing.Processor
public Set<String> getSupportedOptions()
getSupportedOptions
in interface javax.annotation.processing.Processor
public javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface javax.annotation.processing.Processor
protected void info(String msg)
AbstractSisuIndex
info
in class AbstractSisuIndex
msg
- The messageprotected void warn(String msg)
AbstractSisuIndex
warn
in class AbstractSisuIndex
msg
- The messageprotected Reader getReader(String path) throws IOException
AbstractSisuIndex
getReader
in class AbstractSisuIndex
path
- The input pathIOException
protected Writer getWriter(String path) throws IOException
AbstractSisuIndex
getWriter
in class AbstractSisuIndex
path
- The output pathIOException
Copyright © 2010-2013 Sonatype, Inc.. All Rights Reserved.