public interface Reporter
All reporting methods have an Object varargs parameter. The concrete message is built by concatenating
the string representation of all elements of the respective Object array. Note that spaces are not inserted automatically
to separate elements. For obtaining the string representation, String.valueOf(Object) is used, hence null values
are allowed and have a String representation of "null".
| Modifier and Type | Method and Description |
|---|---|
void |
error(Object... msgObjects)
Prints an error message.
|
void |
mandatoryWarning(Object... msgObjects)
Prints a warning message that is mandated by a specification.
|
void |
message(Diagnostic.Kind diagnosticKind,
Object... msgObjects)
Prints a message of the specified diagnostic kind.
|
void |
note(Object... msgObjects)
Prints an informational message.
|
void |
other(Object... msgObjects)
Prints some other type of message.
|
void |
warning(Object... msgObjects)
Prints a warning message.
|
void error(Object... msgObjects)
msgObjects - the components of the message, see aboveDiagnostic.Kind#ERRORvoid warning(Object... msgObjects)
msgObjects - the components of the message, see aboveDiagnostic.Kind#WARNINGvoid mandatoryWarning(Object... msgObjects)
msgObjects - the components of the message, see aboveDiagnostic.Kind#MANDATORY_WARNINGvoid note(Object... msgObjects)
msgObjects - the components of the message, see aboveDiagnostic.Kind#NOTEvoid other(Object... msgObjects)
msgObjects - the components of the message, see aboveDiagnostic.Kind#OTHERvoid message(Diagnostic.Kind diagnosticKind, Object... msgObjects)
diagnosticKind - the diagnostic kind of the messagemsgObjects - the components of the message, see aboveCopyright © 2013–2014. All rights reserved.