Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Need to enumerate all methods for selected advices of an aspect

Hi,

I have an aspect, which checks access permissions before
allowing execution of certain methods for the current user.
This is done with around advice.

Now I'd like generate a file, in which each affected method
is listed for this aspect. In this way I'd have an automated
way to get an always up-to-date template which could be
used for creating an access permission configuration file.

I see this info e.g. on the Cross References tab in Eclipse,
and as AspectJ markers, but cant export from either, and
would not be automatic.
Is there a way to generate this automatically, preferably in
similar format and structure to the thisJoinPoint.toString()
variations?

I tried messing with reflection, but could not access
aspects this way... Can aspects be investigated runtime?


Thanks,
  András


Back to the top