I think this implies ref cannot be null at this point.  Which might be correct, so I wonder if we shouldn't drop the "ref != null" test above just so the code isn't reading like we are risking an NPE here.

(I'm pretty sure that symbolic.get() won't return null, and that resolve() also won't return null, and thus that the ref != null test above is wrong.)