[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] clarification on execution method signitures

Title: RE: [aspectj-users] Custom JoinPoints

Hi Ed,

 

You need to import these types or else use a fully qualified name for them to match, just as with Java code.

 


From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Ed Lauder
Sent: Friday, October 06, 2006 1:58 PM
To: wes@xxxxxxxxxxxxxx; aspectj-users@xxxxxxxxxxx
Subject: RE: [aspectj-users] clarification on execution method signitures

 

build-aspects:

     [echo] Compiling aspects...

     [iajc] warning at execution(StateTransition foo(ClientSession, State, Event));

     [iajc]           ^^^^^^^^^^

     [iajc] C:\monitor\Monitor\Metrics.aj:27:0::0 no match for this type name: StateTransition [Xlint:invalidAbsoluteTyp

eName]

     [iajc] warning at execution(StateTransition foo(ClientSession, State, Event));

     [iajc]                                   ^^^^^^^^

     [iajc] C:\monitor\Monitor\Metrics.aj:27:0::0 no match for this type name: ClientSession [Xlint:invalidAbsoluteTypeN

ame]

     [iajc] warning at execution(StateTransition foo(ClientSession, State, Event));

     [iajc]

     [iajc] C:\monitor\Monitor\Metrics.aj:27:0::0 no match for this type name: State [Xlint:invalidAbsoluteTypeName]

     [iajc] warning at execution(StateTransition foo(ClientSession, State, Event));

     [iajc]

 


From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Wes
Sent: Friday, October 06, 2006 2:37 PM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] clarification on execution method signitures

 

 

execution(void foo(Object))

 

See the programming guide section on pointcuts for more details.

 

Wes

 

------------Original Message------------

From: "Ed Lauder" <elauder@xxxxxxxxxxxxx>

To: aspectj-users@xxxxxxxxxxx

Date: Fri, Oct-6-2006 1:06 PM

Subject: [aspectj-users] clarification on execution method signitures

 Anyone provide some clarity on execution such that you can single out one method call from another in an overloaded case?  Want to add a pointcut for foo passing single object.

 foo(Object obj1) {

}

 foo(Object obj1, Object obj2) {

}

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users