public class ValueReporter extends AnnotationReporter
Modifier and Type | Field and Description |
---|---|
protected AnnotationValue |
value |
annotation
element
processingEnv
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, forValue
forAnnotation, forAnnotation, forAnnotation
forElement
assembleMessage, error, mandatoryWarning, message, note, other, warning
protected 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)
AbstractReporter
printMessage
in class AnnotationReporter
kind
- the diagnostic kindmessage
- the message to printCopyright © 2013–2014. All rights reserved.