Package org.aspectj.bridge
Klasse WeaveMessage
java.lang.Object
org.aspectj.bridge.Message
org.aspectj.bridge.WeaveMessage
- Alle implementierten Schnittstellen:
IMessage
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.aspectj.bridge.IMessage
IMessage.Kind
-
Feldübersicht
Modifizierer und TypFeldBeschreibung -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic 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.Von Klasse geerbte Methoden org.aspectj.bridge.Message
getDeclared, getDetails, getExtraSourceLocations, getID, getKind, getMessage, getSourceEnd, getSourceLocation, getSourceStart, getThrown, isAbort, isDebug, isError, isFailed, isInfo, isTaskTag, isUsage, isWarning, toString
-
Felddetails
-
WEAVEMESSAGE_DECLAREPARENTSIMPLEMENTS
-
WEAVEMESSAGE_ITD
-
WEAVEMESSAGE_ADVISES
-
WEAVEMESSAGE_DECLAREPARENTSEXTENDS
-
WEAVEMESSAGE_SOFTENS
-
WEAVEMESSAGE_ANNOTATES
-
WEAVEMESSAGE_MIXIN
-
WEAVEMESSAGE_REMOVES_ANNOTATION
-
-
Methodendetails
-
constructWeavingMessage
public static WeaveMessage constructWeavingMessage(WeaveMessage.WeaveMessageKind kind, String[] inserts) Static helper method for constructing weaving messages.- Parameter:
kind
- what kind of message (e.g. declare parents)inserts
- inserts for the message (inserts are marked %n in the message)- Gibt zurück:
- new weaving message
-
constructWeavingMessage
public static WeaveMessage constructWeavingMessage(WeaveMessage.WeaveMessageKind kind, String[] inserts, String affectedtypename, String aspectname) Static helper method for constructing weaving messages.- Parameter:
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- Gibt zurück:
- new weaving message
-
getAspectname
- Gibt zurück:
- Returns the aspectname.
-
getAffectedtypename
- Gibt zurück:
- Returns the affectedtypename.
-