blob: 58e97e83215e1fbc832468cf6419ad970f153585 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<meta name="GENERATOR" content="Mozilla/4.75 [en] (Windows NT 5.0; U) [Netscape]">
<title>
Finding overridden methods
</title>
<link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css">
</head>
<body>
<h1>
Finding overridden methods
</h1>
<p>
You can discover which methods override a selected method.
</p>
<ol>
<li>
Open the type hierarchy for the selected method's declaring type. Toggle on the <strong>Show the Subtype Hierarchy</strong> toolbar button.
</li>
<li>
In the list pane of the Hierarchy view, make sure that the&nbsp;<strong><strong>Lock View and Show Members in Hierarchy</strong></strong> button is toggled on. This option
locks the current class in the method pane and shows only those classes in the upper view that implement the currently selected method of the locked class.
<p>
<img src="../images/tasks-8.png" alt="Hierarchy view in Filtered Subtypes mode">
</p>
The methods of interest are shown in the upper pane. You can select any method and open it in an editor.
</li>
</ol>
<em>Note: The selection might not show all members if a filter (such as <strong>Hide Fields</strong> or <strong>Hide Static Members</strong>) is active.<br>
</em>
<p>
<img src="../images/ngrelc.png" alt="Related concepts" border="0" ><br>
</p>
<p>
<a href="../concepts/concepts-1.htm">Java development tools (JDT)</a>
</p>
<p>
<img src="../images/ngrelt.png" alt="Related tasks" border="0" >
</p>
<p>
<a href="tasks-37.htm">Using the Hierarchy view</a><br>
<a href="tasks-47.htm">Filtering elements</a><br>
<a href="tasks-73.htm">Opening an editor for a selected element</a><br>
<a href="tasks-39.htm">Opening a type hierarchy on a Java element</a><br>
</p>
<p>
<img src="../images/ngrelr.png" alt="Related reference" border="0" >
</p>
<p>
<a href="../reference/ref-dialog-override-method.htm">Override methods</a><br>
<a href="../reference/ref-type-hierarchy.htm">Type Hierarchy view</a>
</p>
</body>
</html>