org.aspectj.bridge
Class WeaveMessage

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

public class WeaveMessage
extends Message


Nested Class Summary
static class WeaveMessage.WeaveMessageKind
           
 
Nested classes/interfaces inherited from interface org.aspectj.bridge.IMessage
IMessage.Kind
 
Field Summary
static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_ADVISES
           
static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_ANNOTATES
           
static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_DECLAREPARENTSEXTENDS
           
static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_DECLAREPARENTSIMPLEMENTS
           
static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_ITD
           
static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_MIXIN
           
static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_REMOVES_ANNOTATION
           
static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_SOFTENS
           
 
Fields inherited from interface org.aspectj.bridge.IMessage
ABORT, DEBUG, ERROR, FAIL, INFO, KINDS, RA_IMessage, TASKTAG, WARNING, WEAVEINFO
 
Method Summary
static WeaveMessage constructWeavingMessage(WeaveMessage.WeaveMessageKind kind, java.lang.String[] inserts)
          Static helper method for constructing weaving messages.
static WeaveMessage constructWeavingMessage(WeaveMessage.WeaveMessageKind kind, java.lang.String[] inserts, java.lang.String affectedtypename, java.lang.String aspectname)
          Static helper method for constructing weaving messages.
 java.lang.String getAffectedtypename()
           
 java.lang.String getAspectname()
           
 
Methods inherited from class org.aspectj.bridge.Message
getDeclared, getDetails, getExtraSourceLocations, getID, getKind, getMessage, getSourceEnd, getSourceLocation, getSourceStart, getThrown, isAbort, isDebug, isError, isFailed, isInfo, isTaskTag, isWarning, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WEAVEMESSAGE_DECLAREPARENTSIMPLEMENTS

public static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_DECLAREPARENTSIMPLEMENTS

WEAVEMESSAGE_ITD

public static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_ITD

WEAVEMESSAGE_ADVISES

public static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_ADVISES

WEAVEMESSAGE_DECLAREPARENTSEXTENDS

public static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_DECLAREPARENTSEXTENDS

WEAVEMESSAGE_SOFTENS

public static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_SOFTENS

WEAVEMESSAGE_ANNOTATES

public static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_ANNOTATES

WEAVEMESSAGE_MIXIN

public static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_MIXIN

WEAVEMESSAGE_REMOVES_ANNOTATION

public static WeaveMessage.WeaveMessageKind WEAVEMESSAGE_REMOVES_ANNOTATION
Method Detail

constructWeavingMessage

public static WeaveMessage constructWeavingMessage(WeaveMessage.WeaveMessageKind kind,
                                                   java.lang.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,
                                                   java.lang.String[] inserts,
                                                   java.lang.String affectedtypename,
                                                   java.lang.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 java.lang.String getAspectname()
Returns:
Returns the aspectname.

getAffectedtypename

public java.lang.String getAffectedtypename()
Returns:
Returns the affectedtypename.