Use to replace a Boolean method or variable with an opposite one. Use this command to both rename an existing method or variable and invert its logic.
Select a Boolean method or variable in the Source Editor and choose Refactor > Invert Boolean to open the Invert Boolean dialog box.
Element | Description |
---|---|
New Name |
Displays the name for the inverted method or variable to be applied.
Specify the new name for the inverted method or variable by modifying this field |
Related Topics
Developing Applications with NetBeans IDE,
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0. |