Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 105485 - "Overriden methods" rule ignores overriden interface methods
"Overriden methods" rule ignores overriden interface methods
Product: contrib
Classification: Unclassified
Component: Jackpot
All All
: P3 (vote)
Assigned To: issues@contrib
Depends on:
  Show dependency treegraph
Reported: 2007-06-02 21:07 UTC by fordfrog
Modified: 2007-06-04 19:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT


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.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo