This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 156097 [details] print screen of bug For example, if we have a property in a class like this: private boolean active; 1) right click. 2) insert code 3) generate getter and setter public boolean isActive() { return active; } public void setActive(boolean active) { this.active = active; } I got an unexpected behavior isActive(), it shuld be getActive() I hope you can fix it. Thanks in advance.
From the JavaBean spec. 8.3.2 Boolean properties In addition, for boolean properties, we allow a getter method to match the pattern: public boolean is<PropertyName>(); This can be configured in the formatting options.