Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » How to check if a method overrides another one???
How to check if a method overrides another one??? [message #115594] Tue, 16 October 2007 11:34 Go to next message
Eclipse UserFriend
Originally posted by: saorf.de.ibm.com

HI!

I'm doing some static code analysis.

I want to check if a method overrides another one.

How can I do that?

Thanks!!!
Re: How to check if a method overrides another one??? [message #116818 is a reply to message #115594] Wed, 31 October 2007 09:34 Go to previous message
Asaf Yaffe is currently offline Asaf YaffeFriend
Messages: 333
Registered: July 2009
Senior Member
Sascha Orf wrote:
> HI!
>
> I'm doing some static code analysis.
>
> I want to check if a method overrides another one.
>
> How can I do that?
>
> Thanks!!!

Maybe I didn't fully understand the question.... but...

Look at the source code of the method in the Eclipse Java editor. It the
method has a "green triangle" marker next to it (in the gutter) it
means it overrides a method of a superclass, and you can click this icon
to go to the "overridden" method.

HTH,
Asaf


--
Asaf Yaffe
Eclipse TPTP Committer, JVMTI Profiler
Previous Topic:JVMTI Profiling : Aggregated Stats Problem
Next Topic:How to get more info...
Goto Forum:
  


Current Time: Thu Apr 25 21:17:48 GMT 2024

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

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

Back to the top