Invert Boolean Dialog Box

See Also

Use this dialog box to replace a Boolean method or variable with an opposite one. You can use the Refactor command to both rename an existing method or variable and invert its logic.

The Invert Boolean dialog box appears after you have chosen the Refactor > Invert Boolean command while having a Boolean method or variable selected in the Source Editor.

The Invert Boolean dialog box has the following field:

Unless you click Refactor, you need to follow these steps to complete the refactoring:

  1. Click Preview.

    The Refactoring window opens and displays a tree view of the code to be affected by the refactoring.

  2. Check the items displayed in the Refactoring window to make sure that you want them all changed. Clear the checkbox next to any parts of the code that you do not want changed.
  3. Click Refactor.
See Also
Refactoring: Quick Reference
Undoing Refactoring Changes

Legal Notices