There is a way to exclude gatekeepers and setters from a sonar report. Suppose I have 2 "getters":
public int getId(){ return this.id; } public int getComplexId(){ int result = 0;
Can I exclude getId () and enable getComplexId () at the same time? Can Sonar analyze the simple possibility of returning this.id from complex code?
source share