Implemented GetStatementForLocation