AddClassComment_1 Aspect
[Basic Group]

This aspect is defined in file: ../../AspectXLib/base/Base/aspects/AddClassComment_1.ax

Aspect Description

Sample aspect program to modify a class comment. This aspect program defines a text fragment that can be added to the comment of a target class. The target class is defined by name and is equal to DC_DummyPunctualAction. A related aspect program (AddClassComment_2) shows an alternative way to modify class comments.
Author:
A. Pasetti
See also:
AddClassComment_2

Pointcuts

classtargetClass
 Points to the target class whose comment should be modified
commenttargetClassComment
 Points to the comment that must be modified

Advices

endaddClassComment
 Add a comment at the end of the comment of the target class

Pointcut Documentation

class targetClass (source)
Points to the target class whose comment should be modified.
comment targetClassComment (source)
Points to the comment that must be modified. This comment is defined as the comment that is followed by the targetClass pointcut.

Advice Documentation

end addClassComment (source)

Triplet: comment end comment

Add a comment at the end of the comment of the target class. The HTML tags in the comment are expressed using escape sequences. Aspect program AddClassComment_2 shows an alternative way to express the HTML tag.

Refers to global pointcut: comment targetClassComment