Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Polymorphism & Introductions

#: Wes Isberg changed the world a bit at a time by saying on  8/7/2005 1:28 AM :#
Unless Line.draw() is public, it's not visible to clients, so try this:



public aspect AnAspect {

 public void Line.draw() {...}

}



The programming guide explains the meaning of access modifiers for
inter-type declarations: relative to the aspect (not the target), and

"protected" is not allowed.


http://www.eclipse.org/aspectj/doc/released/progguide/semantics-declare.html#d0e6526



Enjoy -



Wes


thanks wes.

:alex |.::the_mindstorm::.|


Back to the top