The javadoc suggests that ```assignment``` may be null if this is not a two-step mapping. But I guess it would otherwise be a ```Simple``` assignment instance, right?

If I'm wrong, then there should be a null-check in getSourceReference() below...