How to inspect Java code to find "Field has no usages" warnings only?

I wuld like to inspect Java code to find warnings where a field is never assigned.
I tried to create a custom Inspection profile where I enabled "Declaration redundancy -> Unused declaration" option only.
But such inspection finds also fields with "Field is never assigned." warning which I don't want to see in results window.
Is it possible with IntelliJ IDEA to inspect Java code to find only the "Field has no usages" warnings?


1 comment
Comment actions Permalink

Hi Maxim,

it's not possible now. You may watch/vote for https://youtrack.jetbrains.com/issue/IDEA-23477.

Anna

0

Please sign in to leave a comment.