Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » What's wrong with the following pointcut definition? pointcut testPc (): execution (public java.*+[]
What's wrong with the following pointcut definition? pointcut testPc (): execution (public java.*+[] [message #571903] Tue, 21 October 2003 14:37
Eclipse UserFriend
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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>pointcut&nbsp;ptct (): execution =
(public=20
&nbsp;<U>Object+[]</U>&nbsp;&nbsp; * *(..));</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>error message is:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</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--
Previous Topic:What's wrong with the following pointcut definition? pointcut testPc (): execution (public java.*+[]
Next Topic:Inconsistancy in the programming guide? Type Pattern: subtype together with arraytype
Goto Forum:
  


Current Time: Sat May 26 23:07:45 GMT 2018

Powered by FUDForum. Page generated in 0.01296 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top