The Invert Boolean refactoring allows you to change the sense of a Boolean method or variable to the opposite one.
To invert the sense of a Boolean method or variable
- Place the caret at the name of the method or variable to be refactored.
- Do one of the following:
- In the Invert Boolean dialog, specify the name for the inverted method or variable.
- Preview and apply changes.
Last modified: 13 July 2016