Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

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

$
0
0

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 IDEAto inspect Java code to find only the "Field has no usages" warnings?



Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>