Hi,

I have a
class A {}
and then introduce a new filed with
aspect AugmentA { public int A.x == 0; } .

As I understand it, because x is public, I should be able to use it in
A. But the following code produces a compiler error.

clas A { void incX() { x++ }; }

What am I doing wrong or what is the concept of the public modifier
for inter-type declarations?

Thank you for help

Cheers
Martin

_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to