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.

Bug 176306 - [68cat] CC doesn't offer method overrides in interfaces
Summary: [68cat] CC doesn't offer method overrides in interfaces
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 16:18 UTC by matthies
Modified: 2010-01-11 02:12 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2009-11-09 16:18:17 UTC
In classes, code completion offers insertion of method overrides. For example in

    public class Foo
    {
        // caret here
    }

code completion offers overriding for the five overridable Object methods ("clone() - override" etc.).

In interfaces on the other hand nothing is offered, although overriding of methods is possible in interfaces as well, for example to specialize return types or to concretize a method's contract with a javadoc comment (like java.util.List.equals() does for example). One has to type the method declaration manually in those cases.