Class LocatedMessage

Direct Known Subclasses:

public class LocatedMessage
extends SimpleMessage
A base class for compilation messages.
  • Field Summary

    Fields inherited from class org.codehaus.groovy.control.messages.SimpleMessage

    data, message, owner
  • Constructor Summary

    Constructor Description
    LocatedMessage​(java.lang.String message, java.lang.Object data, CSTNode context, SourceUnit source)  
    LocatedMessage​(java.lang.String message, CSTNode context, SourceUnit source)  
  • Method Summary

    Modifier and Type Method Description
    CSTNode getContext()  
    void write​( writer, Janitor janitor)
    Writes the message to the specified PrintWriter.

    Methods inherited from class org.codehaus.groovy.control.messages.SimpleMessage


    Methods inherited from class org.codehaus.groovy.control.messages.Message

    create, create, create, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LocatedMessage

      public LocatedMessage​(java.lang.String message, CSTNode context, SourceUnit source)
    • LocatedMessage

      public LocatedMessage​(java.lang.String message, java.lang.Object data, CSTNode context, SourceUnit source)
  • Method Details

    • getContext

      public CSTNode getContext()
    • write

      public void write​( writer, Janitor janitor)
      Description copied from class: Message
      Writes the message to the specified PrintWriter. The supplied ProcessingUnit is the unit that holds this Message.
      write in class SimpleMessage