Skip to main content



      Home
Home » Language IDEs » AspectJ » Pointcut for super.foo
Pointcut for super.foo [message #45365] Tue, 28 December 2004 09:22 Go to next message
Eclipse UserFriend
I am specifying a simple pointcut to catch all joinpoints in the lexical
scope of a method. The method performs super.inheritedfoo. However no
matter what I do I cant catch the super.inheritedfoo call. The simple
pointcut is as follows:

public pointcut testMethod() : withincode( * mypackage.myclass.foo());

The method foo has a call to super as in:

public void foo() {
super.inheritedfoo();
}

Any ideas...
Re: Pointcut for super.foo [message #45550 is a reply to message #45365] Wed, 05 January 2005 04:21 Go to previous message
Eclipse UserFriend
There is no pointcut to match the "super." join point. Your could ask why
on the aspectj-users mailing list:
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Javier Garcia wrote:

> I am specifying a simple pointcut to catch all joinpoints in the lexical
> scope of a method. The method performs super.inheritedfoo. However no
> matter what I do I cant catch the super.inheritedfoo call. The simple
> pointcut is as follows:

> public pointcut testMethod() : withincode( * mypackage.myclass.foo());

> The method foo has a call to super as in:

> public void foo() {
> super.inheritedfoo();
> }

> Any ideas...
Re: Pointcut for super.foo [message #585560 is a reply to message #45365] Wed, 05 January 2005 04:21 Go to previous message
Eclipse UserFriend
There is no pointcut to match the "super." join point. Your could ask why
on the aspectj-users mailing list:
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Javier Garcia wrote:

> I am specifying a simple pointcut to catch all joinpoints in the lexical
> scope of a method. The method performs super.inheritedfoo. However no
> matter what I do I cant catch the super.inheritedfoo call. The simple
> pointcut is as follows:

> public pointcut testMethod() : withincode( * mypackage.myclass.foo());

> The method foo has a call to super as in:

> public void foo() {
> super.inheritedfoo();
> }

> Any ideas...
Previous Topic:privileged aspects
Next Topic:Lastest AJDT with older versions of AspectJ?
Goto Forum:
  


Current Time: Sat Jun 14 17:28:12 EDT 2025

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

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

Back to the top