Package org.aspectj.bridge
Class WeaveMessage
java.lang.Object
org.aspectj.bridge.Message
org.aspectj.bridge.WeaveMessage
- All Implemented Interfaces:
IMessage
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aspectj.bridge.IMessage
IMessage.Kind
-
Field Summary
Modifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic WeaveMessage
constructWeavingMessage(WeaveMessage.WeaveMessageKind kind, String[] inserts)
Static helper method for constructing weaving messages.static WeaveMessage
constructWeavingMessage(WeaveMessage.WeaveMessageKind kind, String[] inserts, String affectedtypename, String aspectname)
Static helper method for constructing weaving messages.Methods inherited from class org.aspectj.bridge.Message
getDeclared, getDetails, getExtraSourceLocations, getID, getKind, getMessage, getSourceEnd, getSourceLocation, getSourceStart, getThrown, isAbort, isDebug, isError, isFailed, isInfo, isTaskTag, isUsage, isWarning, toString
-
Field Details
-
WEAVEMESSAGE_DECLAREPARENTSIMPLEMENTS
-
WEAVEMESSAGE_ITD
-
WEAVEMESSAGE_ADVISES
-
WEAVEMESSAGE_DECLAREPARENTSEXTENDS
-
WEAVEMESSAGE_SOFTENS
-
WEAVEMESSAGE_ANNOTATES
-
WEAVEMESSAGE_MIXIN
-
WEAVEMESSAGE_REMOVES_ANNOTATION
-
-
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/declaredUponaspectname
- the aspect that defined the advice or declares- Returns:
- new weaving message
-
getAspectname
- Returns:
- Returns the aspectname.
-
getAffectedtypename
- Returns:
- Returns the affectedtypename.
-