Project: JDT
Bug 234143 [syntax coloring] Deprecation doesn't properly appear on keywords this and super for construction calls
Reported: 2008-05-27 08:59:19 | Status: verified fixed

Hello, Try this code: class foo { public foo(String a) { this(a, null); } /** * @deprecated */ @Deprecated public foo(String a, String b) { } } class bar extends foo { public bar(Object o) { this(o, "bar"); } public bar(Object o, String a) { this(o, a, null); } public bar(Object o, String a, String b) { super(a, b); new foo(a,b); } } You will observe none of the this(*) and super(*) constructor calls are stroke, whereas the declaration of foo(String, String) and its use with the new call are. Thanks Mathieu Sivade

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingReconciler.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java