SONARJAVA-262 Don't apply to local variables