Summary: | [1.5] @Deprecated members not 'slashed' | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Adam Kiezun <akiezun> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M6 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Adam Kiezun
2005-01-25 14:31:22 EST
The Java model doesn't surface annotations. However for this special case the annotation could be surfaced via the deprecated flag. Moving to JDT/Core for comments Support for @Deprecation isn't in yet. Planned for M6. Added support; @Deprecated is now equivalent to proper deprecated javadoc tag. Added AnnotationTest#test116-120. Fixed Using the following code, public class X { @Deprecated protected static <T extends Exception> void foo() throws T, Exception { } } In the outliner the method foo is not slashed. Entered bug 89807 for latter issue. Note that the model is not meant to surface the deprecated flag in this case, as it cannot statically be determined at parsing stage. It needs to resolve in order to be able to interpret the meaning of the annotation. Verified in I20050331-1600 |