Community
Participate
Working Groups
Build ID: M20080911-1700 Steps To Reproduce: void around(Object[] varargs) : call(* *.*(Object+...)) && args(varargs) { foo(varargs); } The compiler complains about the ellipsis, it expects a closing paren instead. More information: The syntax in the example above ("Object+...") seems to be in accordance with the grammar described in the AspectJ/ADK 1.5 Notebook: http://www.eclipse.org/aspectj/doc/released/adk15notebook/annotations-pointcuts-and-advice.html#signaturePatterns (MethodPattern => FormalsPattern => TypePattern '...' => SimpleTypePattern) I am using the 1.6.1 runtime with Equinox Aspects.
This is related to bug 148508. Once I correct the parser to allow this construct then it fails to match String... because of the reasons in 148508
parser fixed and that dependent bug also fixed. This now working, I believe. Will be in the next dev build.