Skip to main content



      Home
Home » Language IDEs » AspectJ » how to identify empty method using aspectj
how to identify empty method using aspectj [message #55939] Thu, 11 August 2005 07:40 Go to next message
Eclipse UserFriend
Originally posted by: snpooo.gmail.com

I want to define a pointcut to find out all empty method, how to do it?
is it feasible?

thanks

Best regards
Re: how to identify empty method using aspectj [message #56027 is a reply to message #55939] Fri, 12 August 2005 04:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: adrian_colyer.uk.ibm.com

snpooo wrote:
> I want to define a pointcut to find out all empty method, how to do it?
> is it feasible?
>
> thanks
>
> Best regards
>

Sorry but there is no way to do this. Pointcuts match join points, which
are events that happen during the runtime execution of your program. The
thing about an empty method is that it doesn't contain any join points -
so there's nothing to match on.
Re: how to identify empty method using aspectj [message #56054 is a reply to message #56027] Tue, 16 August 2005 03:48 Go to previous message
Eclipse UserFriend
Originally posted by: snpooo.gmail.com

got it, thank you very much.
Re: how to identify empty method using aspectj [message #589878 is a reply to message #55939] Fri, 12 August 2005 04:12 Go to previous message
Eclipse UserFriend
snpooo wrote:
> I want to define a pointcut to find out all empty method, how to do it?
> is it feasible?
>
> thanks
>
> Best regards
>

Sorry but there is no way to do this. Pointcuts match join points, which
are events that happen during the runtime execution of your program. The
thing about an empty method is that it doesn't contain any join points -
so there's nothing to match on.
Re: how to identify empty method using aspectj [message #589890 is a reply to message #56027] Tue, 16 August 2005 03:48 Go to previous message
Eclipse UserFriend
Originally posted by: snpooo.gmail.com

got it, thank you very much.
Previous Topic:How to debug an around() advice?
Next Topic:Parameterized vararg match problem
Goto Forum:
  


Current Time: Thu May 29 12:01:20 EDT 2025

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

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

Back to the top