Uses of Interface
org.aspectj.bridge.IMessageHandler
Packages that use IMessageHandler
Package
Description
-
Uses of IMessageHandler in org.aspectj.bridge
Subinterfaces of IMessageHandler in org.aspectj.bridgeModifier and TypeInterfaceDescriptioninterface
Hold and query a collection of messages.Classes in org.aspectj.bridge that implement IMessageHandlerModifier and TypeClassDescriptionclass
Wrap an IMessageHandler to count messages handled.class
This handler accumulates messages.class
An IMessageHandler implementation that writes all to a PrintWriter.Fields in org.aspectj.bridge declared as IMessageHandlerModifier and TypeFieldDescriptionCountingMessageHandler.delegate
protected IMessageHandler
MessageHandler.interceptor
listener which can halt processing by returning truestatic IMessageHandler
MessageUtil.PICK_ABORT
static IMessageHandler
MessageUtil.PICK_ABORT_PLUS
static IMessageHandler
MessageUtil.PICK_ALL
static IMessageHandler
MessageUtil.PICK_DEBUG
static IMessageHandler
MessageUtil.PICK_DEBUG_PLUS
static IMessageHandler
MessageUtil.PICK_ERROR
static IMessageHandler
MessageUtil.PICK_ERROR_PLUS
static IMessageHandler
MessageUtil.PICK_FAIL
static IMessageHandler
MessageUtil.PICK_FAIL_PLUS
static IMessageHandler
MessageUtil.PICK_INFO
static IMessageHandler
MessageUtil.PICK_INFO_PLUS
static IMessageHandler
MessageUtil.PICK_WARNING
static IMessageHandler
MessageUtil.PICK_WARNING_PLUS
static IMessageHandler
IMessageHandler.SYSTEM_ERR
print all to System.err and throw AbortException on failure or abort messagesstatic IMessageHandler
IMessageHandler.SYSTEM_OUT
print all to System.out but do not throw AbortException on failure or abort messagesstatic IMessageHandler
IMessageHandler.THROW
Throw exceptions for anything with ERROR or greater severityMethods in org.aspectj.bridge that return IMessageHandlerModifier and TypeMethodDescriptionstatic IMessageHandler
MessageUtil.makeSelector(IMessage.Kind kind, boolean orGreater, String infix)
Make an IMessageHandler that handles IMessage if they have the right kind (or greater) and contain some infix String.Methods in org.aspectj.bridge with parameters of type IMessageHandlerModifier and TypeMethodDescriptionstatic boolean
MessageUtil.abort(IMessageHandler handler, String message)
handle abort message (ignored if handler is null)static boolean
MessageUtil.abort(IMessageHandler handler, String message, Throwable t)
create and handle exception message (ignored if handler is null)static boolean
MessageUtil.debug(IMessageHandler handler, String message)
create and handle debug message (ignored if handler is null)static boolean
MessageUtil.error(IMessageHandler handler, String message)
create and handle error message (ignored if handler is null)static boolean
MessageUtil.fail(IMessageHandler handler, String message)
create and handle fail message (ignored if handler is null)static boolean
MessageUtil.fail(IMessageHandler handler, String message, Throwable thrown)
create and handle fail message (ignored if handler is null)static boolean
MessageUtil.handleAll(IMessageHandler sink, IMessage[] sources, boolean fastFail)
Handle messages in the sink.static boolean
MessageUtil.handleAll(IMessageHandler sink, IMessageHolder source, boolean fastFail)
Handle all messages in the second handler using the firststatic boolean
MessageUtil.handleAll(IMessageHandler sink, IMessageHolder source, IMessage.Kind kind, boolean orGreater, boolean fastFail)
Handle messages in the second handler using the firststatic boolean
MessageUtil.handleAllExcept(IMessageHandler sink, IMessageHolder source, IMessage.Kind kind, boolean orGreater, boolean fastFail)
Handle messages in the second handler using the first if they are NOT of this kind (optionally, or greater).static PrintStream
MessageUtil.handlerPrintStream(IMessageHandler handler, IMessage.Kind kind, OutputStream overage, String prefix)
Factory for handler adapted to PrintStream XXX weak - only handles println(String)static boolean
MessageUtil.info(IMessageHandler handler, String message)
create and handle info message (ignored if handler is null)static ICommand
ReflectionFactory.makeCommand(String cname, IMessageHandler errorSink)
Produce a compiler as an ICommand.static CountingMessageHandler
CountingMessageHandler.makeCountingMessageHandler(IMessageHandler handler)
static void
MessageUtil.print(PrintStream out, IMessageHolder holder, String prefix, MessageUtil.IMessageRenderer renderer, IMessageHandler selector)
Print all message to the print stream, starting each on a new line, with a prefix and using a renderer.static void
MessageUtil.print(PrintStream out, IMessageHolder holder, String prefix, MessageUtil.IMessageRenderer renderer, IMessageHandler selector, boolean printSummary)
boolean
ICommand.repeatCommand(IMessageHandler handler)
Rerun the command.boolean
ICommand.runCommand(String[] args, IMessageHandler handler)
Run command with the given options.void
MessageHandler.setInterceptor(IMessageHandler interceptor)
Set the interceptor which gets any message before we process it.static IMessage[]
MessageUtil.visitMessages(Collection<IMessage> messages, IMessageHandler visitor, boolean accumulate, boolean abortOnFail)
Run visitor over a collection of messages, optionally accumulating those accepted by the visitorstatic IMessage[]
MessageUtil.visitMessages(IMessage[] messages, IMessageHandler visitor, boolean accumulate, boolean abortOnFail)
Run visitor over the set of messages in holder, optionally accumulating those accepted by the visitorstatic IMessage[]
MessageUtil.visitMessages(IMessageHolder holder, IMessageHandler visitor, boolean accumulate, boolean abortOnFail)
Run visitor over the set of messages in holder, optionally accumulating those accepted by the visitorstatic boolean
MessageUtil.warn(IMessageHandler handler, String message)
create and handle warn message (ignored if handler is null)Constructors in org.aspectj.bridge with parameters of type IMessageHandler -
Uses of IMessageHandler in org.aspectj.bridge.context
Classes in org.aspectj.bridge.context that implement IMessageHandlerConstructors in org.aspectj.bridge.context with parameters of type IMessageHandler -
Uses of IMessageHandler in org.aspectj.weaver
Methods in org.aspectj.weaver that return IMessageHandlerModifier and TypeMethodDescriptionWorld.getMessageHandler()
Nobody should hold onto a copy of this message handler, or setMessageHandler won't work right.Methods in org.aspectj.weaver with parameters of type IMessageHandler -
Uses of IMessageHandler in org.aspectj.weaver.patterns
Methods in org.aspectj.weaver.patterns that return IMessageHandlerModifier and TypeMethodDescriptionIScope.getMessageHandler()
ScopeWithTypeVariables.getMessageHandler()
SimpleScope.getMessageHandler()