The inspection has an option to ignore '==' between objects of a
type with only private constructors. Yet, that does not apply to
interfaces, so it clashes with best practices and a couple of other
inspections, that advise to use interfaces instead of concrete classes.
So, if instances referenced via an interface are compared with '==':
Is it feasible to check if all implementors of that interface have private
constructors, only? Or would the performance be too bad?
This would save me a lot of inspection warnings...