Klasse PinpointingMessageHandler

java.lang.Object
org.aspectj.bridge.context.PinpointingMessageHandler
Alle implementierten Schnittstellen:
IMessageHandler

public class PinpointingMessageHandler extends Object implements IMessageHandler
Autor:
colyer Facade for an IMessageHandler Extends message with details of exactly what the compiler / weaver was doing at the time. Use the -Xdev:Pinpoint option to turn this facility on.
  • Konstruktordetails

    • PinpointingMessageHandler

      public PinpointingMessageHandler(IMessageHandler delegate)
  • Methodendetails

    • handleMessage

      public boolean handleMessage(IMessage message) throws AbortException
      Beschreibung aus Schnittstelle kopiert: IMessageHandler
      Handle message, by reporting and/or throwing an AbortException.
      Angegeben von:
      handleMessage in Schnittstelle IMessageHandler
      Parameter:
      message - the IMessage to handle - never null
      Gibt zurück:
      true if this message was handled by this handler
      Löst aus:
      AbortException - depending on handler logic.
    • isIgnoring

      public boolean isIgnoring(IMessage.Kind kind)
      Beschreibung aus Schnittstelle kopiert: IMessageHandler
      Signal clients whether this will ignore messages of a given type. Clients may use this to avoid constructing or sending certain messages.
      Angegeben von:
      isIgnoring in Schnittstelle IMessageHandler
      Gibt zurück:
      true if this handler is ignoring all messages of this type
    • dontIgnore

      public void dontIgnore(IMessage.Kind kind)
      Beschreibung aus Schnittstelle kopiert: IMessageHandler
      Allow fine grained configuration after initialization. Minaly used in LTW. Most of the implementation can have this method be a no-op.
      Angegeben von:
      dontIgnore in Schnittstelle IMessageHandler
      Parameter:
      kind -
    • ignore

      public void ignore(IMessage.Kind kind)
      Beschreibung aus Schnittstelle kopiert: IMessageHandler
      Allow fine grained configuration after initialization.
      Angegeben von:
      ignore in Schnittstelle IMessageHandler
      Parameter:
      kind -