WithLocationStreamMessagePrinter

public class WithLocationStreamMessagePrinter implements IMessagePrinter

Prints note, warning, and error messages similar to large compilers such as GCC or Clang. That is, the message comes with filename, line, column, and severity. Also the affected code is underlined with carets (^).

Constructors

WithLocationStreamMessagePrinter

public WithLocationStreamMessagePrinter(ISourceTextService sourceTextService, IProjectService projectService, OutputStream outputStream)

Methods

print

public void print(IMessage message, boolean pardoned)

print

public void print(FileObject resource, String message, Throwable e, boolean pardoned)

print

public void print(IProject project, String message, Throwable e, boolean pardoned)

printSummary

public void printSummary()