SONARJAVA-667 Check only visibility modifiers
SONARJAVA-69 Improve message for methods