Comprehensive Aspectual UML Approach to Support AspectJ
Table 5
Representation of an Aspect in the Aspectual Class Diagram.
Notation drawing view
Description
(i) Aspect name section: name of the Aspect (ii) Attribute section: list of the Aspect’s attributes (iii) Methods and join points: list of methods and join points (iv) Pointcut section: list of the Aspect’s pointcut designators (v) Advice sections: lists of all the “Before,” “After,” and “Around” advice (vi) Static crosscutting: introduces the static crosscutting
Relation sets the precedence between two Aspects in cases where both Aspects have to inject code at the same join point
“Precedence” relationship has two operands: Aspect and Class; the solid line with open arrowhead points from the Aspect to the Class
(i) Relation indicates the crosscutting between Aspects
(ii) “AspectCrosscutting” relationship has two operands: Aspect and Aspect; the solid line with open arrowhead at both ends points from Aspect to Aspect in both directions
(i) Relation indicates the crosscutting between an Aspect and Classes.
(ii) “Crosscutting” relationship has two operands: Aspect and Class; the solid line with open arrowhead points from the Aspect to the Class