"Unused declaration" warnings for Spring-injected fields

The IntelliJ IDEA (8.1) code analysis flags our @SpringBean-injected fields as never being assigned.  The problem resolutions given don't seem appropriate.  Is there a way to get IntelliJ to stay mellow about these issues, or be able to cross-reference with the Spring bean definitions?  If not, would this be a good feature for IntelliJ to have?

Please sign in to leave a comment.