[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] advice on protected methods
|
You may do so by marking the aspect as privileged:
privileged aspect MyAspect {
...
}
-Ramnivas
--- Dustin Sallings <dustin@xxxxxxx> wrote:
>
> Is it possible to have advice call protected methods? For example,
> I've got a protected method that sets a ``dirty'' flag that I'd like
> to
> use rather than creating a public method for the same purpose. When
> I
> try to call the protected method, my compile fails because the method
>
> is unavailable.
>
> --
> SPY My girlfriend asked me which one I like
> better.
> pub 1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@xxxxxxx>
> | Key fingerprint = 87 02 57 08 02 D0 DA D6 C8 0F 3E 65 51 98 D8
> BE
> L_______________________ I hope the answer won't upset her.
> ____________
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com