WarningMessage
public class LocatedMessage extends SimpleMessage
Modifier and Type | Field | Description |
---|---|---|
protected CSTNode |
context |
data, message, owner
Constructor | Description |
---|---|
LocatedMessage(String message,
Object data,
CSTNode context,
SourceUnit source) |
|
LocatedMessage(String message,
CSTNode context,
SourceUnit source) |
Modifier and Type | Method | Description |
---|---|---|
void |
write(PrintWriter writer,
Janitor janitor) |
Writes the message to the specified PrintWriter.
|
create, create, create, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage
protected CSTNode context
public LocatedMessage(String message, CSTNode context, SourceUnit source)
public LocatedMessage(String message, Object data, CSTNode context, SourceUnit source)
public void write(PrintWriter writer, Janitor janitor)
Message
write
in class SimpleMessage