Consider the following:
class Type {
Type() { this(null) }
@Deprecated Type(String string) { ... }
}
Syntax highlighting of the deprecated constructor call "this(null)" currently covers the entire expression. Only "this" or "super" in the case of a deprecated super class constructor should be highlighted (default style is strikethrough).
Consider the following:
Syntax highlighting of the deprecated constructor call "this(null)" currently covers the entire expression. Only "this" or "super" in the case of a deprecated super class constructor should be highlighted (default style is strikethrough).