Community
Participate
Working Groups
I used ajdt_1.3.1_for_eclipse_3.1.zip on Eclipse 3.1.2. Below is my aspectj code. public aspect MyMessages { pointcut getResourceString(String key): args(key, ..) && call (* CommonPlugin.getResourceString(String, ..)); String around(String key):getResourceString(key) { return key; } } The warning message is The parameter key is never read. See my screenshot.
Created attachment 45088 [details] sceenshot
reproduced with latest dev builds (once the JDT "parameter is never read" option is set to warning). The warning is issued against the pointcut, which doesn't really make much sense for a pointcut. Passing over to the compiler.
fix committed in AJ tree.
fix available in AJ.