public interface FormattingMessager
Modifier and Type | Method and Description |
---|---|
boolean |
isErroneous() |
void |
note(int level,
Message log,
Object... args)
Just log as plain note
|
void |
printMessage(Element e,
AnnotationMirror a,
AnnotationValue v,
Message msg,
Object... args)
Prints a message of the specified kind at the location of the
annotation value inside the annotation positionHint of the annotated
element.
|
void |
printMessage(Element e,
AnnotationMirror a,
Message msg,
Object... args)
Prints a message of the specified kind at the location of the
annotation positionHint of the annotated element.
|
void |
printMessage(Element e,
Message msg,
Object... args)
Prints a message of the specified kind at the location of the
element.
|
void |
printMessage(Message msg,
Object... args)
Prints a message of the specified kind.
|
void printMessage(Message msg, Object... args)
msg
- the messageargs
- Arguments referenced by the format specifiers in the format string. If there are more arguments
than format specifiers, the extra arguments are ignoredvoid printMessage(Element e, Message msg, Object... args)
e
- the element to use as a position hintmsg
- the messageargs
- Arguments referenced by the format specifiers in the format string. If there are more arguments
than format specifiers, the extra arguments are ignoredvoid printMessage(Element e, AnnotationMirror a, Message msg, Object... args)
e
- the annotated elementa
- the annotation to use as a position hint (can be null)msg
- the messageargs
- Arguments referenced by the format specifiers in the format string. If there are more arguments
than format specifiers, the extra arguments are ignoredvoid printMessage(Element e, AnnotationMirror a, AnnotationValue v, Message msg, Object... args)
e
- the annotated elementa
- the annotation containing the annotation valuev
- the annotation value to use as a position hintmsg
- the messageargs
- Arguments referenced by the format specifiers in the format string. If there are more arguments
than format specifiers, the extra arguments are ignoredvoid note(int level, Message log, Object... args)
level
- nesting levellog
- the log messageargs
- the argumentsboolean isErroneous()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.