<
aspect xmlns:src="
http://www.sdml.info/srcML/src"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xmlns="
http://control.ee.ethz.ch/XWeaver/AspectX"
xsi:schemaLocation="
http://control.ee.ethz.ch/XWeaver/AspectX ../../../../src/xsd/aspectX.xsd"
name="
AddSingleLineAtBegin">
<
description>
This aspect tests <
code>
block_begin_codeFragment</
code>
weaving rule by
inserting single line comment at the beginning of a <
code>
block</
code>
.
<
author>
I. Birrer</
author>
</
description>
<
advice type="
begin"
name="
addSingleLine">
<
description>
Adds single line comment at the beginning of a block.</
description>
<
pointcut type="
src:block" />
<
codeModifier type="
codeFragment">
<
text>
/** Inserted by aspect: AddSingleLineAtBegin **/</
text></
codeModifier>
</
advice>
</
aspect>
v