@Override
protected void handleLocalVariableBinding(final Binding<IdentifierInfo.Local> binding, final LocalScope scope) {
if (target.equals(binding.getIdentifierInfo())) {
// find all the local definitions that are shadowed
SymbolTable scopeToCheck = scope;
while (scopeToCheck instanceof LocalScope) {
final LocalScope localAncestorScope = (LocalScope)scopeToCheck;
for (final Binding<IdentifierInfo.Local> bindingInAncestor : localAncestorScope.getBindings()) {
if (newName.equals(bindingInAncestor.getIdentifierInfo().getVarName())) {
shadowedLocalDefinitions.put(bindingInAncestor.getIdentifierInfo(), bindingInAncestor);