|Re: [aspectj-users] eclipse automatic imports|
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:
Please also mention the version of AJDT and the version of Eclipse you
On 08/06/06, Wim Deblauwe < wim.deblauwe@xxxxxxxxx> wrote:
> 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.
> aspectj-users mailing list
aspectj-users mailing list