Versions: SonarQube 7.9.1 build 27448 (Community Edition - we also have paid editions in house), Code Analyzer for Java 6.3.2 build 22818
I have verified the release notes of newer versions of Code Analyzer for Java and they don’t address this issue as far as I can tell.
I have classes that use Spring Framework annotations and get a lot of false positives around rule S3749:
@org.springframework.stereotype.Service("ClassName")
public class ClassName {
@Autowired
private SomeOtherClass memberName;
// ^ Annotate this member with "@Autowired", "@Resource", "@Inject", or "@Value", or remove it.See Rule
@Autowired
private SomeOtherOtherClass anotherMember;
// ^ Annotate this member with "@Autowired", "@Resource", "@Inject", or "@Value", or remove it.See Rule
// and the list goes on and on
I can provide additional details to support team.