SONARJAVA-236 Exclude inherited methods