|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonatype.guice.bean.scanners.index.AbstractSisuIndex
org.sonatype.guice.bean.scanners.index.SisuIndexAPT6
public final class SisuIndexAPT6
Java 6 Annotation Processor
that generates a qualified class index for the current build.
Constructor Summary | |
---|---|
SisuIndexAPT6()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.sonatype.guice.bean.scanners.index.AbstractSisuIndex |
---|
addClassToIndex, flushIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SisuIndexAPT6()
Method Detail |
---|
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 path
IOException
protected Writer getWriter(String path) throws IOException
AbstractSisuIndex
getWriter
in class AbstractSisuIndex
path
- The output path
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |