Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] eclipse automatic imports

Hmm.. Strange, I can't reproduce it anymore, maybe something else was wrong. I'm new to Eclipse, in fact, I only use it for aspect programming, otherwise I use IntelliJ IDEA. So maybe it was something else I did.

regards,

Wim

2006/6/8, Matt Chapman <mpchapman@xxxxxxxxx>:
Hi,

This is not a known bug, it should be working. I pasted your example
line into a test program and it seemed to work ok for me. Make sure
the cursor is somewhere within "Main" when selecting Add Imports. You
could also try the Organize Imports action from anywhere in the file.
If you still can't get it working, please raise a bug with a complete
test file, via the link here:

http://www.eclipse.org/ajdt/bugs.php

Please also mention the version of AJDT and the version of Eclipse you
are using.

Regards,

Matt.

On 08/06/06, Wim Deblauwe < wim.deblauwe@xxxxxxxxx> wrote:
> Hi,
>
> Eclipse can add imports for classes you are referencing (Context menu >
> source > add imports), but this does not seem to work in pointcut
> statements. In this a known bug?
>
> E.g.: pointcut programStartup():execution(void Main.startApplication( String
> ) );
>
> Eclipse will mark "Main" as unknown, and the add imports command will not
> import the correct type.
>
> It seems to work in after-returning advice however.
>
> regards,
>
> Wim
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top