public class CompilationMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
code
The message/error code for this message.
|
static short |
ERROR
Error message.
|
static short |
INFO
Informational message.
|
java.lang.String |
messageText
Internationalized message text.
|
short |
phase
Compilation phase.
|
short |
severity
The severity severity.
|
SourceLocation |
source
The location in the source that caused this error/message/warning
|
static short |
WARN
Warning message.
|
Constructor and Description |
---|
CompilationMessage() |
Modifier and Type | Method and Description |
---|---|
CompilationMessage |
setSource(SourceLocation source) |
java.lang.String |
toErrorString()
Convert to a human-readable error string.
|
java.lang.String |
toString() |
public static final short INFO
public static final short WARN
public static final short ERROR
public short phase
public short severity
public java.lang.String code
public java.lang.String messageText
public SourceLocation source
public CompilationMessage setSource(SourceLocation source)
public java.lang.String toErrorString()
public java.lang.String toString()
toString
in class java.lang.Object