private LocalVariable getLocalVariable(Variable var) {
            if (!mVariableMap.containsKey(var)) {
                declareVariable(var, null);
            }
            return mVariableMap.get(var);
        }