SONARJAVA-392 Apply to foreach variables as well as try resources