[aspectc-user] Method introductions and slices
Carsten V. Munk
cvm at daimi.au.dk
Fri Mar 17 12:47:43 CET 2006
Since I now get deprecated warnings, and get told to use slices when I
try to do this:
aspect Foo
{
advice "Classname" : void foo()
{
}
};
- could you point me in the direction of how to do this properly then? I
tried following the language reference and do something like this:
aspect Foo
{
advice "Classname" : slice class
{
void foo()
{
}
}
};
- but that didn't seem to do the trick (errors). How are we supposed to
do method / field introductions into classes then?
Regards
Carsten Munk
More information about the aspectc-user
mailing list