History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-14542
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Alexey Kudravtsev
Reporter: Peter Lawrey
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

When overriding a method not all annotioations need to kept.

Created: 08 Oct 06 18:12   Updated: 27 Sep 07 20:03
Component/s: Editor. Editing Text
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Wintel
Issue Links:
Relates
This issue relates to:
IDEA-11424 Introduce meta-annotation to control ... Resolved
 

Build: 5,766


 Description  « Hide
One annotation which can be dropped is the SuppressWarnings.
If an implmentation in a super class supresses certain warnings there is no reason to assume the overriding method will supress the same warnings.
In fact it preferable that the @SuppressWarnings be dropped.

 All   Comments   Work Log   Change History      Sort Order:
Vladislav Kaznacheev - 06 Feb 07 15:41
In fact there are two issues here:
1. It is good idea not to keep @SuppressWarnings for inherited methods/classes
2. Why do not we introduce a meta-annotation which will specify this behaviour?