Skip to main content

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

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

Back to the top