../../AspectXTestSuite/blocks/BlockWeavingTests/aspects/addSingleLineAtBeginAndEnd.ax
block_begin_codeFragment
and block_begin_codeFragment
weaving rules by
inserting one line comment at the beginning and another
one line comment at the end of a block
. Thus the block
in the base code will be surrounded by inserted comments.
This aspect is an alternative to AddSingleLineAtAround
.
Pointcuts | |
Advices | |
end | addSingleLineAtEnd |
Adds a single line comment at the end of a block | |
begin | addSingleLineAtBegin |
Adds a single line comment at the beginning of a block |
Triplet: block end codeFragment
Local Pointcut: block (source)
Triplet: block begin codeFragment
Local Pointcut: block (source)