For each of your source files, the Explorer displays all method objects as
method nodes under the Methods ()
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 appears in which you can specify basic information for the new method, such as modifiers and parameters.
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 Tools submenu are executed on the entire class.
Icon | Description |
---|---|
![]() |
Category node for methods |
![]() |
Nonstatic method with default access |
![]() |
Nonstatic private method |
![]() |
Nonstatic public method |
![]() |
Nonstatic method with protected access |
![]() |
Static method with default access |
![]() |
Static private method |
![]() |
Static public method |
![]() |
Static method with protected access |
You can view a method's property sheet by right-clicking its node and choosing Properties. Method nodes have the following properties: