Interpretation of bound states in inhomogeneous superconductors : the role of Andreev reflection