The current way of reporting issues from SonarJava rules is painful to maintain and to improve over time.
Change after change, numerous new more complicated methods have been introduced, with more and more parameters and more ambiguities about which one to use in which context.
We want to provide a new, modern way, of reporting issues from rules, following a fluent-API approach based on an extensible builder pattern.
This new way of reporting is going to be released in two steps:
- This new API is going to be used internally on existing rules in a first phase.
- It will be exposed as a public API of the Java plugin only in a future release yet undefined (7.4? 7.5?).
This period will let us the possibility to rework it freely, without impacting our community and custom rules.