Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11: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 08: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 07: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 08:12 Go to previous message
Adrian Colyer is currently offline Adrian ColyerFriend
Messages: 61
Registered: July 2009
Member
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 07: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: Fri Apr 19 04:17:30 GMT 2024

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

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

Back to the top