[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [aspectj-users] AspectJ for Statements
|
This is not currently possible and I don't know if it really should be a
part of AspectJ.
There are better ways to implement code coverage via opensource bytecode
manipulation tools. Alternatively you can save yourself time & money by
buying a commerical product such as Clover (www.thecortex.com).
Regards,
William
-----Original Message-----
From: Lehner Klaus MCE.Services [mailto:Klaus.Lehner@xxxxxx]
Sent: Wednesday, September 10, 2003 10:19 AM
To: aspectj-users@xxxxxxxxxxx
Subject: [aspectj-users] AspectJ for Statements
Hello,
Is it possible to create pointcuts to keywords such as 'if', 'while' or
'for'?
For example, I have the following source code:
while (a < b) {
// block 1
if (c < d) {
// block 2
} else {
// block 3
}
}
Now I want to know how often block 1-3 are executed. Is this possible in
AspectJ?
Thank you very much.
best regards,
Klaus Lehner
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users