org.codehaus.backport175.compiler
Class MessageHandler.PrintWriter

java.lang.Object
  extended by org.codehaus.backport175.compiler.MessageHandler.PrintWriter
All Implemented Interfaces:
MessageHandler
Enclosing interface:
MessageHandler

public static class MessageHandler.PrintWriter
extends java.lang.Object
implements MessageHandler

Default impl of the MessageHandler interface, prints the messages to standard out.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.codehaus.backport175.compiler.MessageHandler
MessageHandler.PrintWriter
 
Constructor Summary
MessageHandler.PrintWriter(boolean isVerbose)
           
 
Method Summary
 void accept(SourceLocation sourceLocation)
          Handles an accepted compiled annotation
 void error(CompilerException exception)
          Handles an error
 void info(java.lang.String message)
          Handles an information message
 void warning(java.lang.String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageHandler.PrintWriter

public MessageHandler.PrintWriter(boolean isVerbose)
Method Detail

info

public void info(java.lang.String message)
Description copied from interface: MessageHandler
Handles an information message

Specified by:
info in interface MessageHandler

warning

public void warning(java.lang.String message)

error

public void error(CompilerException exception)
Description copied from interface: MessageHandler
Handles an error

Specified by:
error in interface MessageHandler

accept

public void accept(SourceLocation sourceLocation)
Description copied from interface: MessageHandler
Handles an accepted compiled annotation

Specified by:
accept in interface MessageHandler