Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.4
-
Fix Version/s: None
-
Labels:None
-
Environment:All
-
Number of attachments :
Description
The annotation @SuppressWarnings is not a comment, but it's an interesting tag to report.
With extrapolation, if I implement a @TODO annotation, it could be considered as a tag.
=> Annotations is interesting to report ?
For exemple, the annotation's attribute could be displayed as comment (others tags principle).
Code exemple :
/**
* MyMethod
*/
@SuppressWarnings({"unchecked", "deprecated"})
public void toto(){
// ...
}
| Tag Class | Occurrences | Tag strings used by tag class |
|---|---|---|
| Annotation | 1 | SuppressWarnings |
And in detail :
Occurrences found in code : x
| org.package.class | line |
|---|---|
| unchecked | 42 |
| deprecated | 42 |
I began to check the code, but I prefer discuss of (philosofical) orientation before submit a (big) patch.
Poeple agree ? remarks ?
Thanks.
Patch from trunk in date of : 2 march 2011, 7h15 PM.
Content :