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?
请先登录再写评论。
Hi Maxim,
it's not possible now. You may watch/vote for https://youtrack.jetbrains.com/issue/IDEA-23477.
Anna