Java Reference
In-Depth Information
3.5 Getting help from the JavaDoc and API references
The JavaDoc API reference for your JVM and project is always just a few keystrokes
away. Now you have no excuse for not reading the documentation!
3.5.1
Viewing method parameters
If you need to know what parameters the method you're calling requires, execute
the View | Parameter Info ( Ctrl+P ) command when your cursor is within the
braces of the appropriate method call. A pop-up window will display the method
parameters (or the entire method signature, if the Show full signatures option is
enabled in Code Completion settings). If more than one method matches the
name (and any parameters already passed to the method), all possible combina-
tions are listed, as shown in figure 3.7. You can navigate between the parameters
with the Ta b and Shift+Tab keys.
If you're using third-party libraries, and you want to have access to ex-
tended parameter information for the methods in them, make sure you
include these libraries' sources in the project source path. Otherwise,
you'll be able to only view the parameter types and not their names.
TIP
You can specify a couple of parameter-related options under the Code Comple-
tion settings control panel. The first option, Autopopup , automatically displays a
Figure 3.7 Viewing parameter information shows you what parameters are required for the
method you have selected.
 
 
 
 
 
 
 
 
Search WWH ::




Custom Search