With @Inject on a field, it is not marked as never used.
Hi all,
Just a question, maybe it is a small useability issue.
When I have a Java property which is never used throughout the class (not assigned, not used in a expression, ... ), there is an indication that it is never used.
private field 'xx' is never used.
But when I add the annotation @Inject, there is no such message.
Shouldn't the warning be shown here also?
Saw it during a refactoring and missed at first a property because of this. :)
version : IntelliJ 14.0.3
Thanks
Rudy
Please sign in to leave a comment.
Looks like a known issue: https://youtrack.jetbrains.com/issue/IDEA-121612 .
Thanks,
I didn't found it immediatly in the issue list.
Have to look better next them, I guess :)
Thanks
Rudy