Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Syntax bug


Try

public aspect Demo
{
    pointcut justStupid(): call(String String.toString());
}

i.e. you need to give the types of the toString method's parameters... here there are none.

Giles

On 6 Jun 2012 07:43, "Keynan Pratt" <keynan.pratt@xxxxxxxxxxxxx> wrote:
>
>
>
> I'm building with version 1.3 of the maven-aspectj-plugin using aspectj version 1.6.7. I receive the error:
>
> Demo.aj:9:0::0 Syntax error on token ")", "(" expected
>
> ===========For the aspect defined as:
>
> public aspect Demo
> {
>     pointcut justStupid(): call(String String.toString);
> }
>
> ==========================================
>
> Please help
>
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top