Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Abstract and Concrete Aspects

Perhaps: if the abstract pointcut is not at least protected,
the subaspect won't be able to access it.

Wes

António Lopes wrote:

Hello everyone!

I would like to know if anyone can help me with this problem I have
regarding AspectJava:

I have an abstract aspect A with an abstract pointcut P, in one file.
Then I have a class C with a static aspect B that extends A and has a
concrete pointcut P, in another file.

This "configuration" works if I put these 2 files together in the same
directory.
But, when I try to put them in separate directories, for example in separate
packages:
 - abstract stuff goes to package "aspects"
 - class and concrete stuff goes to package "classes"

Then I get the following error on both files:
"Error inherited abstract pointcut aspects.A.P() is not made concrete in
classes.C$B"

Any solutions? BTW, I'm using eclipse.

Thanks in advance,

--
António Lopes

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users




Back to the top