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

Summary: "Overriden methods" rule ignores overriden interface methods
Product: contrib Reporter: fordfrog <fordfrog>
Component: JackpotAssignee: issues@contrib <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.