Method Nodes in the Explorer

For each of your source files, the Explorer displays all method objects as method nodes under the Methods (Methods category node icon) category node. Property information about each method is presented in its Explorer icon and property sheet. You can double-click any method node in the Explorer to jump to its method declaration in the Source Editor.

To add a method, right-click the Methods category node and choose Add Method. A property editor opens in which you can specify basic information for the new method, such as modifiers and parameters.

You can view a method's property sheet by right-clicking its node and choosing Properties. You can edit the method's properties in the property sheet itself, or by right-clicking the method node and choosing Customize. The node's contextual menu also contains commands for copying, cutting, pasting, and deleting the method.

The contextual menu for method nodes also contains a Tools submenu. The commands in the Tools submenu let you perform a variety of actions on the class, such as overriding inherited methods, synchronizing changes, and localizing your code. Any commands you choose from the the Tools submenu are executed on the entire class.

Method Node Icons

The following table lists the icons that the IDE uses to display method nodes.

Icon Description
Methods category node icon Category node for methods.
Icon for non-static methods with default access Non-static method with default access.
Non-static private method icon Non-static private method.
Non-static public method icon Non-static public method.
Icon for non-static methods with protected access Non-static method with protected access.
Icon for static methods with default access Static method with default access.
Static private method icon Static private method.
Static public method icon Static public method.
Icon for static methods with protected access Static method with protected access.
See also
Source File Nodes in the Explorer
Form Object Nodes in the Explorer
Serialized Prototype Nodes in the Explorer
Class Nodes in the Explorer
Interface Nodes in the Explorer
Field Nodes in the Explorer
Constructor Nodes in the Explorer
Bean Pattern Nodes in the Explorer

Overriding Methods
Using the Import Management Tool
Synchronizing Source Code
Configuring Java Settings

Legal Notices