However, there is still a corner case, if the getter is overridden and does some expensive computations. Anyway, I don’t feel like that is a common practice.
Also note that the “it might be overridden” argument would apply in the same way (arguably, even more) to getters and I don’t think Sonar makes any attempt to distinguish trivial getters from getters doing some expensive comutations.