public class ValueReporter extends AnnotationReporter
| Modifier and Type | Field and Description |
|---|---|
protected AnnotationValue |
value |
annotationelementprocessingEnv| Constructor and Description |
|---|
ValueReporter(ProcessingEnvironment processingEnv,
Element element,
AnnotationMirror annotation,
AnnotationValue value) |
ValueReporter(ProcessingEnvironment processingEnv,
Element element,
AnnotationMirror annotation,
CharSequence valueName) |
ValueReporter(ProcessingEnvironment processingEnv,
Element element,
CharSequence annotationName,
CharSequence valueName) |
ValueReporter(ProcessingEnvironment processingEnv,
Element element,
Class<? extends Annotation> annotationClazz,
CharSequence valueName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
printMessage(Diagnostic.Kind kind,
CharSequence message)
Actually print a message of the given diagnostic kind.
|
forValue, forValueforAnnotation, forAnnotation, forAnnotationforElementassembleMessage, error, mandatoryWarning, message, note, other, warningprotected AnnotationValue value
public ValueReporter(ProcessingEnvironment processingEnv, Element element, AnnotationMirror annotation, AnnotationValue value)
public ValueReporter(ProcessingEnvironment processingEnv, Element element, AnnotationMirror annotation, CharSequence valueName)
public ValueReporter(ProcessingEnvironment processingEnv, Element element, CharSequence annotationName, CharSequence valueName)
public ValueReporter(ProcessingEnvironment processingEnv, Element element, Class<? extends Annotation> annotationClazz, CharSequence valueName)
protected void printMessage(Diagnostic.Kind kind, CharSequence message)
AbstractReporterprintMessage in class AnnotationReporterkind - the diagnostic kindmessage - the message to printCopyright © 2013–2014. All rights reserved.