Class WeaveMessage

java.lang.Object
org.aspectj.bridge.Message
org.aspectj.bridge.WeaveMessage
All Implemented Interfaces:
IMessage

public class WeaveMessage extends Message
  • Field Details

  • Method Details

    • constructWeavingMessage

      public static WeaveMessage constructWeavingMessage(WeaveMessage.WeaveMessageKind kind, String[] inserts)
      Static helper method for constructing weaving messages.
      Parameters:
      kind - what kind of message (e.g. declare parents)
      inserts - inserts for the message (inserts are marked %n in the message)
      Returns:
      new weaving message
    • constructWeavingMessage

      public static WeaveMessage constructWeavingMessage(WeaveMessage.WeaveMessageKind kind, String[] inserts, String affectedtypename, String aspectname)
      Static helper method for constructing weaving messages.
      Parameters:
      kind - what kind of message (e.g. declare parents)
      inserts - inserts for the message (inserts are marked %n in the message)
      affectedtypename - the type which is being advised/declaredUpon
      aspectname - the aspect that defined the advice or declares
      Returns:
      new weaving message
    • getAspectname

      public String getAspectname()
      Returns:
      Returns the aspectname.
    • getAffectedtypename

      public String getAffectedtypename()
      Returns:
      Returns the affectedtypename.