Hey Eric,
I’ve been reading
through the documentation for aspectbench and maybe it’s just that I’m
a little on the sleepy side today but I’m having a hard time even getting
started. I’ve looked through the familiar but I feel like I’m
missing a critical piece (that being the words of the speaker). Do you have
any advice (pardon the pun) on where I should start looking?
Thanks,
Drew
-------------------------------------------------------------------------------------------------
Date: Wed, 8 Feb 2006
00:53:45 -0500
From: "Eric
Bodden" <eric.bodden@xxxxxxxxxxxxxx>
Subject: RE: [aspectj-users]
creating a pointcut for primitive
operations
To:
<aspectj-users@xxxxxxxxxxx>
Message-ID:
<F3EB3B98C34E94498F1110B618E3717D3510CA@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"
Hi, Andrew.
In usual AspectJ you cannot
match on such primitive operations. Having said that, you can easily write an
extension to the open AspectBench Compiler (www.aspectbench.org).
This is an open compiler framework for AspectJ. There you can easily write a
new pointcut matching on those operations and then use an advice to
intercept/replace them.
Eric
--
Eric Bodden
Sable Research Group
McGill
University, Montréal, Canada