Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] How can I make ITD available in the code of the aspect subject?

Well, I have problems with it. Please, consider the following aspect:


Once created, the Cross Reference view reports that the `collectAllRoles`
static method has indeed been added to the Enroler class.

Now, please observer the Enroler class:


I get compilation error if I uncomment the call to `collectAllRoles`. It
says:


How come? The method is declared as static! What is even stranger, is that
when I begin to type the name of the method it happily provides the
intellisense where the method is indicated as static! Observe:

http://aspectj.2085585.n4.nabble.com/file/n4173193/StaticITD.png 

What is going on? 

Thanks.

--
View this message in context: http://aspectj.2085585.n4.nabble.com/How-can-I-make-ITD-available-in-the-code-of-the-aspect-subject-tp4169901p4173193.html
Sent from the AspectJ - users mailing list archive at Nabble.com.


Back to the top