FW: [aspectc-user] construction(...) and whithin(...)
Olaf Spinczyk
Olaf.Spinczyk at informatik.uni-erlangen.de
Mon May 30 14:58:07 CEST 2005
Hi,
this doesn't work. One would require a kind of client-side construction
advice for your purpose, but this doesn't exist yet.
I'm sorry,
Olaf
Miguel Almeida wrote:
>>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
More information about the aspectc-user
mailing list