What's wrong with the following pointcut definition? pointcut testPc (): execution (public java.*+[] [message #571903] |
Tue, 21 October 2003 14:37 |
Eclipse User |
|
|
|
Originally posted by: yj_t.yahoo.com
This is a multi-part message in MIME format.
------=_NextPart_000_003C_01C39823.F087BA10
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Hi all,
I just don't understand why eclipse is always reporting error on the =
following pointcut definition, at the underlining part:
pointcut ptct (): execution (public Object+[] * *(..));
error message is:
Syntax error on token "[", "expected name pattern" expected
Could anyone help explain this? Thanks so much!!
Regards,
Mike
------=_NextPart_000_003C_01C39823.F087BA10
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi all,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I just don't understand why eclipse is =
always=20
reporting error on the following pointcut definition, at the underlining =
part:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>pointcut ptct (): execution =
(public=20
<U>Object+[]</U> * *(..));</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>error message is:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Syntax error on token "[", "expected =
name pattern"=20
expected</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Could anyone help explain this? Thanks =
so=20
much!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Mike</DIV></FONT></BODY></HTML>
------=_NextPart_000_003C_01C39823.F087BA10--
|
|
|
Powered by
FUDForum. Page generated in 0.03179 seconds