public class ElementReporter extends RootReporter
| Modifier and Type | Field and Description |
|---|---|
protected Element |
element |
processingEnv| Constructor and Description |
|---|
ElementReporter(ProcessingEnvironment processingEnv,
Element element) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationReporter |
forAnnotation(AnnotationMirror annotation) |
AnnotationReporter |
forAnnotation(CharSequence annotationName) |
AnnotationReporter |
forAnnotation(Class<? extends Annotation> annotationClazz) |
protected void |
printMessage(Diagnostic.Kind kind,
CharSequence message)
Actually print a message of the given diagnostic kind.
|
forElementassembleMessage, error, mandatoryWarning, message, note, other, warningprotected final Element element
public ElementReporter(ProcessingEnvironment processingEnv, Element element)
protected void printMessage(Diagnostic.Kind kind, CharSequence message)
AbstractReporterprintMessage in class RootReporterkind - the diagnostic kindmessage - the message to printpublic AnnotationReporter forAnnotation(AnnotationMirror annotation)
public AnnotationReporter forAnnotation(CharSequence annotationName)
public AnnotationReporter forAnnotation(Class<? extends Annotation> annotationClazz)
Copyright © 2013–2014. All rights reserved.