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 105485 - "Overriden methods" rule ignores overriden interface methods
Summary: "Overriden methods" rule ignores overriden interface methods
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Jackpot (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@contrib
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-02 21:07 UTC by fordfrog
Modified: 2007-06-04 19:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fordfrog 2007-06-02 21:07:00 UTC
"Overriden methods" rule ignores implementations of interface methods during the
search and so it doesn't add @Override annotation to these methods. On the other
hand, when editing class implementing an interface, editor suggests to add
@Override annotation to methods implementing methods from interface so I suppose
the "Overriden methods" rule should add @Override annotation also to these
methods implementing methods from interfaces.
Comment 1 _ tball 2007-06-04 19:59:35 UTC
The Java 6 spec was updated to state that the Override annotation applies to
supertypes rather than just superclasses.  Thanks for catching this.