[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] eclipse automatic imports
- From: "Matt Chapman" <mpchapman@xxxxxxxxx>
- Date: Thu, 8 Jun 2006 17:45:10 +0100
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cHqW4GWLHAaqRZsjoEQ9mi6fhbbdc1mLPfNpoRLqfhd4vP/djF5Ss+8epCbzQq9VqG0PsxrtK2uk/MwgZFuS42fTvDL6/WaiY2khbt3/3FWet1PmpWwHfCV9wGi9MXIrOUaX04F1fN7kg9OfRI2blfcMPT2GT424ZRKyDGbuPlg=
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