Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
aspects accessing private fields - was Re: [aspectj-users] interecepting of all calls and forwarding them, aspect methods and private fields

(splitting email -- 1 topic per email, please)

"Wojciech (Voytek) Dzidek" wrote:
<snip>

> I was wondering if it was possible for methods in aspects to
> access a class' private variable that it did not introduce. This would be handy for testing-only
> methods.

"privileged" aspects are discussed in the programming guide, currently
at

 
http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/aspectj-home/doc/progguide/apbs05.html#d0e6222

Wes


Back to the top