Class LocatedMessage
java.lang.Object
org.codehaus.groovy.control.messages.Message
org.codehaus.groovy.control.messages.SimpleMessage
org.codehaus.groovy.control.messages.LocatedMessage
- Direct Known Subclasses:
WarningMessage
A base class for compilation messages.
-
Field Summary
Fields inherited from class org.codehaus.groovy.control.messages.SimpleMessage
data, message, owner
-
Constructor Summary
ConstructorDescriptionLocatedMessage
(String message, Object data, CSTNode context, SourceUnit source) LocatedMessage
(String message, CSTNode context, SourceUnit source) -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(PrintWriter writer, Janitor janitor) Writes this message to the specifiedPrintWriter
.Methods inherited from class org.codehaus.groovy.control.messages.SimpleMessage
getMessage
-
Constructor Details
-
LocatedMessage
-
LocatedMessage
-
-
Method Details
-
getContext
-
write
Description copied from class:Message
Writes this message to the specifiedPrintWriter
.- Overrides:
write
in classSimpleMessage
-