SONARJAVA-211 Do not apply to static blocks