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.
Not all add method wizards add return statements to methods. The Add Method wizard for plain Java classes doesn't not add return statements which produces code that does not compile. "return null" or "return 0" type statements should be added. This is the behavior in the Add EJB Method wizard. Additionally there should be a "Fix/Add return statements" operation that could be performed in any classes.
"Add method wizard" removed from java. What about "Add EJB Method wizard"?
Add businessMethod wizard works fine (return statement inserted). Closing as WORKSFORME. Reporter, please reopen if you don't agree.