Make Static Dialogs
Use this refactoring to convert an inner class or an instance method into a static one.
Make Class Static Dialog
Item | Description |
---|
Replace instance qualifiers with class references
| Specify whether you want to replace instance qualifiers with class references or not.
|
Make Method Static Dialog
Item | Description |
---|
Add object as a parameter with name |
Select this check box, if you want to pass the whole referenced object as a parameter to the method,
then specify the name for the parameter in the field below.
|
Add parameters for fields |
Select this check box to pass the referenced fields/variables as parameters to the method, then
select the appropriate fields in the list.
|
Move Up/Move Down | Use this buttons to reorder parameters in the list. |
Replace instance qualifiers with class references
|
Specify whether you want to replace instance qualifiers with class references or not.
This check box is available, if the method does not contain any references to fields or instance variables.
|
Last modified: 13 July 2016