[aspectc-user] Use of JoinPoint API in introductions

Manuel Menezes de Sequeira Manuel.Sequeira at iscte.pt
Thu Jul 7 12:20:11 CEST 2005


Hi,

I wonder whether it is possible to do something like:

    aspect CloneabilityGenerator {
        pointcut classesToMakeCloneable() = "Class1" || "Classe2"|;

        advice classesToMakeCloneable() :
            JoinPoint::??* clone() const {
                return new JoinPoint::??(*this);
            }
    };

That is, is there access to the static context of an introduction?

(By the way, is JoinPoint a template? It has static members which are 
different for each joinpoint.)

Regards,

Manuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050707/861b625e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Manuel.Sequeira.vcf
Type: text/x-vcard
Size: 365 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050707/861b625e/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3198 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050707/861b625e/attachment.bin>


More information about the aspectc-user mailing list