Thanks. The updated version of the rspec reflects the language that I was trying to convey.
Regarding a similar rule for non Spring managed beans that are using javax.inject you maybe right. I don't have enough experience to comment on this.
Regarding javax.inject though, if it is a Spring managed bean but is using javax.inject for injection will this proposed rule account for it?
Also, recent versions of Spring have made the autowire annotation optional when there is only one default constructor. Should this rule allow for this? I'm split on this because it's very rare to have multiple constructors for our Spring beans. But enforcing this rule does make the developer's intent clear. So for those who don't agree with that they would simply disable this rule. Thoughts?
-sud