[aspectc-user] Bgginner question: accessing introduced fields

Bob Ollerton spam_dumpster2 at cox.net
Sat Mar 12 20:54:03 CET 2005

class A{
    static long getTime();

aspect TimeAspect{

Assume that you want TimeAspect to introduce a timestamp field (type long)
to a class A and you want  to set the timestamp for each instance of A using
A::getTime() when its constructor is invoked.  What would TimeAspect look

- Bob

More information about the aspectc-user mailing list