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.
The generated stubs should be implemented as follows: "throw new UnsupportedOperationException("Not implemented yet");" to avoid compile errors but also to prevent the user from using the classes without implementing the invoked methods.
Agreed, make sense! I'll try to pinpoint this, Should be easy enough.
It should be easy, the current UML plug-in version is more complex as it detects the return type,if any, and generates a default value for the corresponding type. This is great but I think the "UnsupportedOperationException("not implemented yet");" idea is safer. Not my idea, Sun's idea: eg: NetBeans code editor "add unimplemented methods" hint: generates stubs with bodies which throw the mentioned Exception.