Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 07:34 Go to next message
Eclipse User
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 05:34 Go to previous message
Asaf Yaffe is currently offline Asaf Yaffe
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: Fri Aug 29 10:27:27 EDT 2014

Powered by FUDForum. Page generated in 0.01647 seconds