FW: [aspectc-user] construction(...) and whithin(...)
Miguel Almeida
mvieira at fe.ucp.pt
Mon May 30 14:49:17 CEST 2005
> you can imagine "construction" as the "execution of the constructor".
> Therefore, construction("X") is always within("X") and never
> within("SomeOtherClass"). If you want to check if the construction was
> performed by "B" you have to use cflow().
Ok, that worked for variables defined within class methods. What about class
variables?
Class A {
}
Class B {
A _a;
}
Thanks
Miguel Almeida
Miguel Vieira de Campos Almeida
mvieira at fe.ucp.pt
Faculdade de Engenharia
Universidade Católica Portuguesa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3024 bytes
Desc: not available
URL: <http://www.aspectc.org/pipermail/aspectc-user/attachments/20050530/ec9c199d/attachment.bin>
More information about the aspectc-user
mailing list