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.
Every time I let NetBeans generate getters and setters and hashCode() and equals(), I immediately select both and wrap to a fold: //<editor-fold defaultstate="collapsed" desc="get/set"> public Long getId() { return id; } public void setId(Long id) { this.id = id; } ... //</editor-fold> //<editor-fold defaultstate="collapsed" desc="hash/eq"> @Override public int hashCode() { ... } @Override public boolean equals(Object obj) { ... } //</editor-fold> It would be pleasant if NetBeans did this automatically.