Method Nodes in the Explorer

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. Each node's contextual menu contains commands that you can execute on the method or on the entire class.

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 node's contextual menu also contains a Tools submenu. Any commands you choose from the this submenu are executed on the entire class.

Method Node Icons

Icon Description
Category node for methods.
Non-static method with default access.
Non-static private method.
Non-static public method.
Non-static method with protected access.
Static method with default access.
Static private method.
Static public method.
Static method with protected access.
See also
Synchronizing Source Code
Node Objects in the Explorer and Object Browser
Using Quick Browse for Java Elements
Filesystems and the Java Classpath

Specifying the Default Compiler
Specifying the Default Executor
Specifying the Default Debugger

Configuring the Compilers in the IDE
Configuring the Default Debugger
Configuring the Executors That Run Your Programs

Legal Notices